ynput / ayon-python-api

Apache License 2.0
8 stars 3 forks source link

TypeError in `entity_hub.ProjectEntity.from_entity_data()` #159

Closed dee-ynput closed 1 month ago

dee-ynput commented 2 months ago

when using: ayon_api.entity_hub.ProjectEntity.from_entity_data()

It raises: TypeError: ProjectEntity.__init__() missing 1 required positional argument: 'statuses' (The ayon_api.entity_hub.ProjectEntity() constructor indeed requires the statuses.)

I can use ayon_api.entity_hub.EntityHub(project_name=name).project_entity but since I already have the entity data I would like to avoid fetching them again.

iLLiCiTiT commented 1 month ago

Resolved with https://github.com/ynput/ayon-python-api/pull/160