Skip to content

Commit 574af45

Browse files
authored
Merge pull request #11 from NarrativeScience/connection-check-model
Update connection check model properties
2 parents 546ab61 + 383721e commit 574af45

Some content is hidden

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

47 files changed

+398
-59
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.3
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

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
aiohttp >= 3.6.2
12
certifi >= 14.05.14
23
future; python_version<="2.7"
34
six >= 1.10

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.3
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.3
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.3
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.3
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.3
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.3
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):

stitch_connect_client/configuration.py

Lines changed: 3 additions & 3 deletions
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.3
99
Generated by: https://openapi-generator.tech
1010
"""
1111

@@ -264,8 +264,8 @@ def to_debug_report(self):
264264
"Python SDK Debug Report:\n"
265265
"OS: {env}\n"
266266
"Python Version: {pyversion}\n"
267-
"Version of the API: 0.2\n"
268-
"SDK Package Version: 0.2.0".format(env=sys.platform, pyversion=sys.version)
267+
"Version of the API: 0.3\n"
268+
"SDK Package Version: 0.2.1".format(env=sys.platform, pyversion=sys.version)
269269
)
270270

271271
def get_host_settings(self):

0 commit comments

Comments
 (0)