You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError when setting limit argument in get_activities #351
I have searched the existing issues and added correct labels.
Description
Current Behavior
Specifying the limit argument when calling get_activities, will raise the following error :
Traceback (most recent call last):
File "<string>", line 8, in <module>
File "C:\Users\user\AppData\Local\Ynput\AYON\app\AYON 1.6.3\dependencies\ayon_api\_api_helpers\activities.py", line 99, in get_activities
activities_field.set_limit(limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'set_limit'
Expected Behavior
It should be possible to set the limit argument.
Steps To Reproduce:
Here is a small script that you can run in the AYON launcher console or with ayon_api directly with the right env vars set up. By running it you'll get the aforementioned error.
Activity