Skip to content

Commit ccfac25

Browse files
committed
update connection check model
1 parent 546ab61 commit ccfac25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+405
-67
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ https://www.stitchdata.com/docs/developers/stitch-connect/api
66

77
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

9-
- API version: 0.2
10-
- Package version: 0.2.0
9+
- API version: 0.1
10+
- Package version: 0.2.1
1111
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1212

1313
Table of Contents:
@@ -147,6 +147,6 @@ npx openapi-generator generate \
147147
--package-name stitch_connect_client \
148148
--git-user-id NarrativeScience \
149149
--git-repo-id stitch-connect-python \
150-
-p packageVersion=0.2.0 \
150+
-p packageVersion=0.2.1 \
151151
-t templates
152152
```

docs/ConnectionCheck.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ A Connection Check object shows the results from a test of a connection’s para
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **str** | The name of the connection check job. | [optional]
8-
**mode** | **object** | This value will always be `check`. | [optional]
8+
**mode** | **str** | This value will always be `check`. | [optional]
9+
**status** | **str** | The status of the connection check job. Possible values are: - running - succeeded - failed | [optional]
10+
**start_time** | **str** | The date and time the connection check job started. | [optional]
11+
**completion_time** | **str** | The date and time the connection check job was completed. | [optional]
12+
**error** | **bool** | Indicates if the connection check job resulted in an error. This will be true if any of the exit_status properties are non-zero. | [optional]
13+
**check_exit_status** | **int** | The exit status of the connection check job. Possible values are: null - The connection check job is still running 0 - The connection check job was successful 1 - The connection check job was unsuccessful | [optional]
14+
**discovery_exit_status** | **int** | The exit status of the discovery portion of the connection check job. Possible values are: null - Job is still running 0 - Job was successful Any non-zero value - Discovery failed | [optional]
15+
**discovery_error_message** | **str** | Exception message raised when discovery failed during the connection check job. If successful, this will be null. | [optional]
16+
**tap_exit_status** | **int** | The exit status of the tap. Possible values are: null - Tap is still running 0 - Tap was successful Any non-zero value - Tap failed | [optional]
17+
**tap_error_message** | **str** | Exception message raised when extraction failed during the job. If successful, this will be null. | [optional]
18+
**target_exit_status** | **int** | The exit status of the target portion of the connection check job. Possible values are: null - Target is still running 0 - Target was successful Any non-zero value - Target failed | [optional]
19+
**target_error_message** | **str** | This value will always be null. | [optional]
920

1021
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1122

docs/MetadataObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**replication_key** | **str** | Indicates the field being used as the stream’s Replication Key. | [optional]
1111
**replication_method** | **str** | The Replication Method the stream uses to replicate data. Accepted values are: FULL_TABLE - The stream is using Full Table Replication INCREMENTAL - The stream is using Key-based Incremental Replication LOG_BASED - The stream is using Log-based Incremental Replication. Note: This method is only available for certain database sources, and requires additional setup to use. | [optional]
1212
**row_count** | **int** | For database sources only. The number of rows (records) in the stream. | [optional]
13-
**schema_name** | **str** | For database sources only. The name of the schema containing the stream. | [optional]
13+
**schema_name** | **int** | For database sources only. The name of the schema containing the stream. | [optional]
1414
**selected** | **bool** | Indicates whether a field should be included in a stream’s field selection list. This value will be present only if the stream containing the field is selected (selected: true). null - The value has not been set true - The field is selected false - The field is not selected | [optional]
1515
**table_key_properties** | **list[str]** | An array of strings listing the fields that make up the key properties of the table. These are the table’s defined Primary Keys. | [optional]
1616
**valid_replication_keys** | **list[str]** | An array of strings indicating the fields valid for use as Replication Keys in Key-based Incremental Replication (replication-method: INCREMENTAL). Note: For SaaS sources, the fields listed in this array are pre-defined by Stitch and will be used as the Replication Keys for the stream. They cannot be modified. | [optional]

docs/StreamLevelMetadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**replication_key** | **str** | Indicates the field being used as the stream’s Replication Key. | [optional]
1111
**replication_method** | **str** | The Replication Method the stream uses to replicate data. Accepted values are: FULL_TABLE - The stream is using Full Table Replication INCREMENTAL - The stream is using Key-based Incremental Replication LOG_BASED - The stream is using Log-based Incremental Replication. Note: This method is only available for certain database sources, and requires additional setup to use. | [optional]
1212
**row_count** | **int** | For database sources only. The number of rows (records) in the stream. | [optional]
13-
**schema_name** | **str** | For database sources only. The name of the schema containing the stream. | [optional]
13+
**schema_name** | **int** | For database sources only. The name of the schema containing the stream. | [optional]
1414
**selected** | **bool** | Indicates whether a stream should be set to replicate. Accepted values are: true - The stream is selected and data for selected fields will be replicated false - The stream is not selected and no data will be replicated | [optional]
1515
**table_key_properties** | **list[str]** | An array of strings listing the fields that make up the key properties of the table. These are the table’s defined Primary Keys. | [optional]
1616
**valid_replication_keys** | **list[str]** | An array of strings indicating the fields valid for use as Replication Keys in Key-based Incremental Replication (replication-method: INCREMENTAL). Note: For SaaS sources, the fields listed in this array are pre-defined by Stitch and will be used as the Replication Keys for the stream. They cannot be modified. | [optional]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
66
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
77
8-
The version of the OpenAPI document: 0.2
8+
The version of the OpenAPI document: 0.1
99
Generated by: https://openapi-generator.tech
1010
"""
1111

1212

1313
from setuptools import find_packages, setup # noqa: H301
1414

1515
NAME = "stitch-connect-client"
16-
VERSION = "0.2.0"
16+
VERSION = "0.2.1"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

stitch_connect_client/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
99
10-
The version of the OpenAPI document: 0.2
10+
The version of the OpenAPI document: 0.1
1111
Generated by: https://openapi-generator.tech
1212
"""
1313

@@ -79,4 +79,4 @@
7979
from stitch_connect_client.models.streams_update_list import StreamsUpdateList
8080
from stitch_connect_client.models.update_source_body import UpdateSourceBody
8181

82-
__version__ = "0.2.0"
82+
__version__ = "0.2.1"

stitch_connect_client/api/destinations_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
77
8-
The version of the OpenAPI document: 0.2
8+
The version of the OpenAPI document: 0.1
99
Generated by: https://openapi-generator.tech
1010
"""
1111

stitch_connect_client/api/sources_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
77
8-
The version of the OpenAPI document: 0.2
8+
The version of the OpenAPI document: 0.1
99
Generated by: https://openapi-generator.tech
1010
"""
1111

stitch_connect_client/api/streams_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
77
8-
The version of the OpenAPI document: 0.2
8+
The version of the OpenAPI document: 0.1
99
Generated by: https://openapi-generator.tech
1010
"""
1111

stitch_connect_client/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
https://www.stitchdata.com/docs/developers/stitch-connect/api # noqa: E501
66
7-
The version of the OpenAPI document: 0.2
7+
The version of the OpenAPI document: 0.1
88
Generated by: https://openapi-generator.tech
99
"""
1010

@@ -83,7 +83,7 @@ def __init__(
8383
self.default_headers[header_name] = header_value
8484
self.cookie = cookie
8585
# Set default User-Agent.
86-
self.user_agent = "OpenAPI-Generator/0.2.0/python"
86+
self.user_agent = "OpenAPI-Generator/0.2.1/python"
8787
self.client_side_validation = configuration.client_side_validation
8888

8989
def __del__(self):

0 commit comments

Comments
 (0)