Skip to content

Commit

Permalink
Merge pull request #58 from airbytehq/speakeasy-sdk-regen-1707956019
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
terencecho authored Feb 20, 2024
2 parents adc4bc3 + a626b36 commit 90a000f
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 35 deletions.
8 changes: 4 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ management:
docChecksum: c101e6356aa26bcdee80457c4dc64471
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.253.0
releaseVersion: 0.47.0
configChecksum: 3fcff865c11ce83075716a8313369445
generationVersion: 2.258.0
releaseVersion: 0.47.1
configChecksum: fbb6dc853075b3156830a4cae4b1caf1
repoURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
repoSubDirectory: .
installationURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
Expand All @@ -15,7 +15,7 @@ features:
python:
additionalProperties: 0.1.0
constsAndDefaults: 0.1.2
core: 4.4.5
core: 4.4.6
globalSecurity: 2.83.2
globalServerURLs: 2.82.1
unions: 2.82.5
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,4 +848,14 @@ Based on:
### Generated
- [python v0.47.0] .
### Releases
- [PyPI v0.47.0] https://pypi.org/project/airbyte-api/0.47.0 - .
- [PyPI v0.47.0] https://pypi.org/project/airbyte-api/0.47.0 - .

## 2024-02-15 00:13:37
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.180.0 (2.258.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.47.1] .
### Releases
- [PyPI v0.47.1] https://pypi.org/project/airbyte-api/0.47.1 - .
6 changes: 3 additions & 3 deletions docs/sdks/connections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ s = airbyte.Airbyte(
)

req = operations.DeleteConnectionRequest(
connection_id='string',
connection_id='<value>',
)

res = s.connections.delete_connection(req)
Expand Down Expand Up @@ -123,7 +123,7 @@ s = airbyte.Airbyte(
)

req = operations.GetConnectionRequest(
connection_id='string',
connection_id='<value>',
)

res = s.connections.get_connection(req)
Expand Down Expand Up @@ -216,7 +216,7 @@ req = operations.PatchConnectionRequest(
connection_patch_request=shared.ConnectionPatchRequest(
namespace_format='${SOURCE_NAMESPACE}',
),
connection_id='string',
connection_id='<value>',
)

