Skip to content

Commit cb847eb

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.31.1
1 parent f5e9e6e commit cb847eb

File tree

13 files changed

+40
-32
lines changed

13 files changed

+40
-32
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ from airbyte.models import shared
2929

3030
s = airbyte.Airbyte(
3131
security=shared.Security(
32-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
32+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
3333
),
3434
)
3535

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,12 @@ Based on:
102102
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
103103
- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy
104104
### Releases
105-
- [PyPI v0.4.2] https://pypi.org/project/airbyte-api/0.4.2 - .
105+
- [PyPI v0.4.2] https://pypi.org/project/airbyte-api/0.4.2 - .
106+
107+
## 2023-05-13 00:12:03
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
111+
- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy
112+
### Releases
113+
- [PyPI v0.5.0] https://pypi.org/project/airbyte-api/0.5.0 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from airbyte.models import shared
55

66
s = airbyte.Airbyte(
77
security=shared.Security(
8-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
8+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
99
),
1010
)
1111

docs/connections/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ from airbyte.models import shared
1919

2020
s = airbyte.Airbyte(
2121
security=shared.Security(
22-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
22+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2323
),
2424
)
2525

@@ -83,7 +83,7 @@ from airbyte.models import operations
8383

8484
s = airbyte.Airbyte(
8585
security=shared.Security(
86-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
86+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
8787
),
8888
)
8989

@@ -109,7 +109,7 @@ from airbyte.models import operations
109109

110110
s = airbyte.Airbyte(
111111
security=shared.Security(
112-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
112+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
113113
),
114114
)
115115

@@ -135,7 +135,7 @@ from airbyte.models import operations
135135

136136
s = airbyte.Airbyte(
137137
security=shared.Security(
138-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
138+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
139139
),
140140
)
141141

docs/destinations/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ from airbyte.models import shared
1919

2020
s = airbyte.Airbyte(
2121
security=shared.Security(
22-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
22+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2323
),
2424
)
2525

@@ -59,7 +59,7 @@ from airbyte.models import operations
5959

6060
s = airbyte.Airbyte(
6161
security=shared.Security(
62-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
62+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
6363
),
6464
)
6565

@@ -85,7 +85,7 @@ from airbyte.models import operations
8585

8686
s = airbyte.Airbyte(
8787
security=shared.Security(
88-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
88+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
8989
),
9090
)
9191

@@ -111,7 +111,7 @@ from airbyte.models import operations
111111

112112
s = airbyte.Airbyte(
113113
security=shared.Security(
114-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
114+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
115115
),
116116
)
117117

docs/jobs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ from airbyte.models import operations
1919

2020
s = airbyte.Airbyte(
2121
security=shared.Security(
22-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
22+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2323
),
2424
)
2525

@@ -45,7 +45,7 @@ from airbyte.models import shared
4545

4646
s = airbyte.Airbyte(
4747
security=shared.Security(
48-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
48+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
4949
),
5050
)
5151

@@ -72,7 +72,7 @@ from airbyte.models import operations
7272

7373
s = airbyte.Airbyte(
7474
security=shared.Security(
75-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
75+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
7676
),
7777
)
7878

@@ -98,7 +98,7 @@ from airbyte.models import operations, shared
9898

9999
s = airbyte.Airbyte(
100100
security=shared.Security(
101-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
101+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
102102
),
103103
)
104104

docs/sources/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ from airbyte.models import shared
2121

2222
s = airbyte.Airbyte(
2323
security=shared.Security(
24-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
24+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2525
),
2626
)
2727

@@ -54,7 +54,7 @@ from airbyte.models import operations
5454

5555
s = airbyte.Airbyte(
5656
security=shared.Security(
57-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
57+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
5858
),
5959
)
6060

@@ -80,7 +80,7 @@ from airbyte.models import operations
8080

8181
s = airbyte.Airbyte(
8282
security=shared.Security(
83-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
83+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
8484
),
8585
)
8686

@@ -110,7 +110,7 @@ from airbyte.models import shared
110110

111111
s = airbyte.Airbyte(
112112
security=shared.Security(
113-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
113+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
114114
),
115115
)
116116

@@ -144,7 +144,7 @@ from airbyte.models import operations
144144

145145
s = airbyte.Airbyte(
146146
security=shared.Security(
147-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
147+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
148148
),
149149
)
150150

docs/streams/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ from airbyte.models import operations
1616

1717
s = airbyte.Airbyte(
1818
security=shared.Security(
19-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
19+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2020
),
2121
)
2222

docs/workspaces/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ from airbyte.models import operations, shared
2020

2121
s = airbyte.Airbyte(
2222
security=shared.Security(
23-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
23+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
2424
),
2525
)
2626

@@ -55,7 +55,7 @@ from airbyte.models import shared
5555

5656
s = airbyte.Airbyte(
5757
security=shared.Security(
58-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
58+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
5959
),
6060
)
6161

@@ -81,7 +81,7 @@ from airbyte.models import operations
8181

8282
s = airbyte.Airbyte(
8383
security=shared.Security(
84-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
84+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
8585
),
8686
)
8787

@@ -107,7 +107,7 @@ from airbyte.models import operations
107107

108108
s = airbyte.Airbyte(
109109
security=shared.Security(
110-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
110+
bearer_auth="YOUR_BEARER_TOKEN_HERE",
111111
),
112112
)
113113

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.30.1
6-
generationVersion: 2.26.4
5+
speakeasyVersion: 1.31.1
6+
generationVersion: 2.27.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: airbyte
1010
singleTagPerOp: false
1111
python:
12-
version: 0.4.2
12+
version: 0.5.0
1313
author: Airbyte
1414
description: Python Client SDK for Airbyte API
1515
maxMethodParams: 0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="airbyte-api",
13-
version="0.4.2",
13+
version="0.5.0",
1414
author="Airbyte",
1515
description="Python Client SDK for Airbyte API",
1616
long_description=long_description,

src/airbyte/sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class Airbyte:
2828
_security_client: requests_http.Session
2929
_server_url: str = SERVERS[0]
3030
_language: str = "python"
31-
_sdk_version: str = "0.4.2"
32-
_gen_version: str = "2.26.4"
31+
_sdk_version: str = "0.5.0"
32+
_gen_version: str = "2.27.0"
3333

3434
def __init__(self,
3535
security: shared.Security = None,

src/airbyte/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict,
112112
client.client.headers[header_name] = value
113113
elif scheme_type == 'http':
114114
if sub_type == 'bearer':
115-
client.client.headers[header_name] = value
115+
client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}'
116116
else:
117117
raise Exception('not supported')
118118
else:

0 commit comments

Comments
 (0)