Skip to content

Commit 3b1c1a5

Browse files
Fix Python 3.10 compatibility by adding future annotations imports
Co-authored-by: bruAristimunha <[email protected]>
1 parent 1001426 commit 3b1c1a5

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

eegdash/features/extractors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from abc import ABC, abstractmethod
24
from collections.abc import Callable
35
from functools import partial

eegdash/features/inspect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import inspect
24
from collections.abc import Callable
35

eegdash/features/serialization.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
77
"""
88

9+
from __future__ import annotations
10+
911
from pathlib import Path
1012

1113
import pandas as pd

0 commit comments

Comments
 (0)