Skip to content

Commit

Permalink
Merge pull request #22 from NarrativeScience/fix-recursion-issue
Browse files Browse the repository at this point in the history
Fix recursion issue
  • Loading branch information
RJ Santana authored Jan 31, 2022
2 parents df2c564 + 6ff5524 commit 6097a08
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ https://www.stitchdata.com/docs/developers/stitch-connect/api
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.4.1
- Package version: 0.6.1
- Package version: 0.6.2
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Table of Contents:
Expand Down Expand Up @@ -150,6 +150,6 @@ npx openapi-generator generate \
--package-name stitch_connect_client \
--git-user-id NarrativeScience \
--git-repo-id stitch-connect-python \
-p packageVersion=0.6.1 \
-p packageVersion=0.6.2 \
-t templates
```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from setuptools import find_packages, setup # noqa: H301

NAME = "stitch-connect-client"
VERSION = "0.6.1"
VERSION = "0.6.2"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion stitch_connect_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
from stitch_connect_client.models.streams_update_list import StreamsUpdateList
from stitch_connect_client.models.update_source_body import UpdateSourceBody

__version__ = "0.6.1"
__version__ = "0.6.2"
7 changes: 4 additions & 3 deletions stitch_connect_client/models/create_source_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ def __init__(
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration

self._destination_id = None
self._display_name = None
self._type = None
self._name = None
self._properties = None
self.discriminator = None
self.destination_id = None

self.destination_id = destination_id
self.display_name = display_name
self.type = type
if name is not None:
Expand Down Expand Up @@ -187,7 +188,7 @@ def destination_id(self):
:return: The destination_id of this CreateSourceBody. # noqa: E501
:rtype: integer
"""
return self.destination_id
return self._destination_id

@properties.setter
def destination_id(self, destination_id):
Expand All @@ -198,7 +199,7 @@ def destination_id(self, destination_id):
:type: integer
"""

self.destination_id = destination_id
self._destination_id = destination_id

def to_dict(self):
"""Returns the model properties as a dict"""
Expand Down

0 comments on commit 6097a08

Please sign in to comment.