Skip to content
Snippets Groups Projects

reduce the number of type checking errors

Closed David Schäfer requested to merge type-hints into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -8,7 +8,7 @@
from __future__ import annotations
import abc
from typing import Any, Dict, TypeVar, Union
from typing import TypeVar, Union
import numpy as np
import pandas as pd
@@ -26,6 +26,7 @@ T = TypeVar("T")
ArrayLike = TypeVar("ArrayLike", np.ndarray, pd.Series, pd.DataFrame)
ExternalFlag = Union[str, float, int]
FieldType = Union[str, list[Union[str, list[str]]]]
# needed for deeper type hinting magic
Loading