Skip to content

Commit de4b6e2

Browse files
committed
🐛 fix: regress of Python 3.8 support
1 parent 0d9b9d5 commit de4b6e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nonebot_plugin_orm/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class Config(BaseModel, arbitrary_types_allowed=True):
2121
sqlalchemy_engine_options: Dict[str, Any] = {}
2222
sqlalchemy_session_options: Dict[str, Any] = {}
2323

24-
alembic_config: Union[str, os.PathLike[str], AlembicConfig] = ""
25-
alembic_script_location: Union[str, os.PathLike[str]] = ""
24+
alembic_config: Union[str, os.PathLike, AlembicConfig] = ""
25+
alembic_script_location: Union[str, os.PathLike] = ""
2626
alembic_version_locations: Union[
27-
str, os.PathLike[str], Dict[str, os.PathLike[str]], None
27+
str, os.PathLike, Dict[str, os.PathLike], None
2828
] = None
2929
alembic_context: Dict[str, Any] = {"render_as_batch": True}
3030
alembic_startup_check: bool = True

0 commit comments

Comments
 (0)