-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
we currently have #type: ignore comments in places like that:
| for _ in range(DeviceFlows.user_code.type.length) # type: ignore |
This is because we need to specify the types at the table level
| user_code = Column("UserCode", String(USER_CODE_LENGTH), primary_key=True) |
Should be changed to something like
user_code: Mapped[str] = mapped_column("UserCode", String(USER_CODE_LENGTH), primary_key=True)Conversion guide:
Also the mypy plugin is no longer supported and should be dropped: #438
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels