Skip to content

Commit bc37f7f

Browse files
committed
fix python3.8 issues
1 parent 1bb8a71 commit bc37f7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_extra_types/pandas_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, List, Tuple, TypeVar, Union
1+
from typing import Any, List, Tuple, Type, TypeVar, Union
22

33
import pandas as pd
44
from pydantic import GetCoreSchemaHandler
@@ -13,7 +13,7 @@ def __init__(self, value: Any) -> None:
1313

1414
@classmethod
1515
def __get_pydantic_core_schema__(
16-
cls, source: type[Any], handler: GetCoreSchemaHandler
16+
cls, source: Type[Any], handler: GetCoreSchemaHandler
1717
) -> core_schema.AfterValidatorFunctionSchema:
1818
return core_schema.general_after_validator_function(
1919
cls._validate,

0 commit comments

Comments
 (0)