Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.285.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 9, 2024
1 parent f56262c commit 2bb8ca9
Show file tree
Hide file tree
Showing 33 changed files with 240 additions and 285 deletions.
13 changes: 8 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
lockVersion: 2.0.0
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
management:
docChecksum: 5b0eee49ab3aced27d58ad63f2f07d70
docChecksum: 781d670121afeffb63b7a5292c609f7f
docVersion: 0.4.0 .
speakeasyVersion: 1.279.0
generationVersion: 2.322.5
releaseVersion: 5.7.1
configChecksum: 42d99b9af9f08fc47a34d6d9a11284a9
speakeasyVersion: 1.285.1
generationVersion: 2.326.3
releaseVersion: 5.8.0
configChecksum: 0271552df0d6be955d2feac105e87590
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
published: true
features:
python:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
core: 4.6.7
downloadStreams: 0.0.2
examples: 2.81.3
globalSecurity: 2.83.5
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.2
globals: 2.82.1
inputOutputModels: 2.83.1
responseFormat: 0.1.0
retries: 2.82.2
sdkHooks: 0.1.0
serverIDs: 2.81.1
generatedFiles:
- src/speakeasy/sdkconfiguration.py
Expand Down
52 changes: 14 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetApisRequest()

res = s.apis.get_apis(req)
res = s.apis.get_apis(request=operations.GetApisRequest())

if res.apis is not None:
# handle response
Expand Down Expand Up @@ -148,16 +145,13 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetWorkspaceEventsByTargetRequest(
target_id='<value>',
)

res = None
try:
res = s.events.get_workspace_events_by_target(req)
res = s.events.get_workspace_events_by_target(request=operations.GetWorkspaceEventsByTargetRequest(
target_id='<value>',
))
except errors.Error as e:
# handle exception
raise(e)
Expand Down Expand Up @@ -196,15 +190,12 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.DeleteAPIRequest(
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
api_id='<value>',
version_id='<value>',
)

res = s.apis.delete_api(req)
))

if res is not None:
# handle response
Expand All @@ -225,15 +216,12 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.DeleteAPIRequest(
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
api_id='<value>',
version_id='<value>',
)

res = s.apis.delete_api(req)
))

if res is not None:
# handle response
Expand Down Expand Up @@ -283,15 +271,12 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.DeleteAPIRequest(
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
api_id='<value>',
version_id='<value>',
)

res = s.apis.delete_api(req)
))

if res is not None:
# handle response
Expand Down Expand Up @@ -327,14 +312,11 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetWorkspaceEventsByTargetRequest(
res = s.events.get_workspace_events_by_target(request=operations.GetWorkspaceEventsByTargetRequest(
target_id='<value>',
)

res = s.events.get_workspace_events_by_target(req)
))

if res.cli_event_batch is not None:
# handle response
Expand All @@ -358,12 +340,9 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetWorkspaceAccessRequest()

