from typing import List
import sailpoint.v3
import sailpoint.beta
import json
from sailpoint.configuration import Configuration
from pydantic import StrictStr
configuration = Configuration()
with sailpoint.v3.ApiClient(configuration) as api_client:
results = sailpoint.v3.AccountActivitiesApi(api_client).list_account_activities() # ERROR
result = results[0]
print(result.model_dump_json())
output:
name 'WorkItemState' is not defined
File "/Documents/Projects/Python/python-example/test_AccountActivities.py", line 11, in <module>
results = sailpoint.v3.AccountActivitiesApi(api_client).list_account_activities()
NameError: name 'WorkItemState' is not defined
Run:
python3 test_AccoutActivities.py
output: