Skip to content

Commit

Permalink
doc: todo
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Jul 16, 2024
1 parent ca3edd9 commit 88972bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dataclass_io/_lib/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from enum import Enum
from enum import unique
from io import TextIOWrapper
from typing import IO
from typing import Any
from typing import IO
from typing import Optional
from typing import TypeAlias

Expand Down Expand Up @@ -91,6 +91,8 @@ def get_header(
None if the file was empty or contained only comments or empty lines.
"""

# TODO: optionally reset file handle to the original position after reading the header

preface: list[str] = []

for line in reader:
Expand Down

0 comments on commit 88972bc

Please sign in to comment.