Update to python SDK docs: 14248105327

This commit is contained in:
developer-relations-sp
2025-04-03 16:31:58 +00:00
parent 20af851df6
commit acdedd559c
260 changed files with 2320 additions and 1168 deletions

View File

@@ -356,7 +356,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkItemsApi(api_client).get_completed_work_items(owner_id, limit, offset, count)
print("The response of WorkItemsApi->get_completed_work_items:\n")
print(results.model_dump_json(by_alias=True, indent=4))
for item in results:
print(item.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkItemsApi->get_completed_work_items: %s\n" % e)
```
@@ -664,7 +665,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = WorkItemsApi(api_client).list_work_items(limit, offset, count, owner_id)
print("The response of WorkItemsApi->list_work_items:\n")
print(results.model_dump_json(by_alias=True, indent=4))
for item in results:
print(item.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling WorkItemsApi->list_work_items: %s\n" % e)
```