res = s.connections.patch_connection(req)
Expand Down
16 changes: 8 additions & 8 deletions docs/sdks/destinations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ s = airbyte.Airbyte(
req = shared.DestinationCreateRequest(
configuration=shared.DestinationGoogleSheets(
credentials=shared.AuthenticationViaGoogleOAuth(
client_id='string',
client_secret='string',
refresh_token='string',
client_id='<value>',
client_secret='<value>',
refresh_token='<value>',
),
spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit',
),
name='string',
name='<value>',
workspace_id='8360860a-d46e-48e6-af62-08e5ba5019ef',
)

Expand Down Expand Up @@ -85,7 +85,7 @@ s = airbyte.Airbyte(
)

req = operations.DeleteDestinationRequest(
destination_id='string',
destination_id='<value>',
)

res = s.destinations.delete_destination(req)
Expand Down Expand Up @@ -131,7 +131,7 @@ s = airbyte.Airbyte(
)

req = operations.GetDestinationRequest(
destination_id='string',
destination_id='<value>',
)

res = s.destinations.get_destination(req)
Expand Down Expand Up @@ -221,7 +221,7 @@ s = airbyte.Airbyte(
)

req = operations.PatchDestinationRequest(
destination_id='string',
destination_id='<value>',
)

res = s.destinations.patch_destination(req)
Expand Down Expand Up @@ -267,7 +267,7 @@ s = airbyte.Airbyte(
)

req = operations.PutDestinationRequest(
destination_id='string',
destination_id='<value>',
)

res = s.destinations.put_destination(req)
Expand Down
12 changes: 6 additions & 6 deletions docs/sdks/sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ s = airbyte.Airbyte(

req = shared.SourceCreateRequest(
configuration=shared.SourceAha(
api_key='string',
api_key='<value>',
url='https://complicated-seat.org',
),
name='string',
name='<value>',
workspace_id='0f31f3dd-c984-48c3-8bdf-b109056aa6d6',
)

Expand Down Expand Up @@ -82,7 +82,7 @@ s = airbyte.Airbyte(
)

req = operations.DeleteSourceRequest(
source_id='string',
source_id='<value>',
)

res = s.sources.delete_source(req)
Expand Down Expand Up @@ -128,7 +128,7 @@ s = airbyte.Airbyte(
)

req = operations.GetSourceRequest(
source_id='string',
source_id='<value>',
)

res = s.sources.get_source(req)
Expand Down Expand Up @@ -271,7 +271,7 @@ s = airbyte.Airbyte(
)

req = operations.PatchSourceRequest(
source_id='string',
source_id='<value>',
)

res = s.sources.patch_source(req)
Expand Down Expand Up @@ -317,7 +317,7 @@ s = airbyte.Airbyte(
)

req = operations.PutSourceRequest(
source_id='string',
source_id='<value>',
)

res = s.sources.put_source(req)
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/streams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ s = airbyte.Airbyte(
)

req = operations.GetStreamPropertiesRequest(
destination_id='string',
source_id='string',
destination_id='<value>',
source_id='<value>',
)

res = s.streams.get_stream_properties(req)
Expand Down
12 changes: 6 additions & 6 deletions docs/sdks/workspaces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ req = operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest(
configuration=shared.Airtable(),
name=shared.OAuthActorNames.AMAZON_ADS,
),
workspace_id='string',
workspace_id='<value>',
)

res = s.workspaces.create_or_update_workspace_o_auth_credentials(req)
Expand Down Expand Up @@ -82,7 +82,7 @@ s = airbyte.Airbyte(
)

req = shared.WorkspaceCreateRequest(
name='string',
name='<value>',
)

res = s.workspaces.create_workspace(req)
Expand Down Expand Up @@ -128,7 +128,7 @@ s = airbyte.Airbyte(
)

req = operations.DeleteWorkspaceRequest(
workspace_id='string',
workspace_id='<value>',
)

res = s.workspaces.delete_workspace(req)
Expand Down Expand Up @@ -174,7 +174,7 @@ s = airbyte.Airbyte(
)

req = operations.GetWorkspaceRequest(
workspace_id='string',
workspace_id='<value>',
)

res = s.workspaces.get_workspace(req)
Expand Down Expand Up @@ -265,9 +265,9 @@ s = airbyte.Airbyte(

req = operations.UpdateWorkspaceRequest(
workspace_update_request=shared.WorkspaceUpdateRequest(
name='string',
name='<value>',
),
workspace_id='string',
workspace_id='<value>',
)

res = s.workspaces.update_workspace(req)
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ generation:
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
python:
version: 0.47.0
version: 0.47.1
author: Airbyte
clientServerStatusCodesAsErrors: true
description: Python Client SDK for Airbyte API
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="airbyte-api",
version="0.47.0",
version="0.47.1",
author="Airbyte",
description="Python Client SDK for Airbyte API",
long_description=long_description,
Expand Down
6 changes: 3 additions & 3 deletions src/airbyte/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class SDKConfiguration:
server_idx: int = 0
language: str = 'python'
openapi_doc_version: str = '1.0.0'
sdk_version: str = '0.47.0'
gen_version: str = '2.253.0'
user_agent: str = 'speakeasy-sdk/python 0.47.0 2.253.0 1.0.0 airbyte-api'
sdk_version: str = '0.47.1'
gen_version: str = '2.258.0'
user_agent: str = 'speakeasy-sdk/python 0.47.1 2.258.0 1.0.0 airbyte-api'
retry_config: RetryConfig = None

def get_server_details(self) -> Tuple[str, Dict[str, str]]:
Expand Down

0 comments on commit 90a000f

Please sign in to comment.