Pyright has issues with some things in 3.10.0 of the api
These two things are really common in our code
from shotgun_api3 import Shotgun
has this warning
"Shotgun" is not exported from module "shotgun_api3" Import from "shotgun_api3.shotgun" instead (Pyright)
I assume since __init__.py doesn't define an __all__
And when accessing any fields returned from the api
asset['code']
Could not access item in TypedDict "code" is not a defined key in "BaseEntity" (Pyright)
Pyright has issues with some things in 3.10.0 of the api
These two things are really common in our code
from shotgun_api3 import Shotgunhas this warning
"Shotgun" is not exported from module "shotgun_api3" Import from "shotgun_api3.shotgun" instead (Pyright)I assume since
__init__.pydoesn't define an__all__And when accessing any fields returned from the api
asset['code']Could not access item in TypedDict "code" is not a defined key in "BaseEntity" (Pyright)