Skip to content

Commit

Permalink
Add missing TypeAlias annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Jan 19, 2025
1 parent d59fbfa commit 295da07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marshmallow_sqlalchemy/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from sqlalchemy.orm import MapperProperty
from sqlalchemy.types import TypeEngine

PropertyOrColumn = MapperProperty | sa.Column
PropertyOrColumn: TypeAlias = MapperProperty | sa.Column

_FieldPartial: TypeAlias = Callable[[], fields.Field]
# TODO: Use more specific type for second argument
Expand Down

0 comments on commit 295da07

Please sign in to comment.