Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
771 changes: 174 additions & 597 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
speakeasyVersion: 1.291.0
speakeasyVersion: 1.420.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:4cbacce549695d61a4b6fcd07742e8eb25c528061ad1db3e002239fcea2956fa
sourceBlobDigest: sha256:8745bd06d95a1f1a7073a8a702c4bd4db2c5967d58f562d11de4f89ac7f872f5
sourceRevisionDigest: sha256:472a83153d01c63d70833fca0577c336b1eebf9cbfbca4aa3e5dedbc215169c0
sourceBlobDigest: sha256:721a950a5e9fcf26d6924fc078e0b309f907199e84ab69061fb4df4f55dc700f
tags:
- latest
- main
targets:
python-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:4cbacce549695d61a4b6fcd07742e8eb25c528061ad1db3e002239fcea2956fa
sourceBlobDigest: sha256:8745bd06d95a1f1a7073a8a702c4bd4db2c5967d58f562d11de4f89ac7f872f5
outLocation: /github/workspace/repo
sourceRevisionDigest: sha256:472a83153d01c63d70833fca0577c336b1eebf9cbfbca4aa3e5dedbc215169c0
sourceBlobDigest: sha256:721a950a5e9fcf26d6924fc078e0b309f907199e84ab69061fb4df4f55dc700f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
inputs:
- location: ./airbyte-api.openapi.yaml
- location: https://raw.githubusercontent.com/airbytehq/airbyte-platform/refs/heads/main/airbyte-api/server-api/src/main/openapi/api_sdk.yaml
registry:
location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source
targets:
Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,22 @@ if res.connection_response is not None:
<!-- Start Error Handling [errors] -->
## Error Handling

Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.

| Error Object | Status Code | Content Type |
By default, an API error will raise a errors.SDKError exception, which has the following properties:

| Property | Type | Description |
|-----------------|------------------|-----------------------|
| `.status_code` | *int* | The HTTP status code |
| `.message` | *str* | The error message |
| `.raw_response` | *httpx.Response* | The raw HTTP response |
| `.body` | *str* | The response content |

When custom error responses are specified for an operation, the SDK may also raise their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create_connection` method may raise the following exceptions:

| Error Type | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 4xx-5xx | */* |
| errors.SDKError | 4XX, 5XX | \*/\* |

### Example

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -958,4 +958,14 @@ Based on:
### Generated
- [python v0.52.1] .
### Releases
- [PyPI v0.52.1] https://pypi.org/project/airbyte-api/0.52.1 - .
- [PyPI v0.52.1] https://pypi.org/project/airbyte-api/0.52.1 - .

## 2024-10-23 00:17:39
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.420.0 (2.438.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.52.2] .
### Releases
- [PyPI v0.52.2] https://pypi.org/project/airbyte-api/0.52.2 - .
8 changes: 8 additions & 0 deletions docs/models/algolia.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Algolia


## Values

| Name | Value |
| --------- | --------- |
| `ALGOLIA` | algolia |
8 changes: 8 additions & 0 deletions docs/models/beamer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Beamer


## Values

| Name | Value |
| -------- | -------- |
| `BEAMER` | beamer |
8 changes: 8 additions & 0 deletions docs/models/catalogtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CatalogType


## Values

| Name | Value |
| ------ | ------ |
| `HIVE` | Hive |
12 changes: 12 additions & 0 deletions docs/models/destinationconfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ value: models.DestinationConvex = /* values here */
value: models.DestinationDatabricks = /* values here */
```

### `models.DestinationDevNull`

```python
value: models.DestinationDevNull = /* values here */
```

### `models.DestinationDuckdb`

```python
Expand Down Expand Up @@ -89,6 +95,12 @@ value: models.DestinationFirestore = /* values here */
value: models.DestinationGcs = /* values here */
```

### `models.DestinationIceberg`

```python
value: models.DestinationIceberg = /* values here */
```

### `models.DestinationMilvus`

```python
Expand Down
9 changes: 9 additions & 0 deletions docs/models/destinationdevnull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# DestinationDevNull


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `test_destination` | [models.TestDestination](../models/testdestination.md) | :heavy_check_mark: | The type of destination to be used |
| `destination_type` | [models.DevNull](../models/devnull.md) | :heavy_check_mark: | N/A |
8 changes: 8 additions & 0 deletions docs/models/destinationdevnullloggingtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationDevNullLoggingType


## Values

| Name | Value |
| ----------- | ----------- |
| `EVERY_NTH` | EveryNth |
8 changes: 8 additions & 0 deletions docs/models/destinationdevnullschemasloggingtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationDevNullSchemasLoggingType


## Values

| Name | Value |
| ----------------- | ----------------- |
| `RANDOM_SAMPLING` | RandomSampling |
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationDevNullSchemasTestDestinationTestDestinationType


## Values

| Name | Value |
| --------- | --------- |
| `FAILING` | FAILING |
8 changes: 8 additions & 0 deletions docs/models/destinationdevnullschemastestdestinationtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationDevNullSchemasTestDestinationType


## Values

| Name | Value |
| ----------- | ----------- |
| `THROTTLED` | THROTTLED |
8 changes: 8 additions & 0 deletions docs/models/destinationdevnulltestdestinationtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationDevNullTestDestinationType


## Values

| Name | Value |
| -------- | -------- |
| `SILENT` | SILENT |
11 changes: 11 additions & 0 deletions docs/models/destinationiceberg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# DestinationIceberg


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
| `catalog_config` | [models.IcebergCatalogConfig](../models/icebergcatalogconfig.md) | :heavy_check_mark: | Catalog config of Iceberg. |
| `format_config` | [models.FileFormat](../models/fileformat.md) | :heavy_check_mark: | File format of Iceberg storage. |
| `storage_config` | [models.StorageConfig](../models/storageconfig.md) | :heavy_check_mark: | Storage config of Iceberg. |
| `destination_type` | [models.Iceberg](../models/iceberg.md) | :heavy_check_mark: | N/A |
8 changes: 8 additions & 0 deletions docs/models/destinationicebergcatalogtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DestinationIcebergCatalogType


## Values

| Name | Value |
| -------- | -------- |
| `HADOOP` | Hadoop |
16 changes: 16 additions & 0 deletions docs/models/destinationicebergs3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# DestinationIcebergS3

S3 object storage


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `access_key_id` | *str* | :heavy_check_mark: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. | A012345678910EXAMPLE |
| `s3_warehouse_uri` | *str* | :heavy_check_mark: | The Warehouse Uri for Iceberg | s3a://my-bucket/path/to/warehouse |
| `secret_access_key` | *str* | :heavy_check_mark: | The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY |
| `s3_bucket_region` | [Optional[models.DestinationIcebergS3BucketRegion]](../models/destinationicebergs3bucketregion.md) | :heavy_minus_sign: | The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. | |
| `s3_endpoint` | *Optional[str]* | :heavy_minus_sign: | Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> | http://localhost:9000 |
| `s3_path_style_access` | *Optional[bool]* | :heavy_minus_sign: | Use path style access | true |
| `storage_type` | [Optional[models.StorageType]](../models/storagetype.md) | :heavy_minus_sign: | N/A | |
Loading