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

@@ -330,7 +330,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = TriggersApi(api_client).list_subscriptions(limit, offset, count, filters, sorters)
print("The response of TriggersApi->list_subscriptions:\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 TriggersApi->list_subscriptions: %s\n" % e)
```
@@ -398,7 +399,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = TriggersApi(api_client).list_trigger_invocation_status(limit, offset, count, filters, sorters)
print("The response of TriggersApi->list_trigger_invocation_status:\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 TriggersApi->list_trigger_invocation_status: %s\n" % e)
```
@@ -464,7 +466,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = TriggersApi(api_client).list_triggers(limit, offset, count, filters, sorters)
print("The response of TriggersApi->list_triggers:\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 TriggersApi->list_triggers: %s\n" % e)
```
@@ -597,7 +600,8 @@ with ApiClient(configuration) as api_client:
# Below is a request that includes all optional parameters
# results = TriggersApi(api_client).start_test_trigger_invocation(new_test_invocation)
print("The response of TriggersApi->start_test_trigger_invocation:\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 TriggersApi->start_test_trigger_invocation: %s\n" % e)
```