@@ -83,7 +83,7 @@ class SQLAlchemyFilterMixin:
8383 def _apply_filter (
8484 query : Select | Update | Delete ,
8585 field : InstrumentedAttribute ,
86- value : str | int | float | bool | list | None ,
86+ value : str | int | float | bool | list | UUID | None ,
8787 operation : FilterOperationType ,
8888 ) -> Select | Update | Delete :
8989 """Apply a filter to a SQLAlchemy query based on the specified operation.
@@ -222,7 +222,9 @@ def __init__(self, orm_config: ConfigT | None = None) -> None:
222222 """
223223 configs = BaseConfig .global_config ().SQLALCHEMY if orm_config is None else orm_config
224224 # Cast to ConfigT since subclasses will ensure the proper type
225- self .session_manager : BaseSQLAlchemySessionManager [ConfigT ] = self ._create_session_manager (configs ) # type: ignore[arg-type]
225+ self .session_manager : BaseSQLAlchemySessionManager [ConfigT ] = self ._create_session_manager (
226+ configs ,
227+ ) # type: ignore[arg-type]
226228
227229 def _create_session_manager (self , configs : ConfigT ) -> BaseSQLAlchemySessionManager [ConfigT ]:
228230 """Create a session manager for the specific database.
@@ -533,7 +535,9 @@ def __init__(self, orm_config: ConfigT | None = None) -> None:
533535 """
534536 configs = BaseConfig .global_config ().SQLALCHEMY if orm_config is None else orm_config
535537 # Cast to ConfigT since subclasses will ensure the proper type
536- self .session_manager : AsyncBaseSQLAlchemySessionManager [ConfigT ] = self ._create_async_session_manager (configs ) # type: ignore[arg-type]
538+ self .session_manager : AsyncBaseSQLAlchemySessionManager [ConfigT ] = self ._create_async_session_manager (
539+ configs ,
540+ ) # type: ignore[arg-type]
537541
538542 def _create_async_session_manager (self , configs : ConfigT ) -> AsyncBaseSQLAlchemySessionManager [ConfigT ]:
539543 """Create an async session manager for the specific database.
0 commit comments