res = s.auth.get_workspace_access(req,
res = s.auth.get_workspace_access(request=operations.GetWorkspaceAccessRequest(),
RetryConfig('backoff', BackoffStrategy(1, 50, 1.1, 100), False))

if res.access_details is not None:
Expand All @@ -383,12 +362,9 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetWorkspaceAccessRequest()

res = s.auth.get_workspace_access(req)
res = s.auth.get_workspace_access(request=operations.GetWorkspaceAccessRequest())

if res.access_details is not None:
# handle response
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1526,4 +1526,14 @@ Based on:
### Generated
- [python v5.7.1] .
### Releases
- [PyPI v5.7.1] https://pypi.org/project/speakeasy-client-sdk-python/5.7.1 - .
- [PyPI v5.7.1] https://pypi.org/project/speakeasy-client-sdk-python/5.7.1 - .

## 2024-05-09 00:10:54
### Changes
Based on:
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.285.1 (2.326.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v5.8.0] .
### Releases
- [PyPI v5.8.0] https://pypi.org/project/speakeasy-client-sdk-python/5.8.0 - .
5 changes: 1 addition & 4 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ s = speakeasy.Speakeasy(
security=shared.Security(
api_key="<YOUR_API_KEY_HERE>",
),
workspace_id='<value>',
)

req = operations.GetApisRequest()

res = s.apis.get_apis(req)
res = s.apis.get_apis(request=operations.GetApisRequest())

if res.apis is not None:
# handle response
Expand Down
4 changes: 4 additions & 0 deletions docs/models/shared/clievent.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
| `generate_config_pre_checksum` | *Optional[str]* | :heavy_minus_sign: | Checksum of the configuration file (prior to generation) |
| `generate_config_pre_raw` | *Optional[str]* | :heavy_minus_sign: | Rendered configuration file (prior to generation) |
| `generate_config_pre_version` | *Optional[str]* | :heavy_minus_sign: | The version of the customer's SDK before we generated |
| `generate_eligible_features` | *Optional[str]* | :heavy_minus_sign: | Eligible feature set during generation |
| `generate_gen_lock_id` | *Optional[str]* | :heavy_minus_sign: | gen.lock ID (expected to be a uuid). |
| `generate_gen_lock_post_features` | *Optional[str]* | :heavy_minus_sign: | Features post generation |
| `generate_gen_lock_pre_blob_digest` | *Optional[str]* | :heavy_minus_sign: | Blob digest of the Previous Generation |
Expand All @@ -34,13 +35,16 @@
| `generate_gen_lock_pre_namespace_name` | *Optional[str]* | :heavy_minus_sign: | Namespace name of the Previous Generation |
| `generate_gen_lock_pre_revision_digest` | *Optional[str]* | :heavy_minus_sign: | Revision digest of the Previous Generation |
| `generate_gen_lock_pre_version` | *Optional[str]* | :heavy_minus_sign: | Artifact version for the Previous Generation |
| `generate_number_of_operations_ignored` | *Optional[int]* | :heavy_minus_sign: | The number of operations ignored in generation. |
| `generate_number_of_operations_used` | *Optional[int]* | :heavy_minus_sign: | The number of operations used in generation. |
| `generate_output_tests` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether tests were output. |
| `generate_published` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the target was considered published. |
| `generate_repo_url` | *Optional[str]* | :heavy_minus_sign: | Expected Repo URL, for use in documentation generation. |
| `generate_target` | *Optional[str]* | :heavy_minus_sign: | The target of the event. |
| `generate_target_version` | *Optional[str]* | :heavy_minus_sign: | The version of the target. |
| `generate_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generation logic used. |
| `gh_action_organization` | *Optional[str]* | :heavy_minus_sign: | GitHub organization of the action. |
| `gh_action_ref` | *Optional[str]* | :heavy_minus_sign: | GitHub Action ref value. |
| `gh_action_repository` | *Optional[str]* | :heavy_minus_sign: | GitHub repository of the action. |
| `gh_action_run_link` | *Optional[str]* | :heavy_minus_sign: | Link to the GitHub action run. |
| `gh_action_version` | *Optional[str]* | :heavy_minus_sign: | Version of the GitHub action. |
Expand Down
4 changes: 4 additions & 0 deletions docs/models/shared/targetsdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@
| `continuous_integration_environment` | *Optional[str]* | :heavy_minus_sign: | Name of the CI environment. |
| `error` | *Optional[str]* | :heavy_minus_sign: | Error message if the last event was not successful. |
| `generate_config_post_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generated target (post generation) |
| `generate_eligible_features` | *Optional[str]* | :heavy_minus_sign: | Eligible feature set during generation |
| `generate_gen_lock_pre_features` | *Optional[str]* | :heavy_minus_sign: | Features prior to generation |
| `generate_gen_lock_pre_version` | *Optional[str]* | :heavy_minus_sign: | Artifact version for the Previous Generation |
| `generate_number_of_operations_ignored` | *Optional[int]* | :heavy_minus_sign: | The number of operations ignored in generation. |
| `generate_number_of_operations_used` | *Optional[int]* | :heavy_minus_sign: | The number of operations used in generation. |
| `generate_published` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the target was considered published. |
| `generate_target_name` | *Optional[str]* | :heavy_minus_sign: | The name of the target as defined by the user. |
| `generate_target_version` | *Optional[str]* | :heavy_minus_sign: | The version of the Speakeasy generator for this target eg v2 of the typescript generator. |
| `gh_action_organization` | *Optional[str]* | :heavy_minus_sign: | GitHub organization of the action. |
| `gh_action_ref` | *Optional[str]* | :heavy_minus_sign: | GitHub Action ref value. |
| `gh_action_repository` | *Optional[str]* | :heavy_minus_sign: | GitHub repository of the action. |
| `gh_action_run_link` | *Optional[str]* | :heavy_minus_sign: | Link to the GitHub action run. |
| `gh_action_version` | *Optional[str]* | :heavy_minus_sign: | Version of the GitHub action. |
Expand Down
Loading

0 comments on commit 2bb8ca9

Please sign in to comment.