Closed geekodour closed 7 months ago
This is not causing any issues in running of my programs but is minor inconvenience, I am not sure what should be the fix. This is pyright on emacs.
This is mypy:
code:
def ensure_tables(db: Database): if "users" not in db.table_names(): db["users"].create({ "id": int, "username": str, "access_token": str, "refresh_token": str, "expires_in": int, "expires_at": int, "last_sync": datetime.datetime }, pk="id")
Any suggestions on what should be the fix
This is not causing any issues in running of my programs but is minor inconvenience, I am not sure what should be the fix. This is pyright on emacs.
This is mypy:![image](https://github.com/simonw/sqlite-utils/assets/12918431/7eb6a5c4-c282-4883-b68d-fd6ee3a903e1)
code:
Any suggestions on what should be the fix