Skip to content

Commit

Permalink
Fix error on earlier python versions by importing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
marksgraham committed Nov 14, 2023
1 parent e1fde01 commit 265fcec
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oct_converter/dicom/boct_meta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from oct_converter.dicom.metadata import (
DicomMetadata,
ImageGeometry,
Expand Down
2 changes: 2 additions & 0 deletions oct_converter/dicom/dicom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import typing as t
from datetime import datetime
from importlib import metadata
Expand Down
2 changes: 2 additions & 0 deletions oct_converter/dicom/fda_meta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

from oct_converter.dicom.metadata import (
Expand Down
2 changes: 2 additions & 0 deletions oct_converter/dicom/fds_meta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

from oct_converter.dicom.metadata import (
Expand Down
2 changes: 2 additions & 0 deletions oct_converter/dicom/metadata.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import dataclasses
import datetime
import enum
Expand Down
2 changes: 2 additions & 0 deletions oct_converter/dicom/poct_meta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from oct_converter.dicom.metadata import (
DicomMetadata,
ImageGeometry,
Expand Down

0 comments on commit 265fcec

Please sign in to comment.