From f543e32abfa241193b829231fdcbc19bbed5b8fe Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 21 Jun 2023 00:05:53 +0000 Subject: [PATCH 01/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.49.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 090f2b6..8c10d6c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -354,4 +354,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.21.0] https://pypi.org/project/fabra/0.21.0 - . \ No newline at end of file +- [PyPI v0.21.0] https://pypi.org/project/fabra/0.21.0 - . + +## 2023-06-21 00:05:41 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.21.1] https://pypi.org/project/fabra/0.21.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index df6370a..eed6c05 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.49.0 - generationVersion: 2.41.4 + speakeasyVersion: 1.49.1 + generationVersion: 2.41.5 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.21.0 + version: 0.21.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index ad4b387..2f756e2 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.21.0", + version="0.21.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index d92dfa5..166109e 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.21.0' - gen_version: str = '2.41.4' + sdk_version: str = '0.21.1' + gen_version: str = '2.41.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 07dfd52b8abf6c6663dd1a5b949ecb8463d1fb37 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 23 Jun 2023 00:06:40 +0000 Subject: [PATCH 02/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.50.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 8c10d6c..46616f4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -362,4 +362,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.21.1] https://pypi.org/project/fabra/0.21.1 - . \ No newline at end of file +- [PyPI v0.21.1] https://pypi.org/project/fabra/0.21.1 - . + +## 2023-06-23 00:06:28 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.22.0] https://pypi.org/project/fabra/0.22.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index eed6c05..79e7343 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.49.1 - generationVersion: 2.41.5 + speakeasyVersion: 1.50.1 + generationVersion: 2.43.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.21.1 + version: 0.22.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 2f756e2..53dd45d 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.21.1", + version="0.22.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 166109e..fe70938 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.21.1' - gen_version: str = '2.41.5' + sdk_version: str = '0.22.0' + gen_version: str = '2.43.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From de1dcc977180f42b0017080cdb72c7bee1744339 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 27 Jun 2023 00:06:22 +0000 Subject: [PATCH 03/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.51.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 46616f4..fcd7f0c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -370,4 +370,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.22.0] https://pypi.org/project/fabra/0.22.0 - . \ No newline at end of file +- [PyPI v0.22.0] https://pypi.org/project/fabra/0.22.0 - . + +## 2023-06-27 00:06:06 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.23.0] https://pypi.org/project/fabra/0.23.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 79e7343..a679786 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.50.1 - generationVersion: 2.43.2 + speakeasyVersion: 1.51.1 + generationVersion: 2.50.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.22.0 + version: 0.23.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 53dd45d..0f99cf0 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.22.0", + version="0.23.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index fe70938..3209c4a 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.22.0' - gen_version: str = '2.43.2' + sdk_version: str = '0.23.0' + gen_version: str = '2.50.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 57bd7b4f995c0cc6cd8b63e661e572eca558fc6e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 30 Jun 2023 00:06:03 +0000 Subject: [PATCH 04/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.51.3 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index fcd7f0c..26e0db2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -378,4 +378,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.23.0] https://pypi.org/project/fabra/0.23.0 - . \ No newline at end of file +- [PyPI v0.23.0] https://pypi.org/project/fabra/0.23.0 - . + +## 2023-06-30 00:05:51 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.24.0] https://pypi.org/project/fabra/0.24.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index a679786..ee1513c 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.51.1 - generationVersion: 2.50.2 + speakeasyVersion: 1.51.3 + generationVersion: 2.52.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.23.0 + version: 0.24.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 0f99cf0..f3e77a2 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.23.0", + version="0.24.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 3209c4a..12b03d8 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.23.0' - gen_version: str = '2.50.2' + sdk_version: str = '0.24.0' + gen_version: str = '2.52.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 4903d1dc3b815117d770ec4d63211923f5f8d16f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Jul 2023 00:07:22 +0000 Subject: [PATCH 05/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.52.0 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 26e0db2..ab465ba 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -386,4 +386,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.24.0] https://pypi.org/project/fabra/0.24.0 - . \ No newline at end of file +- [PyPI v0.24.0] https://pypi.org/project/fabra/0.24.0 - . + +## 2023-07-01 00:07:05 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.25.0] https://pypi.org/project/fabra/0.25.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index ee1513c..9b963e8 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.51.3 - generationVersion: 2.52.2 + speakeasyVersion: 1.52.0 + generationVersion: 2.55.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.24.0 + version: 0.25.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index f3e77a2..9833575 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.24.0", + version="0.25.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 12b03d8..19225f0 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.24.0' - gen_version: str = '2.52.2' + sdk_version: str = '0.25.0' + gen_version: str = '2.55.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 9d9076c0416210eeab81c7c425d37aa413effc4b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Jul 2023 00:07:15 +0000 Subject: [PATCH 06/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.52.2 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index ab465ba..c51a4aa 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -394,4 +394,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.25.0] https://pypi.org/project/fabra/0.25.0 - . \ No newline at end of file +- [PyPI v0.25.0] https://pypi.org/project/fabra/0.25.0 - . + +## 2023-07-06 00:07:03 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.26.0] https://pypi.org/project/fabra/0.26.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 9b963e8..39476e3 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.52.0 - generationVersion: 2.55.0 + speakeasyVersion: 1.52.2 + generationVersion: 2.57.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.25.0 + version: 0.26.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 9833575..92a5328 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.25.0", + version="0.26.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 19225f0..97e9f1d 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.25.0' - gen_version: str = '2.55.0' + sdk_version: str = '0.26.0' + gen_version: str = '2.57.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 2f2a2012914c100cd69777dca5cd35428c1ca78f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 7 Jul 2023 00:06:10 +0000 Subject: [PATCH 07/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.53.0 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index c51a4aa..2890907 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -402,4 +402,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.26.0] https://pypi.org/project/fabra/0.26.0 - . \ No newline at end of file +- [PyPI v0.26.0] https://pypi.org/project/fabra/0.26.0 - . + +## 2023-07-07 00:05:54 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.27.0] https://pypi.org/project/fabra/0.27.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 39476e3..526953e 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.52.2 - generationVersion: 2.57.2 + speakeasyVersion: 1.53.0 + generationVersion: 2.58.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.26.0 + version: 0.27.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 92a5328..aa1047d 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.26.0", + version="0.27.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 97e9f1d..2b1ba14 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.26.0' - gen_version: str = '2.57.2' + sdk_version: str = '0.27.0' + gen_version: str = '2.58.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From b768b814343d9356c969aa4f63291e9d03a7e685 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Jul 2023 00:06:30 +0000 Subject: [PATCH 08/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.53.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 2890907..4b7aa9a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -410,4 +410,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.27.0] https://pypi.org/project/fabra/0.27.0 - . \ No newline at end of file +- [PyPI v0.27.0] https://pypi.org/project/fabra/0.27.0 - . + +## 2023-07-08 00:06:15 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.27.1] https://pypi.org/project/fabra/0.27.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 526953e..bd97ca5 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.53.0 - generationVersion: 2.58.0 + speakeasyVersion: 1.53.1 + generationVersion: 2.58.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.27.0 + version: 0.27.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index aa1047d..864f4c5 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.27.0", + version="0.27.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 2b1ba14..aa9ab92 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.27.0' - gen_version: str = '2.58.0' + sdk_version: str = '0.27.1' + gen_version: str = '2.58.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 3367c5e17757ad29ac3faf9a5f32dbc67938a5b3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 11 Jul 2023 00:06:30 +0000 Subject: [PATCH 09/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.56.0 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 4b7aa9a..29151d8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -418,4 +418,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.27.1] https://pypi.org/project/fabra/0.27.1 - . \ No newline at end of file +- [PyPI v0.27.1] https://pypi.org/project/fabra/0.27.1 - . + +## 2023-07-11 00:06:17 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.28.0] https://pypi.org/project/fabra/0.28.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index bd97ca5..6c64ea4 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.53.1 - generationVersion: 2.58.2 + speakeasyVersion: 1.56.0 + generationVersion: 2.61.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.27.1 + version: 0.28.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 864f4c5..7a7bc1d 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.27.1", + version="0.28.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index aa9ab92..305351b 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.27.1' - gen_version: str = '2.58.2' + sdk_version: str = '0.28.0' + gen_version: str = '2.61.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 2c301bf2af7109a6aca2365be1d79cf0178f4f14 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Jul 2023 00:06:00 +0000 Subject: [PATCH 10/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.56.3 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 29151d8..dd56d87 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -426,4 +426,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.28.0] https://pypi.org/project/fabra/0.28.0 - . \ No newline at end of file +- [PyPI v0.28.0] https://pypi.org/project/fabra/0.28.0 - . + +## 2023-07-12 00:05:49 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.28.1] https://pypi.org/project/fabra/0.28.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 6c64ea4..48e7399 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.56.0 - generationVersion: 2.61.0 + speakeasyVersion: 1.56.3 + generationVersion: 2.61.4 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.28.0 + version: 0.28.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 7a7bc1d..bd02443 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.28.0", + version="0.28.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 305351b..3149b11 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.28.0' - gen_version: str = '2.61.0' + sdk_version: str = '0.28.1' + gen_version: str = '2.61.4' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 827b49bd6534ce5afae92925a24ee7e5fb7f7f65 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 13 Jul 2023 00:06:24 +0000 Subject: [PATCH 11/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.57.0 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index dd56d87..98e9dde 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -434,4 +434,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.28.1] https://pypi.org/project/fabra/0.28.1 - . \ No newline at end of file +- [PyPI v0.28.1] https://pypi.org/project/fabra/0.28.1 - . + +## 2023-07-13 00:06:10 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.29.0] https://pypi.org/project/fabra/0.29.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 48e7399..d5769b5 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.56.3 - generationVersion: 2.61.4 + speakeasyVersion: 1.57.0 + generationVersion: 2.62.1 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.28.1 + version: 0.29.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index bd02443..7e40465 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.28.1", + version="0.29.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 3149b11..6029fb1 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.28.1' - gen_version: str = '2.61.4' + sdk_version: str = '0.29.0' + gen_version: str = '2.62.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 70d2d1f09cd498dfe566ccf2f8e27840958651a7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Jul 2023 00:06:32 +0000 Subject: [PATCH 12/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.59.0 --- README.md | 4 +++- RELEASES.md | 10 +++++++++- USAGE.md | 4 +++- docs/sdks/connection/README.md | 6 +++--- docs/sdks/destination/README.md | 2 +- docs/sdks/object/README.md | 2 +- docs/sdks/source/README.md | 2 +- docs/sdks/sync/README.md | 2 +- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 11 files changed, 28 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7139a98..de3dfd0 100755 --- a/README.md +++ b/README.md @@ -16,9 +16,11 @@ pip install fabra ## SDK Example Usage + + ```python import fabra -from fabra.models import operations +from fabra.models import operations, shared s = fabra.Fabra( security=shared.Security( diff --git a/RELEASES.md b/RELEASES.md index 98e9dde..79a944a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -442,4 +442,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.29.0] https://pypi.org/project/fabra/0.29.0 - . \ No newline at end of file +- [PyPI v0.29.0] https://pypi.org/project/fabra/0.29.0 - . + +## 2023-07-14 00:06:15 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.30.0] https://pypi.org/project/fabra/0.30.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 2387a7d..617a663 100755 --- a/USAGE.md +++ b/USAGE.md @@ -1,7 +1,9 @@ + + ```python import fabra -from fabra.models import operations +from fabra.models import operations, shared s = fabra.Fabra( security=shared.Security( diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index 40cfa39..a390154 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -18,7 +18,7 @@ Get all namespaces ```python import fabra -from fabra.models import operations +from fabra.models import operations, shared s = fabra.Fabra( security=shared.Security( @@ -56,7 +56,7 @@ Get schema for table ```python import fabra -from fabra.models import operations +from fabra.models import operations, shared s = fabra.Fabra( security=shared.Security( @@ -96,7 +96,7 @@ Get all tables ```python import fabra -from fabra.models import operations +from fabra.models import operations, shared s = fabra.Fabra( security=shared.Security( diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md index 3a989f4..cc0a7ca 100755 --- a/docs/sdks/destination/README.md +++ b/docs/sdks/destination/README.md @@ -81,7 +81,7 @@ Get all destinations ```python import fabra - +from fabra.models import shared s = fabra.Fabra( security=shared.Security( diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index 2c965bc..2a6eec3 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -73,7 +73,7 @@ Get all objects ```python import fabra - +from fabra.models import shared s = fabra.Fabra( security=shared.Security( diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 6509355..77efae4 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -82,7 +82,7 @@ Get all sources ```python import fabra - +from fabra.models import shared s = fabra.Fabra( security=shared.Security( diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 4e4145d..e660a08 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -84,7 +84,7 @@ Get all syncs ```python import fabra - +from fabra.models import shared s = fabra.Fabra( security=shared.Security( diff --git a/gen.yaml b/gen.yaml index d5769b5..5dbfd21 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.57.0 - generationVersion: 2.62.1 + speakeasyVersion: 1.59.0 + generationVersion: 2.65.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.29.0 + version: 0.30.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 7e40465..d325418 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.29.0", + version="0.30.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 6029fb1..9662cdd 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.29.0' - gen_version: str = '2.62.1' + sdk_version: str = '0.30.0' + gen_version: str = '2.65.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 098cb2e9c3f65103a2de0dde2f19761aad1b9d1e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Jul 2023 00:07:14 +0000 Subject: [PATCH 13/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.61.0 --- RELEASES.md | 10 +++++++++- files.gen | 2 ++ gen.yaml | 6 +++--- pylintrc | 4 +++- setup.py | 2 +- src/fabra/connection.py | 8 +++++++- src/fabra/customer_data.py | 4 +++- src/fabra/destination.py | 6 +++++- src/fabra/link_token.py | 4 +++- src/fabra/models/errors/__init__.py | 4 ++++ src/fabra/models/errors/sdkerror.py | 24 ++++++++++++++++++++++++ src/fabra/object.py | 6 +++++- src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/source.py | 6 +++++- src/fabra/sync.py | 6 +++++- 15 files changed, 81 insertions(+), 15 deletions(-) create mode 100755 src/fabra/models/errors/__init__.py create mode 100755 src/fabra/models/errors/sdkerror.py diff --git a/RELEASES.md b/RELEASES.md index 79a944a..5d31190 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -450,4 +450,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.30.0] https://pypi.org/project/fabra/0.30.0 - . \ No newline at end of file +- [PyPI v0.30.0] https://pypi.org/project/fabra/0.30.0 - . + +## 2023-07-18 00:07:02 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.31.0] https://pypi.org/project/fabra/0.31.0 - . \ No newline at end of file diff --git a/files.gen b/files.gen index 7b56972..5ba1a5f 100755 --- a/files.gen +++ b/files.gen @@ -11,6 +11,7 @@ pylintrc setup.py src/fabra/__init__.py src/fabra/models/__init__.py +src/fabra/models/errors/sdkerror.py src/fabra/utils/__init__.py src/fabra/utils/retries.py src/fabra/utils/utils.py @@ -53,6 +54,7 @@ src/fabra/models/shared/fieldmapping.py src/fabra/models/shared/syncinput.py src/fabra/models/shared/security.py src/fabra/models/shared/__init__.py +src/fabra/models/errors/__init__.py docs/sdks/fabra/README.md docs/sdks/connection/README.md docs/sdks/customerdata/README.md diff --git a/gen.yaml b/gen.yaml index 5dbfd21..cb2bcf0 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.59.0 - generationVersion: 2.65.0 + speakeasyVersion: 1.61.0 + generationVersion: 2.70.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.30.0 + version: 0.31.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/pylintrc b/pylintrc index 1ce47d8..21a3894 100755 --- a/pylintrc +++ b/pylintrc @@ -438,7 +438,9 @@ disable=raw-checker-failed, using-constant-test, too-many-statements, cyclic-import, - too-many-nested-blocks + too-many-nested-blocks, + too-many-boolean-expressions, + no-else-raise # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/setup.py b/setup.py index d325418..a2db6e5 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.30.0", + version="0.31.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/connection.py b/src/fabra/connection.py index 8bddbf5..681a57d 100755 --- a/src/fabra/connection.py +++ b/src/fabra/connection.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class Connection: @@ -34,6 +34,8 @@ def get_namespaces(self, request: operations.GetNamespacesRequest) -> operations if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.Namespaces]) res.namespaces = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -61,6 +63,8 @@ def get_schema(self, request: operations.GetSchemaRequest) -> operations.GetSche if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetSchema200ApplicationJSON]) res.get_schema_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -88,6 +92,8 @@ def get_tables(self, request: operations.GetTablesRequest) -> operations.GetTabl if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetTables200ApplicationJSON]) res.get_tables_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/customer_data.py b/src/fabra/customer_data.py index 1e820e5..065a7c2 100755 --- a/src/fabra/customer_data.py +++ b/src/fabra/customer_data.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations +from fabra.models import errors, operations from typing import Optional class CustomerData: @@ -37,6 +37,8 @@ def query_object(self, request: operations.QueryObjectRequest) -> operations.Que if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.QueryObject200ApplicationJSON]) res.query_object_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/destination.py b/src/fabra/destination.py index 40b368a..4ebda61 100755 --- a/src/fabra/destination.py +++ b/src/fabra/destination.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class Destination: @@ -38,6 +38,8 @@ def create_destination(self, request: shared.DestinationInput) -> operations.Cre if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateDestination200ApplicationJSON]) res.create_destination_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -64,6 +66,8 @@ def get_destinations(self) -> operations.GetDestinationsResponse: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetDestinations200ApplicationJSON]) res.get_destinations_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/link_token.py b/src/fabra/link_token.py index c0d60a3..039bdab 100755 --- a/src/fabra/link_token.py +++ b/src/fabra/link_token.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class LinkToken: @@ -38,6 +38,8 @@ def create_link_token(self, request: shared.CreateLinkTokenRequest) -> operation if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.CreateLinkTokenResponse]) res.create_link_token_response = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/models/errors/__init__.py b/src/fabra/models/errors/__init__.py new file mode 100755 index 0000000..cfd8484 --- /dev/null +++ b/src/fabra/models/errors/__init__.py @@ -0,0 +1,4 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from .sdkerror import SDKError +__all__ = ["SDKError"] diff --git a/src/fabra/models/errors/sdkerror.py b/src/fabra/models/errors/sdkerror.py new file mode 100755 index 0000000..6bb02bb --- /dev/null +++ b/src/fabra/models/errors/sdkerror.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http + + +class SDKError(Exception): + """Represents an error returned by the API.""" + message: str + status_code: int + body: str + raw_response: requests_http.Response + + def __init__(self, message: str, status_code: int, body: str, raw_response: requests_http.Response): + self.message = message + self.status_code = status_code + self.body = body + self.raw_response = raw_response + + def __str__(self): + body = '' + if len(self.body) > 0: + body = f'\n{self.body}' + + return f'{self.message}: Status {self.status_code}{body}' diff --git a/src/fabra/object.py b/src/fabra/object.py index 4ec71f3..ae42bbe 100755 --- a/src/fabra/object.py +++ b/src/fabra/object.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class Object: @@ -38,6 +38,8 @@ def create_object(self, request: shared.ObjectInput) -> operations.CreateObjectR if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateObject200ApplicationJSON]) res.create_object_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -64,6 +66,8 @@ def get_objects(self) -> operations.GetObjectsResponse: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetObjects200ApplicationJSON]) res.get_objects_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 9662cdd..ec67df5 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.30.0' - gen_version: str = '2.65.0' + sdk_version: str = '0.31.0' + gen_version: str = '2.70.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/source.py b/src/fabra/source.py index 9920414..f3bf7d1 100755 --- a/src/fabra/source.py +++ b/src/fabra/source.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class Source: @@ -38,6 +38,8 @@ def create_source(self, request: shared.SourceInput) -> operations.CreateSourceR if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSource200ApplicationJSON]) res.create_source_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -64,6 +66,8 @@ def get_sources(self) -> operations.GetSourcesResponse: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetSources200ApplicationJSON]) res.get_sources_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass diff --git a/src/fabra/sync.py b/src/fabra/sync.py index fd9d6e7..fda4d5e 100755 --- a/src/fabra/sync.py +++ b/src/fabra/sync.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from fabra import utils -from fabra.models import operations, shared +from fabra.models import errors, operations, shared from typing import Optional class Sync: @@ -38,6 +38,8 @@ def create_sync(self, request: shared.SyncInput) -> operations.CreateSyncRespons if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSync200ApplicationJSON]) res.create_sync_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass @@ -64,6 +66,8 @@ def get_syncs(self) -> operations.GetSyncsResponse: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetSyncs200ApplicationJSON]) res.get_syncs_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: pass From a5d2d5602f9f4254424b660282f8681c86f76aa9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Jul 2023 00:06:43 +0000 Subject: [PATCH 14/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.62.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 5d31190..5fd05bf 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -458,4 +458,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.31.0] https://pypi.org/project/fabra/0.31.0 - . \ No newline at end of file +- [PyPI v0.31.0] https://pypi.org/project/fabra/0.31.0 - . + +## 2023-07-19 00:06:31 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.31.1] https://pypi.org/project/fabra/0.31.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index cb2bcf0..f2ee600 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.61.0 - generationVersion: 2.70.0 + speakeasyVersion: 1.62.1 + generationVersion: 2.70.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.31.0 + version: 0.31.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index a2db6e5..1753c00 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.31.0", + version="0.31.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index ec67df5..be06fd8 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.31.0' - gen_version: str = '2.70.0' + sdk_version: str = '0.31.1' + gen_version: str = '2.70.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 7d0c94c562308158c917ba1b2147452db0060dfc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Jul 2023 00:05:50 +0000 Subject: [PATCH 15/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.64.0 --- RELEASES.md | 10 +++++++++- USAGE.md | 0 .../operations/createdestination200applicationjson.md | 0 docs/models/operations/createdestinationresponse.md | 0 docs/models/operations/createlinktokenresponse.md | 0 .../operations/createobject200applicationjson.md | 0 docs/models/operations/createobjectresponse.md | 0 .../operations/createsource200applicationjson.md | 0 docs/models/operations/createsourceresponse.md | 0 docs/models/operations/createsync200applicationjson.md | 0 docs/models/operations/createsyncresponse.md | 0 .../operations/getdestinations200applicationjson.md | 0 docs/models/operations/getdestinationsresponse.md | 0 docs/models/operations/getnamespacesrequest.md | 0 docs/models/operations/getnamespacesresponse.md | 0 docs/models/operations/getobjects200applicationjson.md | 0 docs/models/operations/getobjectsresponse.md | 0 docs/models/operations/getschema200applicationjson.md | 0 docs/models/operations/getschemarequest.md | 0 docs/models/operations/getschemaresponse.md | 0 docs/models/operations/getsources200applicationjson.md | 0 docs/models/operations/getsourcesresponse.md | 0 docs/models/operations/getsyncs200applicationjson.md | 0 docs/models/operations/getsyncsresponse.md | 0 docs/models/operations/gettables200applicationjson.md | 0 docs/models/operations/gettablesrequest.md | 0 docs/models/operations/gettablesresponse.md | 0 .../models/operations/queryobject200applicationjson.md | 0 .../queryobject200applicationjsonexamplefield3.md | 0 docs/models/operations/queryobjectrequest.md | 0 docs/models/operations/queryobjectrequestbody.md | 0 docs/models/operations/queryobjectresponse.md | 0 docs/models/shared/bigqueryconfig.md | 0 docs/models/shared/connection.md | 0 docs/models/shared/connectiontype.md | 0 docs/models/shared/createlinktokenrequest.md | 0 docs/models/shared/createlinktokenresponse.md | 0 docs/models/shared/destination.md | 0 docs/models/shared/destinationinput.md | 0 docs/models/shared/field.md | 0 docs/models/shared/fieldmapping.md | 0 docs/models/shared/fieldtype.md | 0 docs/models/shared/frequencyunits.md | 0 docs/models/shared/mongodbconfig.md | 0 docs/models/shared/namespaces.md | 0 docs/models/shared/object.md | 0 docs/models/shared/objectfield.md | 0 docs/models/shared/objectinput.md | 0 docs/models/shared/queryfilter.md | 0 docs/models/shared/redshiftconfig.md | 0 docs/models/shared/security.md | 0 docs/models/shared/snowflakeconfig.md | 0 docs/models/shared/source.md | 0 docs/models/shared/sourceinput.md | 0 docs/models/shared/sync.md | 0 docs/models/shared/syncinput.md | 0 docs/sdks/connection/README.md | 0 docs/sdks/customerdata/README.md | 0 docs/sdks/destination/README.md | 0 docs/sdks/fabra/README.md | 0 docs/sdks/linktoken/README.md | 0 docs/sdks/object/README.md | 0 docs/sdks/source/README.md | 0 docs/sdks/sync/README.md | 0 gen.yaml | 6 +++--- pylintrc | 0 setup.py | 4 ++-- src/fabra/__init__.py | 0 src/fabra/connection.py | 0 src/fabra/customer_data.py | 0 src/fabra/destination.py | 0 src/fabra/link_token.py | 0 src/fabra/models/__init__.py | 0 src/fabra/models/errors/__init__.py | 0 src/fabra/models/errors/sdkerror.py | 0 src/fabra/models/operations/__init__.py | 0 src/fabra/models/operations/create_destination.py | 0 src/fabra/models/operations/create_link_token.py | 0 src/fabra/models/operations/create_object.py | 0 src/fabra/models/operations/create_source.py | 0 src/fabra/models/operations/create_sync.py | 0 src/fabra/models/operations/get_destinations.py | 0 src/fabra/models/operations/get_namespaces.py | 0 src/fabra/models/operations/get_objects.py | 0 src/fabra/models/operations/get_schema.py | 0 src/fabra/models/operations/get_sources.py | 0 src/fabra/models/operations/get_syncs.py | 0 src/fabra/models/operations/get_tables.py | 0 src/fabra/models/operations/query_object.py | 0 src/fabra/models/shared/__init__.py | 0 src/fabra/models/shared/bigqueryconfig.py | 0 src/fabra/models/shared/connection.py | 0 src/fabra/models/shared/connectiontype.py | 0 src/fabra/models/shared/createlinktokenrequest.py | 0 src/fabra/models/shared/createlinktokenresponse.py | 0 src/fabra/models/shared/destination.py | 0 src/fabra/models/shared/destinationinput.py | 0 src/fabra/models/shared/field.py | 0 src/fabra/models/shared/fieldmapping.py | 0 src/fabra/models/shared/fieldtype.py | 0 src/fabra/models/shared/frequencyunits.py | 0 src/fabra/models/shared/mongodbconfig.py | 0 src/fabra/models/shared/namespaces.py | 0 src/fabra/models/shared/object.py | 0 src/fabra/models/shared/objectfield.py | 0 src/fabra/models/shared/objectinput.py | 0 src/fabra/models/shared/queryfilter.py | 0 src/fabra/models/shared/redshiftconfig.py | 0 src/fabra/models/shared/security.py | 0 src/fabra/models/shared/snowflakeconfig.py | 0 src/fabra/models/shared/source.py | 0 src/fabra/models/shared/sourceinput.py | 0 src/fabra/models/shared/sync.py | 0 src/fabra/models/shared/syncinput.py | 0 src/fabra/object.py | 0 src/fabra/sdk.py | 0 src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/source.py | 0 src/fabra/sync.py | 0 src/fabra/utils/__init__.py | 0 src/fabra/utils/retries.py | 0 src/fabra/utils/utils.py | 0 122 files changed, 16 insertions(+), 8 deletions(-) mode change 100755 => 100644 USAGE.md mode change 100755 => 100644 docs/models/operations/createdestination200applicationjson.md mode change 100755 => 100644 docs/models/operations/createdestinationresponse.md mode change 100755 => 100644 docs/models/operations/createlinktokenresponse.md mode change 100755 => 100644 docs/models/operations/createobject200applicationjson.md mode change 100755 => 100644 docs/models/operations/createobjectresponse.md mode change 100755 => 100644 docs/models/operations/createsource200applicationjson.md mode change 100755 => 100644 docs/models/operations/createsourceresponse.md mode change 100755 => 100644 docs/models/operations/createsync200applicationjson.md mode change 100755 => 100644 docs/models/operations/createsyncresponse.md mode change 100755 => 100644 docs/models/operations/getdestinations200applicationjson.md mode change 100755 => 100644 docs/models/operations/getdestinationsresponse.md mode change 100755 => 100644 docs/models/operations/getnamespacesrequest.md mode change 100755 => 100644 docs/models/operations/getnamespacesresponse.md mode change 100755 => 100644 docs/models/operations/getobjects200applicationjson.md mode change 100755 => 100644 docs/models/operations/getobjectsresponse.md mode change 100755 => 100644 docs/models/operations/getschema200applicationjson.md mode change 100755 => 100644 docs/models/operations/getschemarequest.md mode change 100755 => 100644 docs/models/operations/getschemaresponse.md mode change 100755 => 100644 docs/models/operations/getsources200applicationjson.md mode change 100755 => 100644 docs/models/operations/getsourcesresponse.md mode change 100755 => 100644 docs/models/operations/getsyncs200applicationjson.md mode change 100755 => 100644 docs/models/operations/getsyncsresponse.md mode change 100755 => 100644 docs/models/operations/gettables200applicationjson.md mode change 100755 => 100644 docs/models/operations/gettablesrequest.md mode change 100755 => 100644 docs/models/operations/gettablesresponse.md mode change 100755 => 100644 docs/models/operations/queryobject200applicationjson.md mode change 100755 => 100644 docs/models/operations/queryobject200applicationjsonexamplefield3.md mode change 100755 => 100644 docs/models/operations/queryobjectrequest.md mode change 100755 => 100644 docs/models/operations/queryobjectrequestbody.md mode change 100755 => 100644 docs/models/operations/queryobjectresponse.md mode change 100755 => 100644 docs/models/shared/bigqueryconfig.md mode change 100755 => 100644 docs/models/shared/connection.md mode change 100755 => 100644 docs/models/shared/connectiontype.md mode change 100755 => 100644 docs/models/shared/createlinktokenrequest.md mode change 100755 => 100644 docs/models/shared/createlinktokenresponse.md mode change 100755 => 100644 docs/models/shared/destination.md mode change 100755 => 100644 docs/models/shared/destinationinput.md mode change 100755 => 100644 docs/models/shared/field.md mode change 100755 => 100644 docs/models/shared/fieldmapping.md mode change 100755 => 100644 docs/models/shared/fieldtype.md mode change 100755 => 100644 docs/models/shared/frequencyunits.md mode change 100755 => 100644 docs/models/shared/mongodbconfig.md mode change 100755 => 100644 docs/models/shared/namespaces.md mode change 100755 => 100644 docs/models/shared/object.md mode change 100755 => 100644 docs/models/shared/objectfield.md mode change 100755 => 100644 docs/models/shared/objectinput.md mode change 100755 => 100644 docs/models/shared/queryfilter.md mode change 100755 => 100644 docs/models/shared/redshiftconfig.md mode change 100755 => 100644 docs/models/shared/security.md mode change 100755 => 100644 docs/models/shared/snowflakeconfig.md mode change 100755 => 100644 docs/models/shared/source.md mode change 100755 => 100644 docs/models/shared/sourceinput.md mode change 100755 => 100644 docs/models/shared/sync.md mode change 100755 => 100644 docs/models/shared/syncinput.md mode change 100755 => 100644 docs/sdks/connection/README.md mode change 100755 => 100644 docs/sdks/customerdata/README.md mode change 100755 => 100644 docs/sdks/destination/README.md mode change 100755 => 100644 docs/sdks/fabra/README.md mode change 100755 => 100644 docs/sdks/linktoken/README.md mode change 100755 => 100644 docs/sdks/object/README.md mode change 100755 => 100644 docs/sdks/source/README.md mode change 100755 => 100644 docs/sdks/sync/README.md mode change 100755 => 100644 pylintrc mode change 100755 => 100644 setup.py mode change 100755 => 100644 src/fabra/__init__.py mode change 100755 => 100644 src/fabra/connection.py mode change 100755 => 100644 src/fabra/customer_data.py mode change 100755 => 100644 src/fabra/destination.py mode change 100755 => 100644 src/fabra/link_token.py mode change 100755 => 100644 src/fabra/models/__init__.py mode change 100755 => 100644 src/fabra/models/errors/__init__.py mode change 100755 => 100644 src/fabra/models/errors/sdkerror.py mode change 100755 => 100644 src/fabra/models/operations/__init__.py mode change 100755 => 100644 src/fabra/models/operations/create_destination.py mode change 100755 => 100644 src/fabra/models/operations/create_link_token.py mode change 100755 => 100644 src/fabra/models/operations/create_object.py mode change 100755 => 100644 src/fabra/models/operations/create_source.py mode change 100755 => 100644 src/fabra/models/operations/create_sync.py mode change 100755 => 100644 src/fabra/models/operations/get_destinations.py mode change 100755 => 100644 src/fabra/models/operations/get_namespaces.py mode change 100755 => 100644 src/fabra/models/operations/get_objects.py mode change 100755 => 100644 src/fabra/models/operations/get_schema.py mode change 100755 => 100644 src/fabra/models/operations/get_sources.py mode change 100755 => 100644 src/fabra/models/operations/get_syncs.py mode change 100755 => 100644 src/fabra/models/operations/get_tables.py mode change 100755 => 100644 src/fabra/models/operations/query_object.py mode change 100755 => 100644 src/fabra/models/shared/__init__.py mode change 100755 => 100644 src/fabra/models/shared/bigqueryconfig.py mode change 100755 => 100644 src/fabra/models/shared/connection.py mode change 100755 => 100644 src/fabra/models/shared/connectiontype.py mode change 100755 => 100644 src/fabra/models/shared/createlinktokenrequest.py mode change 100755 => 100644 src/fabra/models/shared/createlinktokenresponse.py mode change 100755 => 100644 src/fabra/models/shared/destination.py mode change 100755 => 100644 src/fabra/models/shared/destinationinput.py mode change 100755 => 100644 src/fabra/models/shared/field.py mode change 100755 => 100644 src/fabra/models/shared/fieldmapping.py mode change 100755 => 100644 src/fabra/models/shared/fieldtype.py mode change 100755 => 100644 src/fabra/models/shared/frequencyunits.py mode change 100755 => 100644 src/fabra/models/shared/mongodbconfig.py mode change 100755 => 100644 src/fabra/models/shared/namespaces.py mode change 100755 => 100644 src/fabra/models/shared/object.py mode change 100755 => 100644 src/fabra/models/shared/objectfield.py mode change 100755 => 100644 src/fabra/models/shared/objectinput.py mode change 100755 => 100644 src/fabra/models/shared/queryfilter.py mode change 100755 => 100644 src/fabra/models/shared/redshiftconfig.py mode change 100755 => 100644 src/fabra/models/shared/security.py mode change 100755 => 100644 src/fabra/models/shared/snowflakeconfig.py mode change 100755 => 100644 src/fabra/models/shared/source.py mode change 100755 => 100644 src/fabra/models/shared/sourceinput.py mode change 100755 => 100644 src/fabra/models/shared/sync.py mode change 100755 => 100644 src/fabra/models/shared/syncinput.py mode change 100755 => 100644 src/fabra/object.py mode change 100755 => 100644 src/fabra/sdk.py mode change 100755 => 100644 src/fabra/sdkconfiguration.py mode change 100755 => 100644 src/fabra/source.py mode change 100755 => 100644 src/fabra/sync.py mode change 100755 => 100644 src/fabra/utils/__init__.py mode change 100755 => 100644 src/fabra/utils/retries.py mode change 100755 => 100644 src/fabra/utils/utils.py diff --git a/RELEASES.md b/RELEASES.md index 5fd05bf..4515d89 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -466,4 +466,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.31.1] https://pypi.org/project/fabra/0.31.1 - . \ No newline at end of file +- [PyPI v0.31.1] https://pypi.org/project/fabra/0.31.1 - . + +## 2023-07-22 00:05:37 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.32.0] https://pypi.org/project/fabra/0.32.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createdestination200applicationjson.md b/docs/models/operations/createdestination200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createdestinationresponse.md b/docs/models/operations/createdestinationresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createlinktokenresponse.md b/docs/models/operations/createlinktokenresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createobject200applicationjson.md b/docs/models/operations/createobject200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createobjectresponse.md b/docs/models/operations/createobjectresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createsource200applicationjson.md b/docs/models/operations/createsource200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createsourceresponse.md b/docs/models/operations/createsourceresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createsync200applicationjson.md b/docs/models/operations/createsync200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/createsyncresponse.md b/docs/models/operations/createsyncresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getdestinations200applicationjson.md b/docs/models/operations/getdestinations200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getdestinationsresponse.md b/docs/models/operations/getdestinationsresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getnamespacesrequest.md b/docs/models/operations/getnamespacesrequest.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getnamespacesresponse.md b/docs/models/operations/getnamespacesresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getobjects200applicationjson.md b/docs/models/operations/getobjects200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getobjectsresponse.md b/docs/models/operations/getobjectsresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getschemarequest.md b/docs/models/operations/getschemarequest.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getschemaresponse.md b/docs/models/operations/getschemaresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getsources200applicationjson.md b/docs/models/operations/getsources200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getsourcesresponse.md b/docs/models/operations/getsourcesresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getsyncs200applicationjson.md b/docs/models/operations/getsyncs200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/getsyncsresponse.md b/docs/models/operations/getsyncsresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/gettables200applicationjson.md b/docs/models/operations/gettables200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/gettablesrequest.md b/docs/models/operations/gettablesrequest.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/gettablesresponse.md b/docs/models/operations/gettablesresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/queryobject200applicationjson.md b/docs/models/operations/queryobject200applicationjson.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/queryobject200applicationjsonexamplefield3.md b/docs/models/operations/queryobject200applicationjsonexamplefield3.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/queryobjectrequest.md b/docs/models/operations/queryobjectrequest.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/queryobjectrequestbody.md b/docs/models/operations/queryobjectrequestbody.md old mode 100755 new mode 100644 diff --git a/docs/models/operations/queryobjectresponse.md b/docs/models/operations/queryobjectresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/bigqueryconfig.md b/docs/models/shared/bigqueryconfig.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/connection.md b/docs/models/shared/connection.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/connectiontype.md b/docs/models/shared/connectiontype.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/createlinktokenrequest.md b/docs/models/shared/createlinktokenrequest.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/createlinktokenresponse.md b/docs/models/shared/createlinktokenresponse.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/destination.md b/docs/models/shared/destination.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/destinationinput.md b/docs/models/shared/destinationinput.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/field.md b/docs/models/shared/field.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/fieldmapping.md b/docs/models/shared/fieldmapping.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/fieldtype.md b/docs/models/shared/fieldtype.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/frequencyunits.md b/docs/models/shared/frequencyunits.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/mongodbconfig.md b/docs/models/shared/mongodbconfig.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/namespaces.md b/docs/models/shared/namespaces.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/object.md b/docs/models/shared/object.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/objectfield.md b/docs/models/shared/objectfield.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/objectinput.md b/docs/models/shared/objectinput.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/queryfilter.md b/docs/models/shared/queryfilter.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/redshiftconfig.md b/docs/models/shared/redshiftconfig.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/security.md b/docs/models/shared/security.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/snowflakeconfig.md b/docs/models/shared/snowflakeconfig.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/source.md b/docs/models/shared/source.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/sourceinput.md b/docs/models/shared/sourceinput.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md old mode 100755 new mode 100644 diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md old mode 100755 new mode 100644 diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/fabra/README.md b/docs/sdks/fabra/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/linktoken/README.md b/docs/sdks/linktoken/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md old mode 100755 new mode 100644 diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md old mode 100755 new mode 100644 diff --git a/gen.yaml b/gen.yaml index f2ee600..875cdf3 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.62.1 - generationVersion: 2.70.2 + speakeasyVersion: 1.64.0 + generationVersion: 2.71.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.31.1 + version: 0.32.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/pylintrc b/pylintrc old mode 100755 new mode 100644 diff --git a/setup.py b/setup.py old mode 100755 new mode 100644 index 1753c00..472bac7 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.31.1", + version="0.32.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json-speakeasy>=0.5.8", + "dataclasses-json>=0.5.12", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/src/fabra/__init__.py b/src/fabra/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/connection.py b/src/fabra/connection.py old mode 100755 new mode 100644 diff --git a/src/fabra/customer_data.py b/src/fabra/customer_data.py old mode 100755 new mode 100644 diff --git a/src/fabra/destination.py b/src/fabra/destination.py old mode 100755 new mode 100644 diff --git a/src/fabra/link_token.py b/src/fabra/link_token.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/__init__.py b/src/fabra/models/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/errors/__init__.py b/src/fabra/models/errors/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/errors/sdkerror.py b/src/fabra/models/errors/sdkerror.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/__init__.py b/src/fabra/models/operations/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/create_destination.py b/src/fabra/models/operations/create_destination.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/create_link_token.py b/src/fabra/models/operations/create_link_token.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/create_object.py b/src/fabra/models/operations/create_object.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/create_source.py b/src/fabra/models/operations/create_source.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/create_sync.py b/src/fabra/models/operations/create_sync.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_destinations.py b/src/fabra/models/operations/get_destinations.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_namespaces.py b/src/fabra/models/operations/get_namespaces.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_objects.py b/src/fabra/models/operations/get_objects.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_schema.py b/src/fabra/models/operations/get_schema.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_sources.py b/src/fabra/models/operations/get_sources.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_syncs.py b/src/fabra/models/operations/get_syncs.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/get_tables.py b/src/fabra/models/operations/get_tables.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/operations/query_object.py b/src/fabra/models/operations/query_object.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/__init__.py b/src/fabra/models/shared/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/bigqueryconfig.py b/src/fabra/models/shared/bigqueryconfig.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/connection.py b/src/fabra/models/shared/connection.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/connectiontype.py b/src/fabra/models/shared/connectiontype.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/createlinktokenrequest.py b/src/fabra/models/shared/createlinktokenrequest.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/createlinktokenresponse.py b/src/fabra/models/shared/createlinktokenresponse.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/destination.py b/src/fabra/models/shared/destination.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/destinationinput.py b/src/fabra/models/shared/destinationinput.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/field.py b/src/fabra/models/shared/field.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/fieldmapping.py b/src/fabra/models/shared/fieldmapping.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/fieldtype.py b/src/fabra/models/shared/fieldtype.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/frequencyunits.py b/src/fabra/models/shared/frequencyunits.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/mongodbconfig.py b/src/fabra/models/shared/mongodbconfig.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/namespaces.py b/src/fabra/models/shared/namespaces.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/object.py b/src/fabra/models/shared/object.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/objectfield.py b/src/fabra/models/shared/objectfield.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/objectinput.py b/src/fabra/models/shared/objectinput.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/queryfilter.py b/src/fabra/models/shared/queryfilter.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/redshiftconfig.py b/src/fabra/models/shared/redshiftconfig.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/security.py b/src/fabra/models/shared/security.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/snowflakeconfig.py b/src/fabra/models/shared/snowflakeconfig.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/source.py b/src/fabra/models/shared/source.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/sourceinput.py b/src/fabra/models/shared/sourceinput.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/sync.py b/src/fabra/models/shared/sync.py old mode 100755 new mode 100644 diff --git a/src/fabra/models/shared/syncinput.py b/src/fabra/models/shared/syncinput.py old mode 100755 new mode 100644 diff --git a/src/fabra/object.py b/src/fabra/object.py old mode 100755 new mode 100644 diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py old mode 100755 new mode 100644 diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py old mode 100755 new mode 100644 index be06fd8..d132c47 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.31.1' - gen_version: str = '2.70.2' + sdk_version: str = '0.32.0' + gen_version: str = '2.71.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/source.py b/src/fabra/source.py old mode 100755 new mode 100644 diff --git a/src/fabra/sync.py b/src/fabra/sync.py old mode 100755 new mode 100644 diff --git a/src/fabra/utils/__init__.py b/src/fabra/utils/__init__.py old mode 100755 new mode 100644 diff --git a/src/fabra/utils/retries.py b/src/fabra/utils/retries.py old mode 100755 new mode 100644 diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py old mode 100755 new mode 100644 From 17665c9d0696860dde93ddb0761ea76fc8b759bb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Jul 2023 00:05:42 +0000 Subject: [PATCH 16/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.65.0 --- RELEASES.md | 10 +++++++++- USAGE.md | 0 .../operations/createdestination200applicationjson.md | 0 docs/models/operations/createdestinationresponse.md | 0 docs/models/operations/createlinktokenresponse.md | 0 .../operations/createobject200applicationjson.md | 0 docs/models/operations/createobjectresponse.md | 0 .../operations/createsource200applicationjson.md | 0 docs/models/operations/createsourceresponse.md | 0 docs/models/operations/createsync200applicationjson.md | 0 docs/models/operations/createsyncresponse.md | 0 .../operations/getdestinations200applicationjson.md | 0 docs/models/operations/getdestinationsresponse.md | 0 docs/models/operations/getnamespacesrequest.md | 0 docs/models/operations/getnamespacesresponse.md | 0 docs/models/operations/getobjects200applicationjson.md | 0 docs/models/operations/getobjectsresponse.md | 0 docs/models/operations/getschema200applicationjson.md | 0 docs/models/operations/getschemarequest.md | 0 docs/models/operations/getschemaresponse.md | 0 docs/models/operations/getsources200applicationjson.md | 0 docs/models/operations/getsourcesresponse.md | 0 docs/models/operations/getsyncs200applicationjson.md | 0 docs/models/operations/getsyncsresponse.md | 0 docs/models/operations/gettables200applicationjson.md | 0 docs/models/operations/gettablesrequest.md | 0 docs/models/operations/gettablesresponse.md | 0 .../models/operations/queryobject200applicationjson.md | 0 .../queryobject200applicationjsonexamplefield3.md | 0 docs/models/operations/queryobjectrequest.md | 0 docs/models/operations/queryobjectrequestbody.md | 0 docs/models/operations/queryobjectresponse.md | 0 docs/models/shared/bigqueryconfig.md | 0 docs/models/shared/connection.md | 0 docs/models/shared/connectiontype.md | 0 docs/models/shared/createlinktokenrequest.md | 0 docs/models/shared/createlinktokenresponse.md | 0 docs/models/shared/destination.md | 0 docs/models/shared/destinationinput.md | 0 docs/models/shared/field.md | 0 docs/models/shared/fieldmapping.md | 0 docs/models/shared/fieldtype.md | 0 docs/models/shared/frequencyunits.md | 0 docs/models/shared/mongodbconfig.md | 0 docs/models/shared/namespaces.md | 0 docs/models/shared/object.md | 0 docs/models/shared/objectfield.md | 0 docs/models/shared/objectinput.md | 0 docs/models/shared/queryfilter.md | 0 docs/models/shared/redshiftconfig.md | 0 docs/models/shared/security.md | 0 docs/models/shared/snowflakeconfig.md | 0 docs/models/shared/source.md | 0 docs/models/shared/sourceinput.md | 0 docs/models/shared/sync.md | 0 docs/models/shared/syncinput.md | 0 docs/sdks/connection/README.md | 0 docs/sdks/customerdata/README.md | 0 docs/sdks/destination/README.md | 0 docs/sdks/fabra/README.md | 0 docs/sdks/linktoken/README.md | 0 docs/sdks/object/README.md | 0 docs/sdks/source/README.md | 0 docs/sdks/sync/README.md | 0 gen.yaml | 6 +++--- pylintrc | 0 setup.py | 2 +- src/fabra/__init__.py | 0 src/fabra/connection.py | 0 src/fabra/customer_data.py | 0 src/fabra/destination.py | 0 src/fabra/link_token.py | 0 src/fabra/models/__init__.py | 0 src/fabra/models/errors/__init__.py | 0 src/fabra/models/errors/sdkerror.py | 0 src/fabra/models/operations/__init__.py | 0 src/fabra/models/operations/create_destination.py | 0 src/fabra/models/operations/create_link_token.py | 0 src/fabra/models/operations/create_object.py | 0 src/fabra/models/operations/create_source.py | 0 src/fabra/models/operations/create_sync.py | 0 src/fabra/models/operations/get_destinations.py | 0 src/fabra/models/operations/get_namespaces.py | 0 src/fabra/models/operations/get_objects.py | 0 src/fabra/models/operations/get_schema.py | 0 src/fabra/models/operations/get_sources.py | 0 src/fabra/models/operations/get_syncs.py | 0 src/fabra/models/operations/get_tables.py | 0 src/fabra/models/operations/query_object.py | 0 src/fabra/models/shared/__init__.py | 0 src/fabra/models/shared/bigqueryconfig.py | 0 src/fabra/models/shared/connection.py | 0 src/fabra/models/shared/connectiontype.py | 0 src/fabra/models/shared/createlinktokenrequest.py | 0 src/fabra/models/shared/createlinktokenresponse.py | 0 src/fabra/models/shared/destination.py | 0 src/fabra/models/shared/destinationinput.py | 0 src/fabra/models/shared/field.py | 0 src/fabra/models/shared/fieldmapping.py | 0 src/fabra/models/shared/fieldtype.py | 0 src/fabra/models/shared/frequencyunits.py | 0 src/fabra/models/shared/mongodbconfig.py | 0 src/fabra/models/shared/namespaces.py | 0 src/fabra/models/shared/object.py | 0 src/fabra/models/shared/objectfield.py | 0 src/fabra/models/shared/objectinput.py | 0 src/fabra/models/shared/queryfilter.py | 0 src/fabra/models/shared/redshiftconfig.py | 0 src/fabra/models/shared/security.py | 0 src/fabra/models/shared/snowflakeconfig.py | 0 src/fabra/models/shared/source.py | 0 src/fabra/models/shared/sourceinput.py | 0 src/fabra/models/shared/sync.py | 0 src/fabra/models/shared/syncinput.py | 0 src/fabra/object.py | 0 src/fabra/sdk.py | 0 src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/source.py | 0 src/fabra/sync.py | 0 src/fabra/utils/__init__.py | 0 src/fabra/utils/retries.py | 0 src/fabra/utils/utils.py | 0 122 files changed, 15 insertions(+), 7 deletions(-) mode change 100644 => 100755 USAGE.md mode change 100644 => 100755 docs/models/operations/createdestination200applicationjson.md mode change 100644 => 100755 docs/models/operations/createdestinationresponse.md mode change 100644 => 100755 docs/models/operations/createlinktokenresponse.md mode change 100644 => 100755 docs/models/operations/createobject200applicationjson.md mode change 100644 => 100755 docs/models/operations/createobjectresponse.md mode change 100644 => 100755 docs/models/operations/createsource200applicationjson.md mode change 100644 => 100755 docs/models/operations/createsourceresponse.md mode change 100644 => 100755 docs/models/operations/createsync200applicationjson.md mode change 100644 => 100755 docs/models/operations/createsyncresponse.md mode change 100644 => 100755 docs/models/operations/getdestinations200applicationjson.md mode change 100644 => 100755 docs/models/operations/getdestinationsresponse.md mode change 100644 => 100755 docs/models/operations/getnamespacesrequest.md mode change 100644 => 100755 docs/models/operations/getnamespacesresponse.md mode change 100644 => 100755 docs/models/operations/getobjects200applicationjson.md mode change 100644 => 100755 docs/models/operations/getobjectsresponse.md mode change 100644 => 100755 docs/models/operations/getschema200applicationjson.md mode change 100644 => 100755 docs/models/operations/getschemarequest.md mode change 100644 => 100755 docs/models/operations/getschemaresponse.md mode change 100644 => 100755 docs/models/operations/getsources200applicationjson.md mode change 100644 => 100755 docs/models/operations/getsourcesresponse.md mode change 100644 => 100755 docs/models/operations/getsyncs200applicationjson.md mode change 100644 => 100755 docs/models/operations/getsyncsresponse.md mode change 100644 => 100755 docs/models/operations/gettables200applicationjson.md mode change 100644 => 100755 docs/models/operations/gettablesrequest.md mode change 100644 => 100755 docs/models/operations/gettablesresponse.md mode change 100644 => 100755 docs/models/operations/queryobject200applicationjson.md mode change 100644 => 100755 docs/models/operations/queryobject200applicationjsonexamplefield3.md mode change 100644 => 100755 docs/models/operations/queryobjectrequest.md mode change 100644 => 100755 docs/models/operations/queryobjectrequestbody.md mode change 100644 => 100755 docs/models/operations/queryobjectresponse.md mode change 100644 => 100755 docs/models/shared/bigqueryconfig.md mode change 100644 => 100755 docs/models/shared/connection.md mode change 100644 => 100755 docs/models/shared/connectiontype.md mode change 100644 => 100755 docs/models/shared/createlinktokenrequest.md mode change 100644 => 100755 docs/models/shared/createlinktokenresponse.md mode change 100644 => 100755 docs/models/shared/destination.md mode change 100644 => 100755 docs/models/shared/destinationinput.md mode change 100644 => 100755 docs/models/shared/field.md mode change 100644 => 100755 docs/models/shared/fieldmapping.md mode change 100644 => 100755 docs/models/shared/fieldtype.md mode change 100644 => 100755 docs/models/shared/frequencyunits.md mode change 100644 => 100755 docs/models/shared/mongodbconfig.md mode change 100644 => 100755 docs/models/shared/namespaces.md mode change 100644 => 100755 docs/models/shared/object.md mode change 100644 => 100755 docs/models/shared/objectfield.md mode change 100644 => 100755 docs/models/shared/objectinput.md mode change 100644 => 100755 docs/models/shared/queryfilter.md mode change 100644 => 100755 docs/models/shared/redshiftconfig.md mode change 100644 => 100755 docs/models/shared/security.md mode change 100644 => 100755 docs/models/shared/snowflakeconfig.md mode change 100644 => 100755 docs/models/shared/source.md mode change 100644 => 100755 docs/models/shared/sourceinput.md mode change 100644 => 100755 docs/models/shared/sync.md mode change 100644 => 100755 docs/models/shared/syncinput.md mode change 100644 => 100755 docs/sdks/connection/README.md mode change 100644 => 100755 docs/sdks/customerdata/README.md mode change 100644 => 100755 docs/sdks/destination/README.md mode change 100644 => 100755 docs/sdks/fabra/README.md mode change 100644 => 100755 docs/sdks/linktoken/README.md mode change 100644 => 100755 docs/sdks/object/README.md mode change 100644 => 100755 docs/sdks/source/README.md mode change 100644 => 100755 docs/sdks/sync/README.md mode change 100644 => 100755 pylintrc mode change 100644 => 100755 setup.py mode change 100644 => 100755 src/fabra/__init__.py mode change 100644 => 100755 src/fabra/connection.py mode change 100644 => 100755 src/fabra/customer_data.py mode change 100644 => 100755 src/fabra/destination.py mode change 100644 => 100755 src/fabra/link_token.py mode change 100644 => 100755 src/fabra/models/__init__.py mode change 100644 => 100755 src/fabra/models/errors/__init__.py mode change 100644 => 100755 src/fabra/models/errors/sdkerror.py mode change 100644 => 100755 src/fabra/models/operations/__init__.py mode change 100644 => 100755 src/fabra/models/operations/create_destination.py mode change 100644 => 100755 src/fabra/models/operations/create_link_token.py mode change 100644 => 100755 src/fabra/models/operations/create_object.py mode change 100644 => 100755 src/fabra/models/operations/create_source.py mode change 100644 => 100755 src/fabra/models/operations/create_sync.py mode change 100644 => 100755 src/fabra/models/operations/get_destinations.py mode change 100644 => 100755 src/fabra/models/operations/get_namespaces.py mode change 100644 => 100755 src/fabra/models/operations/get_objects.py mode change 100644 => 100755 src/fabra/models/operations/get_schema.py mode change 100644 => 100755 src/fabra/models/operations/get_sources.py mode change 100644 => 100755 src/fabra/models/operations/get_syncs.py mode change 100644 => 100755 src/fabra/models/operations/get_tables.py mode change 100644 => 100755 src/fabra/models/operations/query_object.py mode change 100644 => 100755 src/fabra/models/shared/__init__.py mode change 100644 => 100755 src/fabra/models/shared/bigqueryconfig.py mode change 100644 => 100755 src/fabra/models/shared/connection.py mode change 100644 => 100755 src/fabra/models/shared/connectiontype.py mode change 100644 => 100755 src/fabra/models/shared/createlinktokenrequest.py mode change 100644 => 100755 src/fabra/models/shared/createlinktokenresponse.py mode change 100644 => 100755 src/fabra/models/shared/destination.py mode change 100644 => 100755 src/fabra/models/shared/destinationinput.py mode change 100644 => 100755 src/fabra/models/shared/field.py mode change 100644 => 100755 src/fabra/models/shared/fieldmapping.py mode change 100644 => 100755 src/fabra/models/shared/fieldtype.py mode change 100644 => 100755 src/fabra/models/shared/frequencyunits.py mode change 100644 => 100755 src/fabra/models/shared/mongodbconfig.py mode change 100644 => 100755 src/fabra/models/shared/namespaces.py mode change 100644 => 100755 src/fabra/models/shared/object.py mode change 100644 => 100755 src/fabra/models/shared/objectfield.py mode change 100644 => 100755 src/fabra/models/shared/objectinput.py mode change 100644 => 100755 src/fabra/models/shared/queryfilter.py mode change 100644 => 100755 src/fabra/models/shared/redshiftconfig.py mode change 100644 => 100755 src/fabra/models/shared/security.py mode change 100644 => 100755 src/fabra/models/shared/snowflakeconfig.py mode change 100644 => 100755 src/fabra/models/shared/source.py mode change 100644 => 100755 src/fabra/models/shared/sourceinput.py mode change 100644 => 100755 src/fabra/models/shared/sync.py mode change 100644 => 100755 src/fabra/models/shared/syncinput.py mode change 100644 => 100755 src/fabra/object.py mode change 100644 => 100755 src/fabra/sdk.py mode change 100644 => 100755 src/fabra/sdkconfiguration.py mode change 100644 => 100755 src/fabra/source.py mode change 100644 => 100755 src/fabra/sync.py mode change 100644 => 100755 src/fabra/utils/__init__.py mode change 100644 => 100755 src/fabra/utils/retries.py mode change 100644 => 100755 src/fabra/utils/utils.py diff --git a/RELEASES.md b/RELEASES.md index 4515d89..cad6457 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -474,4 +474,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.32.0] https://pypi.org/project/fabra/0.32.0 - . \ No newline at end of file +- [PyPI v0.32.0] https://pypi.org/project/fabra/0.32.0 - . + +## 2023-07-26 00:05:28 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.33.0] https://pypi.org/project/fabra/0.33.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createdestination200applicationjson.md b/docs/models/operations/createdestination200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createdestinationresponse.md b/docs/models/operations/createdestinationresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createlinktokenresponse.md b/docs/models/operations/createlinktokenresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createobject200applicationjson.md b/docs/models/operations/createobject200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createobjectresponse.md b/docs/models/operations/createobjectresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createsource200applicationjson.md b/docs/models/operations/createsource200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createsourceresponse.md b/docs/models/operations/createsourceresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createsync200applicationjson.md b/docs/models/operations/createsync200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/createsyncresponse.md b/docs/models/operations/createsyncresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getdestinations200applicationjson.md b/docs/models/operations/getdestinations200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getdestinationsresponse.md b/docs/models/operations/getdestinationsresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getnamespacesrequest.md b/docs/models/operations/getnamespacesrequest.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getnamespacesresponse.md b/docs/models/operations/getnamespacesresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getobjects200applicationjson.md b/docs/models/operations/getobjects200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getobjectsresponse.md b/docs/models/operations/getobjectsresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getschemarequest.md b/docs/models/operations/getschemarequest.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getschemaresponse.md b/docs/models/operations/getschemaresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getsources200applicationjson.md b/docs/models/operations/getsources200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getsourcesresponse.md b/docs/models/operations/getsourcesresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getsyncs200applicationjson.md b/docs/models/operations/getsyncs200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/getsyncsresponse.md b/docs/models/operations/getsyncsresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/gettables200applicationjson.md b/docs/models/operations/gettables200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/gettablesrequest.md b/docs/models/operations/gettablesrequest.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/gettablesresponse.md b/docs/models/operations/gettablesresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/queryobject200applicationjson.md b/docs/models/operations/queryobject200applicationjson.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/queryobject200applicationjsonexamplefield3.md b/docs/models/operations/queryobject200applicationjsonexamplefield3.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/queryobjectrequest.md b/docs/models/operations/queryobjectrequest.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/queryobjectrequestbody.md b/docs/models/operations/queryobjectrequestbody.md old mode 100644 new mode 100755 diff --git a/docs/models/operations/queryobjectresponse.md b/docs/models/operations/queryobjectresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/bigqueryconfig.md b/docs/models/shared/bigqueryconfig.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/connection.md b/docs/models/shared/connection.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/connectiontype.md b/docs/models/shared/connectiontype.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/createlinktokenrequest.md b/docs/models/shared/createlinktokenrequest.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/createlinktokenresponse.md b/docs/models/shared/createlinktokenresponse.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/destination.md b/docs/models/shared/destination.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/destinationinput.md b/docs/models/shared/destinationinput.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/field.md b/docs/models/shared/field.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/fieldmapping.md b/docs/models/shared/fieldmapping.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/fieldtype.md b/docs/models/shared/fieldtype.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/frequencyunits.md b/docs/models/shared/frequencyunits.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/mongodbconfig.md b/docs/models/shared/mongodbconfig.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/namespaces.md b/docs/models/shared/namespaces.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/object.md b/docs/models/shared/object.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/objectfield.md b/docs/models/shared/objectfield.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/objectinput.md b/docs/models/shared/objectinput.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/queryfilter.md b/docs/models/shared/queryfilter.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/redshiftconfig.md b/docs/models/shared/redshiftconfig.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/security.md b/docs/models/shared/security.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/snowflakeconfig.md b/docs/models/shared/snowflakeconfig.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/source.md b/docs/models/shared/source.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/sourceinput.md b/docs/models/shared/sourceinput.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md old mode 100644 new mode 100755 diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md old mode 100644 new mode 100755 diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/fabra/README.md b/docs/sdks/fabra/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/linktoken/README.md b/docs/sdks/linktoken/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md old mode 100644 new mode 100755 diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md old mode 100644 new mode 100755 diff --git a/gen.yaml b/gen.yaml index 875cdf3..0a35736 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.64.0 - generationVersion: 2.71.0 + speakeasyVersion: 1.65.0 + generationVersion: 2.73.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.32.0 + version: 0.33.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/pylintrc b/pylintrc old mode 100644 new mode 100755 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 472bac7..9b649e3 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.32.0", + version="0.33.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/__init__.py b/src/fabra/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/connection.py b/src/fabra/connection.py old mode 100644 new mode 100755 diff --git a/src/fabra/customer_data.py b/src/fabra/customer_data.py old mode 100644 new mode 100755 diff --git a/src/fabra/destination.py b/src/fabra/destination.py old mode 100644 new mode 100755 diff --git a/src/fabra/link_token.py b/src/fabra/link_token.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/__init__.py b/src/fabra/models/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/errors/__init__.py b/src/fabra/models/errors/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/errors/sdkerror.py b/src/fabra/models/errors/sdkerror.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/__init__.py b/src/fabra/models/operations/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/create_destination.py b/src/fabra/models/operations/create_destination.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/create_link_token.py b/src/fabra/models/operations/create_link_token.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/create_object.py b/src/fabra/models/operations/create_object.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/create_source.py b/src/fabra/models/operations/create_source.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/create_sync.py b/src/fabra/models/operations/create_sync.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_destinations.py b/src/fabra/models/operations/get_destinations.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_namespaces.py b/src/fabra/models/operations/get_namespaces.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_objects.py b/src/fabra/models/operations/get_objects.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_schema.py b/src/fabra/models/operations/get_schema.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_sources.py b/src/fabra/models/operations/get_sources.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_syncs.py b/src/fabra/models/operations/get_syncs.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/get_tables.py b/src/fabra/models/operations/get_tables.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/operations/query_object.py b/src/fabra/models/operations/query_object.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/__init__.py b/src/fabra/models/shared/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/bigqueryconfig.py b/src/fabra/models/shared/bigqueryconfig.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/connection.py b/src/fabra/models/shared/connection.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/connectiontype.py b/src/fabra/models/shared/connectiontype.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/createlinktokenrequest.py b/src/fabra/models/shared/createlinktokenrequest.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/createlinktokenresponse.py b/src/fabra/models/shared/createlinktokenresponse.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/destination.py b/src/fabra/models/shared/destination.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/destinationinput.py b/src/fabra/models/shared/destinationinput.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/field.py b/src/fabra/models/shared/field.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/fieldmapping.py b/src/fabra/models/shared/fieldmapping.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/fieldtype.py b/src/fabra/models/shared/fieldtype.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/frequencyunits.py b/src/fabra/models/shared/frequencyunits.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/mongodbconfig.py b/src/fabra/models/shared/mongodbconfig.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/namespaces.py b/src/fabra/models/shared/namespaces.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/object.py b/src/fabra/models/shared/object.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/objectfield.py b/src/fabra/models/shared/objectfield.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/objectinput.py b/src/fabra/models/shared/objectinput.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/queryfilter.py b/src/fabra/models/shared/queryfilter.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/redshiftconfig.py b/src/fabra/models/shared/redshiftconfig.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/security.py b/src/fabra/models/shared/security.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/snowflakeconfig.py b/src/fabra/models/shared/snowflakeconfig.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/source.py b/src/fabra/models/shared/source.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/sourceinput.py b/src/fabra/models/shared/sourceinput.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/sync.py b/src/fabra/models/shared/sync.py old mode 100644 new mode 100755 diff --git a/src/fabra/models/shared/syncinput.py b/src/fabra/models/shared/syncinput.py old mode 100644 new mode 100755 diff --git a/src/fabra/object.py b/src/fabra/object.py old mode 100644 new mode 100755 diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py old mode 100644 new mode 100755 diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py old mode 100644 new mode 100755 index d132c47..855428c --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.32.0' - gen_version: str = '2.71.0' + sdk_version: str = '0.33.0' + gen_version: str = '2.73.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/source.py b/src/fabra/source.py old mode 100644 new mode 100755 diff --git a/src/fabra/sync.py b/src/fabra/sync.py old mode 100644 new mode 100755 diff --git a/src/fabra/utils/__init__.py b/src/fabra/utils/__init__.py old mode 100644 new mode 100755 diff --git a/src/fabra/utils/retries.py b/src/fabra/utils/retries.py old mode 100644 new mode 100755 diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py old mode 100644 new mode 100755 From 857efddb37364c435190f7dc36840de970c967a9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Jul 2023 00:05:47 +0000 Subject: [PATCH 17/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.65.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index cad6457..ee5d066 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -482,4 +482,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.33.0] https://pypi.org/project/fabra/0.33.0 - . \ No newline at end of file +- [PyPI v0.33.0] https://pypi.org/project/fabra/0.33.0 - . + +## 2023-07-27 00:05:34 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.33.1] https://pypi.org/project/fabra/0.33.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 0a35736..7e70b63 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.65.0 - generationVersion: 2.73.0 + speakeasyVersion: 1.65.1 + generationVersion: 2.73.1 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.33.0 + version: 0.33.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 9b649e3..4798e61 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.33.0", + version="0.33.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 855428c..27c803d 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.33.0' - gen_version: str = '2.73.0' + sdk_version: str = '0.33.1' + gen_version: str = '2.73.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 5f6d85a6d613629c34b95000d5cf768f4d19528a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Jul 2023 00:05:38 +0000 Subject: [PATCH 18/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.65.2 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index ee5d066..f443f39 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -490,4 +490,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.33.1] https://pypi.org/project/fabra/0.33.1 - . \ No newline at end of file +- [PyPI v0.33.1] https://pypi.org/project/fabra/0.33.1 - . + +## 2023-07-28 00:05:26 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.34.0] https://pypi.org/project/fabra/0.34.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 7e70b63..c5f2816 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.65.1 - generationVersion: 2.73.1 + speakeasyVersion: 1.65.2 + generationVersion: 2.75.1 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.33.1 + version: 0.34.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 4798e61..278859b 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.33.1", + version="0.34.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 27c803d..6abb477 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.33.1' - gen_version: str = '2.73.1' + sdk_version: str = '0.34.0' + gen_version: str = '2.75.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d32b6102d1b6ab15578c8ced7dca0e7a1a208be3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 1 Aug 2023 00:06:55 +0000 Subject: [PATCH 19/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.66.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index f443f39..94a566e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -498,4 +498,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.34.0] https://pypi.org/project/fabra/0.34.0 - . \ No newline at end of file +- [PyPI v0.34.0] https://pypi.org/project/fabra/0.34.0 - . + +## 2023-08-01 00:06:39 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.34.1] https://pypi.org/project/fabra/0.34.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index c5f2816..31dccef 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.65.2 - generationVersion: 2.75.1 + speakeasyVersion: 1.66.1 + generationVersion: 2.75.2 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.34.0 + version: 0.34.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 278859b..635894f 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.34.0", + version="0.34.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 6abb477..af7d365 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.34.0' - gen_version: str = '2.75.1' + sdk_version: str = '0.34.1' + gen_version: str = '2.75.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 3908ac6aa9496e9de34b40a4264d221fb4739602 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Aug 2023 00:05:44 +0000 Subject: [PATCH 20/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.68.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 94a566e..8fb839c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -506,4 +506,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.34.1] https://pypi.org/project/fabra/0.34.1 - . \ No newline at end of file +- [PyPI v0.34.1] https://pypi.org/project/fabra/0.34.1 - . + +## 2023-08-03 00:05:29 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.35.0] https://pypi.org/project/fabra/0.35.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 31dccef..8f4a46a 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.66.1 - generationVersion: 2.75.2 + speakeasyVersion: 1.68.1 + generationVersion: 2.77.1 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.34.1 + version: 0.35.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 635894f..be27d3d 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.34.1", + version="0.35.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index af7d365..f516c91 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.34.1' - gen_version: str = '2.75.2' + sdk_version: str = '0.35.0' + gen_version: str = '2.77.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 016cd47021ea4668eb1aba04e3310abe906f00d1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 4 Aug 2023 00:05:42 +0000 Subject: [PATCH 21/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.68.3 --- RELEASES.md | 10 +++++++++- gen.yaml | 6 +++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/utils/utils.py | 5 ++++- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 8fb839c..b84bfe8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -514,4 +514,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.35.0] https://pypi.org/project/fabra/0.35.0 - . \ No newline at end of file +- [PyPI v0.35.0] https://pypi.org/project/fabra/0.35.0 - . + +## 2023-08-04 00:05:28 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.36.0] https://pypi.org/project/fabra/0.36.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 8f4a46a..8913f05 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.68.1 - generationVersion: 2.77.1 + speakeasyVersion: 1.68.3 + generationVersion: 2.81.1 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false python: - version: 0.35.0 + version: 0.36.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index be27d3d..5326b0d 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.35.0", + version="0.36.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index f516c91..aaa4aef 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.35.0' - gen_version: str = '2.77.1' + sdk_version: str = '0.36.0' + gen_version: str = '2.81.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index 6b39ecf..3456af6 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -678,7 +678,10 @@ def unmarshal_json(data, typ): unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) - out = unmarhsal.from_dict({"res": json_dict}) + try: + out = unmarhsal.from_dict({"res": json_dict}) + except AttributeError as attr_err: + raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 5d6b998b4d7c2ff85989876d2d3680c4efd4ab0b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 8 Aug 2023 00:06:15 +0000 Subject: [PATCH 22/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.69.1 --- RELEASES.md | 10 +++++++++- gen.yaml | 11 ++++++++--- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index b84bfe8..dbc4183 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -522,4 +522,12 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.36.0] https://pypi.org/project/fabra/0.36.0 - . \ No newline at end of file +- [PyPI v0.36.0] https://pypi.org/project/fabra/0.36.0 - . + +## 2023-08-08 00:06:00 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [PyPI v0.37.0] https://pypi.org/project/fabra/0.37.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 8913f05..6bfca85 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,15 +2,20 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.68.3 - generationVersion: 2.81.1 + speakeasyVersion: 1.69.1 + generationVersion: 2.82.0 generation: sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false +features: + python: + core: 2.82.0 + globalSecurity: 2.81.1 + globalServerURLs: 2.81.1 python: - version: 0.36.0 + version: 0.37.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 5326b0d..4ad2eb2 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.36.0", + version="0.37.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index aaa4aef..2fdb8c9 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.36.0' - gen_version: str = '2.81.1' + sdk_version: str = '0.37.0' + gen_version: str = '2.82.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 81e27e49d271d8b0ae0e92281ec3d477af0029f9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 16 Aug 2023 00:05:41 +0000 Subject: [PATCH 23/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.73.1 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index dbc4183..7da9c49 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -530,4 +530,14 @@ Based on: - OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml - Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [PyPI v0.37.0] https://pypi.org/project/fabra/0.37.0 - . \ No newline at end of file +- [PyPI v0.37.0] https://pypi.org/project/fabra/0.37.0 - . + +## 2023-08-16 00:05:25 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.73.1 (2.84.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.38.0] . +### Releases +- [PyPI v0.38.0] https://pypi.org/project/fabra/0.38.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 6bfca85..c977fbc 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.69.1 - generationVersion: 2.82.0 + speakeasyVersion: 1.73.1 + generationVersion: 2.84.3 generation: sdkClassName: Fabra sdkFlattening: false @@ -13,9 +13,9 @@ features: python: core: 2.82.0 globalSecurity: 2.81.1 - globalServerURLs: 2.81.1 + globalServerURLs: 2.82.0 python: - version: 0.37.0 + version: 0.38.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 4ad2eb2..413c9ba 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.37.0", + version="0.38.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 2fdb8c9..a4f3c42 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.37.0' - gen_version: str = '2.82.0' + sdk_version: str = '0.38.0' + gen_version: str = '2.84.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From cfb27f5d21de1aa4bb98255f9e62ea84f449692b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 19 Aug 2023 00:05:26 +0000 Subject: [PATCH 24/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.74.3 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/utils/utils.py | 4 ++-- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 7da9c49..d6861a7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -540,4 +540,14 @@ Based on: ### Generated - [python v0.38.0] . ### Releases -- [PyPI v0.38.0] https://pypi.org/project/fabra/0.38.0 - . \ No newline at end of file +- [PyPI v0.38.0] https://pypi.org/project/fabra/0.38.0 - . + +## 2023-08-19 00:05:12 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.38.1] . +### Releases +- [PyPI v0.38.1] https://pypi.org/project/fabra/0.38.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index c977fbc..5a4c366 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.73.1 - generationVersion: 2.84.3 + speakeasyVersion: 1.74.3 + generationVersion: 2.86.6 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.82.0 + core: 2.82.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.38.0 + version: 0.38.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 413c9ba..486c77c 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.38.0", + version="0.38.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index a4f3c42..70329c8 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.38.0' - gen_version: str = '2.84.3' + sdk_version: str = '0.38.1' + gen_version: str = '2.86.6' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index 3456af6..ea9792d 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -675,11 +675,11 @@ def _serialize_header(explode: bool, obj: any) -> str: def unmarshal_json(data, typ): - unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], + unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) try: - out = unmarhsal.from_dict({"res": json_dict}) + out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 68ec5e2d5a81d587746c61f6aaa820591ec7c235 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 25 Aug 2023 00:05:43 +0000 Subject: [PATCH 25/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.74.11 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index d6861a7..b8e5d32 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -550,4 +550,14 @@ Based on: ### Generated - [python v0.38.1] . ### Releases -- [PyPI v0.38.1] https://pypi.org/project/fabra/0.38.1 - . \ No newline at end of file +- [PyPI v0.38.1] https://pypi.org/project/fabra/0.38.1 - . + +## 2023-08-25 00:05:29 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.74.11 (2.87.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.38.2] . +### Releases +- [PyPI v0.38.2] https://pypi.org/project/fabra/0.38.2 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 5a4c366..47cbb2e 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.74.3 - generationVersion: 2.86.6 + speakeasyVersion: 1.74.11 + generationVersion: 2.87.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.82.1 + core: 2.82.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.38.1 + version: 0.38.2 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 486c77c..750bddc 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.38.1", + version="0.38.2", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 70329c8..ee8c979 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.38.1' - gen_version: str = '2.86.6' + sdk_version: str = '0.38.2' + gen_version: str = '2.87.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 41e162eb03de7a9e973720bb9ab360d52ea8126b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 26 Aug 2023 00:06:29 +0000 Subject: [PATCH 26/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.74.15 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index b8e5d32..553b3b1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -560,4 +560,14 @@ Based on: ### Generated - [python v0.38.2] . ### Releases -- [PyPI v0.38.2] https://pypi.org/project/fabra/0.38.2 - . \ No newline at end of file +- [PyPI v0.38.2] https://pypi.org/project/fabra/0.38.2 - . + +## 2023-08-26 00:06:15 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.39.0] . +### Releases +- [PyPI v0.39.0] https://pypi.org/project/fabra/0.39.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 47cbb2e..6fb6cb6 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.74.11 - generationVersion: 2.87.1 + speakeasyVersion: 1.74.15 + generationVersion: 2.88.2 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.82.2 + core: 2.83.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.38.2 + version: 0.39.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 750bddc..c5ddc6e 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.38.2", + version="0.39.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index ee8c979..1686fee 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.38.2' - gen_version: str = '2.87.1' + sdk_version: str = '0.39.0' + gen_version: str = '2.88.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From aa795d7b5c090964d2a44441d940a47f35514b69 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 29 Aug 2023 00:06:04 +0000 Subject: [PATCH 27/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.74.17 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- pylintrc | 2 +- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 553b3b1..dfc30a4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -570,4 +570,14 @@ Based on: ### Generated - [python v0.39.0] . ### Releases -- [PyPI v0.39.0] https://pypi.org/project/fabra/0.39.0 - . \ No newline at end of file +- [PyPI v0.39.0] https://pypi.org/project/fabra/0.39.0 - . + +## 2023-08-29 00:05:47 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.39.1] . +### Releases +- [PyPI v0.39.1] https://pypi.org/project/fabra/0.39.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 6fb6cb6..b3b5034 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.74.15 - generationVersion: 2.88.2 + speakeasyVersion: 1.74.17 + generationVersion: 2.88.5 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.83.1 + core: 2.83.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.39.0 + version: 0.39.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/pylintrc b/pylintrc index 21a3894..ab6495d 100755 --- a/pylintrc +++ b/pylintrc @@ -621,7 +621,7 @@ additional-builtins= allow-global-unused-variables=yes # List of names allowed to shadow builtins -allowed-redefined-builtins= +allowed-redefined-builtins=id,object # List of strings which can identify a callback function by name. A callback # name must start or end with one of those strings. diff --git a/setup.py b/setup.py index c5ddc6e..7e0afab 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.39.0", + version="0.39.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 1686fee..01ceb72 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.39.0' - gen_version: str = '2.88.2' + sdk_version: str = '0.39.1' + gen_version: str = '2.88.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From e50f39908bdbb8ace9f8c4155b40db9211c56ea2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 31 Aug 2023 00:05:47 +0000 Subject: [PATCH 28/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.75.0 --- .gitattributes | 2 ++ RELEASES.md | 12 +++++++++++- files.gen | 3 ++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 6 files changed, 22 insertions(+), 9 deletions(-) create mode 100755 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100755 index 0000000..4d75d59 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# This allows generated code to be indexed correctly +*.py linguist-generated=false \ No newline at end of file diff --git a/RELEASES.md b/RELEASES.md index dfc30a4..7407238 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -580,4 +580,14 @@ Based on: ### Generated - [python v0.39.1] . ### Releases -- [PyPI v0.39.1] https://pypi.org/project/fabra/0.39.1 - . \ No newline at end of file +- [PyPI v0.39.1] https://pypi.org/project/fabra/0.39.1 - . + +## 2023-08-31 00:05:33 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.75.0 (2.89.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.40.0] . +### Releases +- [PyPI v0.40.0] https://pypi.org/project/fabra/0.40.0 - . \ No newline at end of file diff --git a/files.gen b/files.gen index 5ba1a5f..0f7a658 100755 --- a/files.gen +++ b/files.gen @@ -117,4 +117,5 @@ docs/models/shared/sourceinput.md docs/models/shared/sync.md docs/models/shared/fieldmapping.md docs/models/shared/syncinput.md -docs/models/shared/security.md \ No newline at end of file +docs/models/shared/security.md +.gitattributes \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index b3b5034..2bf4b1a 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.74.17 - generationVersion: 2.88.5 + speakeasyVersion: 1.75.0 + generationVersion: 2.89.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.83.2 + core: 2.84.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.39.1 + version: 0.40.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 7e0afab..327ccf6 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.39.1", + version="0.40.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 01ceb72..0d7e539 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.39.1' - gen_version: str = '2.88.5' + sdk_version: str = '0.40.0' + gen_version: str = '2.89.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 122913181e44c1a31fdb75d6582ee19b6336e4e7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 1 Sep 2023 00:05:57 +0000 Subject: [PATCH 29/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.77.0 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 7407238..689895d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -590,4 +590,14 @@ Based on: ### Generated - [python v0.40.0] . ### Releases -- [PyPI v0.40.0] https://pypi.org/project/fabra/0.40.0 - . \ No newline at end of file +- [PyPI v0.40.0] https://pypi.org/project/fabra/0.40.0 - . + +## 2023-09-01 00:05:43 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.0] . +### Releases +- [PyPI v0.41.0] https://pypi.org/project/fabra/0.41.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 2bf4b1a..214cde8 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.75.0 - generationVersion: 2.89.1 + speakeasyVersion: 1.77.0 + generationVersion: 2.91.2 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.84.0 + core: 2.85.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.40.0 + version: 0.41.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 327ccf6..502c5c0 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.40.0", + version="0.41.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 0d7e539..b333b2f 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.40.0' - gen_version: str = '2.89.1' + sdk_version: str = '0.41.0' + gen_version: str = '2.91.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 99bbb7ba4198f2b30be63edd7ac07e3abaab8e24 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 2 Sep 2023 00:05:34 +0000 Subject: [PATCH 30/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.77.2 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 689895d..a39f471 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -600,4 +600,14 @@ Based on: ### Generated - [python v0.41.0] . ### Releases -- [PyPI v0.41.0] https://pypi.org/project/fabra/0.41.0 - . \ No newline at end of file +- [PyPI v0.41.0] https://pypi.org/project/fabra/0.41.0 - . + +## 2023-09-02 00:05:20 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.1] . +### Releases +- [PyPI v0.41.1] https://pypi.org/project/fabra/0.41.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 214cde8..3687258 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.77.0 - generationVersion: 2.91.2 + speakeasyVersion: 1.77.2 + generationVersion: 2.93.0 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.0 + core: 2.85.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.0 + version: 0.41.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 502c5c0..a38d06f 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.0", + version="0.41.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index b333b2f..b3865b3 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.0' - gen_version: str = '2.91.2' + sdk_version: str = '0.41.1' + gen_version: str = '2.93.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 156cf03280fe9e14221c459f970b3ce3b4793234 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 5 Sep 2023 00:05:39 +0000 Subject: [PATCH 31/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.78.3 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/utils/utils.py | 19 +++++++++++-------- 5 files changed, 29 insertions(+), 16 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index a39f471..89b6027 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -610,4 +610,14 @@ Based on: ### Generated - [python v0.41.1] . ### Releases -- [PyPI v0.41.1] https://pypi.org/project/fabra/0.41.1 - . \ No newline at end of file +- [PyPI v0.41.1] https://pypi.org/project/fabra/0.41.1 - . + +## 2023-09-05 00:05:23 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.2] . +### Releases +- [PyPI v0.41.2] https://pypi.org/project/fabra/0.41.2 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 3687258..e778fab 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.77.2 - generationVersion: 2.93.0 + speakeasyVersion: 1.78.3 + generationVersion: 2.96.3 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.2 + core: 2.85.3 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.1 + version: 0.41.2 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index a38d06f..8256588 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.1", + version="0.41.2", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index b3865b3..842e9de 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.1' - gen_version: str = '2.93.0' + sdk_version: str = '0.41.2' + gen_version: str = '2.96.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index ea9792d..c91b0c0 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -112,7 +112,8 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, client.client.headers[header_name] = value elif scheme_type == 'http': if sub_type == 'bearer': - client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}' + client.client.headers[header_name] = value.lower().startswith( + 'bearer ') and value or f'Bearer {value}' else: raise Exception('not supported') else: @@ -235,7 +236,7 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: + str, list[str]]: params: dict[str, list[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) @@ -377,7 +378,7 @@ def _get_query_param_field_name(obj_field: Field) -> str: def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: + str, list[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -391,9 +392,9 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ - str, any, any]: + str, any, any]: if request is None: - return None, None, None, None + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], @@ -486,7 +487,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: + str, list[str]]: if existing is None: existing = [] @@ -604,7 +605,8 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [delimiter.join([str(item) for item in items])] + params[field_name] = [delimiter.join( + [str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] @@ -681,7 +683,8 @@ def unmarshal_json(data, typ): try: out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: - raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err + raise AttributeError( + f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 07ddde098dfa7b7fa1e194e81a9b73c6c3b02620 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 12 Sep 2023 00:05:50 +0000 Subject: [PATCH 32/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.82.5 --- RELEASES.md | 12 ++++++- docs/models/shared/createlinktokenresponse.md | 2 -- docs/models/shared/namespaces.md | 2 -- docs/sdks/customerdata/README.md | 16 ++------- docs/sdks/object/README.md | 6 +--- docs/sdks/source/README.md | 2 +- docs/sdks/sync/README.md | 12 ------- gen.yaml | 8 ++--- setup.py | 2 +- .../models/shared/createlinktokenresponse.py | 1 - src/fabra/models/shared/namespaces.py | 1 - src/fabra/sdk.py | 9 +++-- src/fabra/sdkconfiguration.py | 7 ++-- src/fabra/utils/utils.py | 33 ++++++++++++++++++- 14 files changed, 63 insertions(+), 50 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 89b6027..eaa798c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -620,4 +620,14 @@ Based on: ### Generated - [python v0.41.2] . ### Releases -- [PyPI v0.41.2] https://pypi.org/project/fabra/0.41.2 - . \ No newline at end of file +- [PyPI v0.41.2] https://pypi.org/project/fabra/0.41.2 - . + +## 2023-09-12 00:05:33 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.3] . +### Releases +- [PyPI v0.41.3] https://pypi.org/project/fabra/0.41.3 - . \ No newline at end of file diff --git a/docs/models/shared/createlinktokenresponse.md b/docs/models/shared/createlinktokenresponse.md index 21bb022..8e63ad9 100755 --- a/docs/models/shared/createlinktokenresponse.md +++ b/docs/models/shared/createlinktokenresponse.md @@ -1,7 +1,5 @@ # CreateLinkTokenResponse -Successfully created link token - ## Fields diff --git a/docs/models/shared/namespaces.md b/docs/models/shared/namespaces.md index a84026c..5338833 100755 --- a/docs/models/shared/namespaces.md +++ b/docs/models/shared/namespaces.md @@ -1,7 +1,5 @@ # Namespaces -Successfully fetched namespaces - ## Fields diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index f48e827..5ad8b00 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -27,22 +27,10 @@ req = operations.QueryObjectRequest( field_name='user_id', field_value='2', ), - shared.QueryFilter( - field_name='user_id', - field_value='2', - ), - shared.QueryFilter( - field_name='user_id', - field_value='2', - ), - shared.QueryFilter( - field_name='user_id', - field_value='2', - ), ], ), - end_customer_id='vel', - object_id=623564, + end_customer_id='illum', + object_id=423655, ) res = s.customer_data.query_object(req) diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index 2a6eec3..b79aedc 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -31,17 +31,13 @@ req = shared.ObjectInput( display_name='BigQuery', end_customer_id_field='end_customer_id', frequency=30, - frequency_units=shared.FrequencyUnits.HOURS, + frequency_units=shared.FrequencyUnits.DAYS, namespace='bigquery_dataset', object_fields=[ shared.ObjectField( name='event_name', type=shared.FieldType.INTEGER, ), - shared.ObjectField( - name='event_name', - type=shared.FieldType.BOOLEAN, - ), ], primary_key='event_id', table_name='events', diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 77efae4..7bbda09 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -30,7 +30,7 @@ req = shared.SourceInput( credentials='Paste JSON from GCP', location='us-west1', ), - connection_type=shared.ConnectionType.SNOWFLAKE, + connection_type=shared.ConnectionType.REDSHIFT, display_name='Frontend Events', end_customer_id='abcd-1234-efgh-5678', mongodb_config=shared.MongoDbConfig( diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index e660a08..6deedf0 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -36,18 +36,6 @@ req = shared.SyncInput( destination_field_name='event', source_field_name='event_name', ), - shared.FieldMapping( - destination_field_name='event', - source_field_name='event_name', - ), - shared.FieldMapping( - destination_field_name='event', - source_field_name='event_name', - ), - shared.FieldMapping( - destination_field_name='event', - source_field_name='event_name', - ), ], frequency=30, frequency_units=shared.FrequencyUnits.HOURS, diff --git a/gen.yaml b/gen.yaml index e778fab..e3f4feb 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.78.3 - generationVersion: 2.96.3 + speakeasyVersion: 1.82.5 + generationVersion: 2.108.3 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.3 + core: 2.85.4 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.2 + version: 0.41.3 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 8256588..af57385 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.2", + version="0.41.3", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/models/shared/createlinktokenresponse.py b/src/fabra/models/shared/createlinktokenresponse.py index 0dfeedf..7c720ac 100755 --- a/src/fabra/models/shared/createlinktokenresponse.py +++ b/src/fabra/models/shared/createlinktokenresponse.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class CreateLinkTokenResponse: - r"""Successfully created link token""" link_token: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('link_token'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/namespaces.py b/src/fabra/models/shared/namespaces.py index 020c341..e0403ce 100755 --- a/src/fabra/models/shared/namespaces.py +++ b/src/fabra/models/shared/namespaces.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class Namespaces: - r"""Successfully fetched namespaces""" namespaces: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('namespaces'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py index 24343a7..aa8fa22 100755 --- a/src/fabra/sdk.py +++ b/src/fabra/sdk.py @@ -34,7 +34,8 @@ def __init__(self, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, - client: requests_http.Session = None + client: requests_http.Session = None, + retry_config: utils.RetryConfig = None ) -> None: """Instantiates the SDK configuring it with the provided parameters. @@ -47,7 +48,9 @@ def __init__(self, :param url_params: Parameters to optionally template the server URL with :type url_params: dict[str, str] :param client: The requests.Session HTTP client to use for all operations - :type client: requests_http.Session + :type client: requests_http.Session + :param retry_config: The utils.RetryConfig to use globally + :type retry_config: utils.RetryConfig """ if client is None: client = requests_http.Session() @@ -58,7 +61,7 @@ def __init__(self, if url_params is not None: server_url = utils.template_url(server_url, url_params) - self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx) + self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx, retry_config=retry_config) self._init_sdks() diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 842e9de..dd436e4 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -3,6 +3,8 @@ import requests from dataclasses import dataclass +from .utils.retries import RetryConfig + SERVERS = [ 'https://api.fabra.io', @@ -17,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.2' - gen_version: str = '2.96.3' + sdk_version: str = '0.41.3' + gen_version: str = '2.108.3' + retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index c91b0c0..05eafba 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -5,6 +5,7 @@ import re from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime +from decimal import Decimal from email.message import Message from enum import Enum from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin @@ -193,7 +194,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass f"{pp_key},{_val_to_string(param[pp_key])}") path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif not isinstance(param, (str, int, float, complex, bool)): + elif not isinstance(param, (str, int, float, complex, bool, Decimal)): pp_vals: list[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: @@ -737,6 +738,36 @@ def datefromisoformat(date_str: str): return dateutil.parser.parse(date_str).date() +def bigintencoder(optional: bool): + def bigintencode(val: int): + if optional and val is None: + return None + return str(val) + + return bigintencode + + +def bigintdecoder(val): + return int(val) + + +def decimalencoder(optional: bool, as_str: bool): + def decimalencode(val: Decimal): + if optional and val is None: + return None + + if as_str: + return str(val) + + return float(val) + + return decimalencode + + +def decimaldecoder(val): + return Decimal(str(val)) + + def get_field_name(name): def override(_, _field_name=name): return _field_name From f2f5840de7d36c0c7778a6d3bee852ee47e266f2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 16 Sep 2023 00:05:26 +0000 Subject: [PATCH 33/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.86.0 --- README.md | 14 +++++++------- RELEASES.md | 12 +++++++++++- docs/sdks/connection/README.md | 2 +- docs/sdks/customerdata/README.md | 2 +- docs/sdks/destination/README.md | 2 +- docs/sdks/linktoken/README.md | 2 +- docs/sdks/object/README.md | 2 +- docs/sdks/source/README.md | 2 +- docs/sdks/sync/README.md | 2 +- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 12 files changed, 32 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index de3dfd0..f4f8633 100755 --- a/README.md +++ b/README.md @@ -43,36 +43,36 @@ if res.namespaces is not None: ## Available Resources and Operations -### [connection](docs/sdks/connection/README.md) +### [Connection](docs/sdks/connection/README.md) * [get_namespaces](docs/sdks/connection/README.md#get_namespaces) - Get all namespaces * [get_schema](docs/sdks/connection/README.md#get_schema) - Get schema for table * [get_tables](docs/sdks/connection/README.md#get_tables) - Get all tables -### [customer_data](docs/sdks/customerdata/README.md) +### [CustomerData](docs/sdks/customerdata/README.md) * [query_object](docs/sdks/customerdata/README.md#query_object) - Query object record for customer -### [destination](docs/sdks/destination/README.md) +### [Destination](docs/sdks/destination/README.md) * [create_destination](docs/sdks/destination/README.md#create_destination) - Create a new destination * [get_destinations](docs/sdks/destination/README.md#get_destinations) - Get all destinations -### [link_token](docs/sdks/linktoken/README.md) +### [LinkToken](docs/sdks/linktoken/README.md) * [create_link_token](docs/sdks/linktoken/README.md#create_link_token) - Create a new link token -### [object](docs/sdks/object/README.md) +### [Object](docs/sdks/object/README.md) * [create_object](docs/sdks/object/README.md#create_object) - Create a new object * [get_objects](docs/sdks/object/README.md#get_objects) - Get all objects -### [source](docs/sdks/source/README.md) +### [Source](docs/sdks/source/README.md) * [create_source](docs/sdks/source/README.md#create_source) - Create a new source * [get_sources](docs/sdks/source/README.md#get_sources) - Get all sources -### [sync](docs/sdks/sync/README.md) +### [Sync](docs/sdks/sync/README.md) * [create_sync](docs/sdks/sync/README.md#create_sync) - Create a new sync * [get_syncs](docs/sdks/sync/README.md#get_syncs) - Get all syncs diff --git a/RELEASES.md b/RELEASES.md index eaa798c..aafdc49 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -630,4 +630,14 @@ Based on: ### Generated - [python v0.41.3] . ### Releases -- [PyPI v0.41.3] https://pypi.org/project/fabra/0.41.3 - . \ No newline at end of file +- [PyPI v0.41.3] https://pypi.org/project/fabra/0.41.3 - . + +## 2023-09-16 00:05:12 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.4] . +### Releases +- [PyPI v0.41.4] https://pypi.org/project/fabra/0.41.4 - . \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index a390154..c5ef5e9 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -1,4 +1,4 @@ -# connection +# Connection ## Overview diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index 5ad8b00..a812a7f 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -1,4 +1,4 @@ -# customer_data +# CustomerData ### Available Operations diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md index cc0a7ca..b0f0f77 100755 --- a/docs/sdks/destination/README.md +++ b/docs/sdks/destination/README.md @@ -1,4 +1,4 @@ -# destination +# Destination ## Overview diff --git a/docs/sdks/linktoken/README.md b/docs/sdks/linktoken/README.md index 17a41cb..58cb8ff 100755 --- a/docs/sdks/linktoken/README.md +++ b/docs/sdks/linktoken/README.md @@ -1,4 +1,4 @@ -# link_token +# LinkToken ## Overview diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index b79aedc..f29d412 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -1,4 +1,4 @@ -# object +# Object ## Overview diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 7bbda09..3a22bf6 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -1,4 +1,4 @@ -# source +# Source ## Overview diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 6deedf0..88dc910 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -1,4 +1,4 @@ -# sync +# Sync ## Overview diff --git a/gen.yaml b/gen.yaml index e3f4feb..ba24998 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.82.5 - generationVersion: 2.108.3 + speakeasyVersion: 1.86.0 + generationVersion: 2.115.2 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.4 + core: 2.85.5 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.3 + version: 0.41.4 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index af57385..ea3e9a0 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.3", + version="0.41.4", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index dd436e4..8654442 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.3' - gen_version: str = '2.108.3' + sdk_version: str = '0.41.4' + gen_version: str = '2.115.2' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 21643b0ffa1168cf0efd7dec7e5f9a84d2e03236 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 20 Sep 2023 00:05:44 +0000 Subject: [PATCH 34/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.88.0 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index aafdc49..230117f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -640,4 +640,14 @@ Based on: ### Generated - [python v0.41.4] . ### Releases -- [PyPI v0.41.4] https://pypi.org/project/fabra/0.41.4 - . \ No newline at end of file +- [PyPI v0.41.4] https://pypi.org/project/fabra/0.41.4 - . + +## 2023-09-20 00:05:31 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.41.5] . +### Releases +- [PyPI v0.41.5] https://pypi.org/project/fabra/0.41.5 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index ba24998..cab32e2 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.86.0 - generationVersion: 2.115.2 + speakeasyVersion: 1.88.0 + generationVersion: 2.118.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.5 + core: 2.85.6 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.4 + version: 0.41.5 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index ea3e9a0..cb87fb9 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.4", + version="0.41.5", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 8654442..d38ae37 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.4' - gen_version: str = '2.115.2' + sdk_version: str = '0.41.5' + gen_version: str = '2.118.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 220444db3223ca9fa2dd7168e1b4b6a55daa012a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 26 Sep 2023 00:05:41 +0000 Subject: [PATCH 35/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.91.0 --- README.md | 30 +++++++++++++++++-- RELEASES.md | 12 +++++++- .../operations/createdestinationresponse.md | 6 ++-- .../operations/createlinktokenresponse.md | 6 ++-- .../models/operations/createobjectresponse.md | 6 ++-- .../models/operations/createsourceresponse.md | 6 ++-- docs/models/operations/createsyncresponse.md | 6 ++-- .../operations/getdestinationsresponse.md | 6 ++-- .../operations/getnamespacesresponse.md | 6 ++-- docs/models/operations/getobjectsresponse.md | 6 ++-- docs/models/operations/getschemaresponse.md | 6 ++-- docs/models/operations/getsourcesresponse.md | 6 ++-- docs/models/operations/getsyncsresponse.md | 6 ++-- docs/models/operations/gettablesresponse.md | 6 ++-- docs/models/operations/queryobjectresponse.md | 6 ++-- docs/sdks/connection/README.md | 12 ++++---- docs/sdks/customerdata/README.md | 4 +-- docs/sdks/object/README.md | 4 +-- docs/sdks/source/README.md | 2 +- docs/sdks/sync/README.md | 2 +- files.gen | 16 +++++----- gen.yaml | 8 ++--- setup.py | 2 +- .../models/operations/create_destination.py | 3 ++ .../models/operations/create_link_token.py | 3 ++ src/fabra/models/operations/create_object.py | 3 ++ src/fabra/models/operations/create_source.py | 3 ++ src/fabra/models/operations/create_sync.py | 3 ++ .../models/operations/get_destinations.py | 3 ++ src/fabra/models/operations/get_namespaces.py | 3 ++ src/fabra/models/operations/get_objects.py | 3 ++ src/fabra/models/operations/get_schema.py | 3 ++ src/fabra/models/operations/get_sources.py | 3 ++ src/fabra/models/operations/get_syncs.py | 3 ++ src/fabra/models/operations/get_tables.py | 3 ++ src/fabra/models/operations/query_object.py | 3 ++ src/fabra/sdkconfiguration.py | 4 +-- 37 files changed, 143 insertions(+), 70 deletions(-) diff --git a/README.md b/README.md index f4f8633..fa94e03 100755 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ pip install fabra ## SDK Example Usage - - ```python import fabra from fabra.models import operations, shared @@ -29,7 +27,7 @@ s = fabra.Fabra( ) req = operations.GetNamespacesRequest( - connection_id=548814, + connection_id=592845, ) res = s.connection.get_namespaces(req) @@ -78,4 +76,30 @@ if res.namespaces is not None: * [get_syncs](docs/sdks/sync/README.md#get_syncs) - Get all syncs + + + + + + + + + + + +# Pagination + +Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the +returned response object will have a `Next` method that can be called to pull down the next group of results. If the +return value of `Next` is `None`, then there are no more pages to be fetched. + +Here's an example of one such pagination call: + + + + + + + + ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/RELEASES.md b/RELEASES.md index 230117f..c05d7c3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -650,4 +650,14 @@ Based on: ### Generated - [python v0.41.5] . ### Releases -- [PyPI v0.41.5] https://pypi.org/project/fabra/0.41.5 - . \ No newline at end of file +- [PyPI v0.41.5] https://pypi.org/project/fabra/0.41.5 - . + +## 2023-09-26 00:05:27 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.42.0] . +### Releases +- [PyPI v0.42.0] https://pypi.org/project/fabra/0.42.0 - . \ No newline at end of file diff --git a/docs/models/operations/createdestinationresponse.md b/docs/models/operations/createdestinationresponse.md index f6c8184..84f2f08 100755 --- a/docs/models/operations/createdestinationresponse.md +++ b/docs/models/operations/createdestinationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `create_destination_200_application_json_object` | [Optional[CreateDestination200ApplicationJSON]](../../models/operations/createdestination200applicationjson.md) | :heavy_minus_sign: | Successfully created destination | \ No newline at end of file diff --git a/docs/models/operations/createlinktokenresponse.md b/docs/models/operations/createlinktokenresponse.md index bfd6830..8e4b76a 100755 --- a/docs/models/operations/createlinktokenresponse.md +++ b/docs/models/operations/createlinktokenresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `create_link_token_response` | [Optional[shared.CreateLinkTokenResponse]](../../models/shared/createlinktokenresponse.md) | :heavy_minus_sign: | Successfully created link token | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/createobjectresponse.md b/docs/models/operations/createobjectresponse.md index 7b5c28b..99861fa 100755 --- a/docs/models/operations/createobjectresponse.md +++ b/docs/models/operations/createobjectresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `create_object_200_application_json_object` | [Optional[CreateObject200ApplicationJSON]](../../models/operations/createobject200applicationjson.md) | :heavy_minus_sign: | Successfully created object | \ No newline at end of file diff --git a/docs/models/operations/createsourceresponse.md b/docs/models/operations/createsourceresponse.md index 7472968..03ee581 100755 --- a/docs/models/operations/createsourceresponse.md +++ b/docs/models/operations/createsourceresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `create_source_200_application_json_object` | [Optional[CreateSource200ApplicationJSON]](../../models/operations/createsource200applicationjson.md) | :heavy_minus_sign: | Successfully created source | \ No newline at end of file diff --git a/docs/models/operations/createsyncresponse.md b/docs/models/operations/createsyncresponse.md index 3fde2b3..b3c7946 100755 --- a/docs/models/operations/createsyncresponse.md +++ b/docs/models/operations/createsyncresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `create_sync_200_application_json_object` | [Optional[CreateSync200ApplicationJSON]](../../models/operations/createsync200applicationjson.md) | :heavy_minus_sign: | Successfully created sync | \ No newline at end of file diff --git a/docs/models/operations/getdestinationsresponse.md b/docs/models/operations/getdestinationsresponse.md index 09187b7..6dff356 100755 --- a/docs/models/operations/getdestinationsresponse.md +++ b/docs/models/operations/getdestinationsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_destinations_200_application_json_object` | [Optional[GetDestinations200ApplicationJSON]](../../models/operations/getdestinations200applicationjson.md) | :heavy_minus_sign: | Successfully fetched destinations | \ No newline at end of file diff --git a/docs/models/operations/getnamespacesresponse.md b/docs/models/operations/getnamespacesresponse.md index 4969242..99ab01e 100755 --- a/docs/models/operations/getnamespacesresponse.md +++ b/docs/models/operations/getnamespacesresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `namespaces` | [Optional[shared.Namespaces]](../../models/shared/namespaces.md) | :heavy_minus_sign: | Successfully fetched namespaces | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/getobjectsresponse.md b/docs/models/operations/getobjectsresponse.md index 01e381d..41e7300 100755 --- a/docs/models/operations/getobjectsresponse.md +++ b/docs/models/operations/getobjectsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_objects_200_application_json_object` | [Optional[GetObjects200ApplicationJSON]](../../models/operations/getobjects200applicationjson.md) | :heavy_minus_sign: | Successfully fetched objects | \ No newline at end of file diff --git a/docs/models/operations/getschemaresponse.md b/docs/models/operations/getschemaresponse.md index 2328b47..b034d6f 100755 --- a/docs/models/operations/getschemaresponse.md +++ b/docs/models/operations/getschemaresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_schema_200_application_json_object` | [Optional[GetSchema200ApplicationJSON]](../../models/operations/getschema200applicationjson.md) | :heavy_minus_sign: | Successfully fetched schema | \ No newline at end of file diff --git a/docs/models/operations/getsourcesresponse.md b/docs/models/operations/getsourcesresponse.md index 928903a..79cee5d 100755 --- a/docs/models/operations/getsourcesresponse.md +++ b/docs/models/operations/getsourcesresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_sources_200_application_json_object` | [Optional[GetSources200ApplicationJSON]](../../models/operations/getsources200applicationjson.md) | :heavy_minus_sign: | Successfully fetched sources | \ No newline at end of file diff --git a/docs/models/operations/getsyncsresponse.md b/docs/models/operations/getsyncsresponse.md index 0a930ba..bd2e189 100755 --- a/docs/models/operations/getsyncsresponse.md +++ b/docs/models/operations/getsyncsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_syncs_200_application_json_object` | [Optional[GetSyncs200ApplicationJSON]](../../models/operations/getsyncs200applicationjson.md) | :heavy_minus_sign: | Successfully fetched syncs | \ No newline at end of file diff --git a/docs/models/operations/gettablesresponse.md b/docs/models/operations/gettablesresponse.md index 63aff55..cc5787e 100755 --- a/docs/models/operations/gettablesresponse.md +++ b/docs/models/operations/gettablesresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `get_tables_200_application_json_object` | [Optional[GetTables200ApplicationJSON]](../../models/operations/gettables200applicationjson.md) | :heavy_minus_sign: | Successfully fetched tables | \ No newline at end of file diff --git a/docs/models/operations/queryobjectresponse.md b/docs/models/operations/queryobjectresponse.md index bd5f4b8..3ee1f5a 100755 --- a/docs/models/operations/queryobjectresponse.md +++ b/docs/models/operations/queryobjectresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `query_object_200_application_json_object` | [Optional[QueryObject200ApplicationJSON]](../../models/operations/queryobject200applicationjson.md) | :heavy_minus_sign: | The response payload will match the schema you defined when creating the object | \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index c5ef5e9..09974f0 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -27,7 +27,7 @@ s = fabra.Fabra( ) req = operations.GetNamespacesRequest( - connection_id=592845, + connection_id=715190, ) res = s.connection.get_namespaces(req) @@ -65,9 +65,9 @@ s = fabra.Fabra( ) req = operations.GetSchemaRequest( - connection_id=715190, - namespace='quibusdam', - table_name='unde', + connection_id=844266, + namespace='unde', + table_name='nulla', ) res = s.connection.get_schema(req) @@ -105,8 +105,8 @@ s = fabra.Fabra( ) req = operations.GetTablesRequest( - connection_id=857946, - namespace='corrupti', + connection_id=544883, + namespace='illum', ) res = s.connection.get_tables(req) diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index a812a7f..0f5cc13 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -29,8 +29,8 @@ req = operations.QueryObjectRequest( ), ], ), - end_customer_id='illum', - object_id=423655, + end_customer_id='vel', + object_id=623564, ) res = s.customer_data.query_object(req) diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index f29d412..94427b5 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -31,12 +31,12 @@ req = shared.ObjectInput( display_name='BigQuery', end_customer_id_field='end_customer_id', frequency=30, - frequency_units=shared.FrequencyUnits.DAYS, + frequency_units=shared.FrequencyUnits.HOURS, namespace='bigquery_dataset', object_fields=[ shared.ObjectField( name='event_name', - type=shared.FieldType.INTEGER, + type=shared.FieldType.TIMESTAMP, ), ], primary_key='event_id', diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 3a22bf6..28c1eb3 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -30,7 +30,7 @@ req = shared.SourceInput( credentials='Paste JSON from GCP', location='us-west1', ), - connection_type=shared.ConnectionType.REDSHIFT, + connection_type=shared.ConnectionType.BIGQUERY, display_name='Frontend Events', end_customer_id='abcd-1234-efgh-5678', mongodb_config=shared.MongoDbConfig( diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 88dc910..551713a 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -38,7 +38,7 @@ req = shared.SyncInput( ), ], frequency=30, - frequency_units=shared.FrequencyUnits.HOURS, + frequency_units=shared.FrequencyUnits.WEEKS, namespace='end_customer_bigquery_dataset', object_id=3, primary_key='event_id', diff --git a/files.gen b/files.gen index 0f7a658..2303c80 100755 --- a/files.gen +++ b/files.gen @@ -55,14 +55,6 @@ src/fabra/models/shared/syncinput.py src/fabra/models/shared/security.py src/fabra/models/shared/__init__.py src/fabra/models/errors/__init__.py -docs/sdks/fabra/README.md -docs/sdks/connection/README.md -docs/sdks/customerdata/README.md -docs/sdks/destination/README.md -docs/sdks/linktoken/README.md -docs/sdks/object/README.md -docs/sdks/source/README.md -docs/sdks/sync/README.md USAGE.md docs/models/operations/getnamespacesrequest.md docs/models/operations/getnamespacesresponse.md @@ -118,4 +110,12 @@ docs/models/shared/sync.md docs/models/shared/fieldmapping.md docs/models/shared/syncinput.md docs/models/shared/security.md +docs/sdks/fabra/README.md +docs/sdks/connection/README.md +docs/sdks/customerdata/README.md +docs/sdks/destination/README.md +docs/sdks/linktoken/README.md +docs/sdks/object/README.md +docs/sdks/source/README.md +docs/sdks/sync/README.md .gitattributes \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index cab32e2..9860517 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.88.0 - generationVersion: 2.118.1 + speakeasyVersion: 1.91.0 + generationVersion: 2.129.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.85.6 + core: 2.86.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.41.5 + version: 0.42.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index cb87fb9..716bb4a 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.41.5", + version="0.42.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/models/operations/create_destination.py b/src/fabra/models/operations/create_destination.py index 5399c44..45b7d09 100755 --- a/src/fabra/models/operations/create_destination.py +++ b/src/fabra/models/operations/create_destination.py @@ -23,9 +23,12 @@ class CreateDestination200ApplicationJSON: @dataclasses.dataclass class CreateDestinationResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" create_destination_200_application_json_object: Optional[CreateDestination200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully created destination""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/create_link_token.py b/src/fabra/models/operations/create_link_token.py index 75b8ee2..c9c46aa 100755 --- a/src/fabra/models/operations/create_link_token.py +++ b/src/fabra/models/operations/create_link_token.py @@ -11,9 +11,12 @@ @dataclasses.dataclass class CreateLinkTokenResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" create_link_token_response: Optional[shared_createlinktokenresponse.CreateLinkTokenResponse] = dataclasses.field(default=None) r"""Successfully created link token""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/create_object.py b/src/fabra/models/operations/create_object.py index 6cf0dc0..66186d0 100755 --- a/src/fabra/models/operations/create_object.py +++ b/src/fabra/models/operations/create_object.py @@ -23,9 +23,12 @@ class CreateObject200ApplicationJSON: @dataclasses.dataclass class CreateObjectResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" create_object_200_application_json_object: Optional[CreateObject200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully created object""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/create_source.py b/src/fabra/models/operations/create_source.py index 3013645..19367ae 100755 --- a/src/fabra/models/operations/create_source.py +++ b/src/fabra/models/operations/create_source.py @@ -23,9 +23,12 @@ class CreateSource200ApplicationJSON: @dataclasses.dataclass class CreateSourceResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" create_source_200_application_json_object: Optional[CreateSource200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully created source""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/create_sync.py b/src/fabra/models/operations/create_sync.py index f71d5a1..a1fb1c6 100755 --- a/src/fabra/models/operations/create_sync.py +++ b/src/fabra/models/operations/create_sync.py @@ -23,9 +23,12 @@ class CreateSync200ApplicationJSON: @dataclasses.dataclass class CreateSyncResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" create_sync_200_application_json_object: Optional[CreateSync200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully created sync""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_destinations.py b/src/fabra/models/operations/get_destinations.py index 0036b50..3d6c049 100755 --- a/src/fabra/models/operations/get_destinations.py +++ b/src/fabra/models/operations/get_destinations.py @@ -23,9 +23,12 @@ class GetDestinations200ApplicationJSON: @dataclasses.dataclass class GetDestinationsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_destinations_200_application_json_object: Optional[GetDestinations200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched destinations""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_namespaces.py b/src/fabra/models/operations/get_namespaces.py index 128addc..aef46b9 100755 --- a/src/fabra/models/operations/get_namespaces.py +++ b/src/fabra/models/operations/get_namespaces.py @@ -19,9 +19,12 @@ class GetNamespacesRequest: @dataclasses.dataclass class GetNamespacesResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" namespaces: Optional[shared_namespaces.Namespaces] = dataclasses.field(default=None) r"""Successfully fetched namespaces""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_objects.py b/src/fabra/models/operations/get_objects.py index 14668f2..0a2c426 100755 --- a/src/fabra/models/operations/get_objects.py +++ b/src/fabra/models/operations/get_objects.py @@ -23,9 +23,12 @@ class GetObjects200ApplicationJSON: @dataclasses.dataclass class GetObjectsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_objects_200_application_json_object: Optional[GetObjects200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched objects""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_schema.py b/src/fabra/models/operations/get_schema.py index a1e3b43..f667138 100755 --- a/src/fabra/models/operations/get_schema.py +++ b/src/fabra/models/operations/get_schema.py @@ -33,9 +33,12 @@ class GetSchema200ApplicationJSON: @dataclasses.dataclass class GetSchemaResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_schema_200_application_json_object: Optional[GetSchema200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched schema""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_sources.py b/src/fabra/models/operations/get_sources.py index 5672f1b..5d5211a 100755 --- a/src/fabra/models/operations/get_sources.py +++ b/src/fabra/models/operations/get_sources.py @@ -23,9 +23,12 @@ class GetSources200ApplicationJSON: @dataclasses.dataclass class GetSourcesResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_sources_200_application_json_object: Optional[GetSources200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched sources""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_syncs.py b/src/fabra/models/operations/get_syncs.py index 6b85c64..525486b 100755 --- a/src/fabra/models/operations/get_syncs.py +++ b/src/fabra/models/operations/get_syncs.py @@ -23,9 +23,12 @@ class GetSyncs200ApplicationJSON: @dataclasses.dataclass class GetSyncsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_syncs_200_application_json_object: Optional[GetSyncs200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched syncs""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/get_tables.py b/src/fabra/models/operations/get_tables.py index e0e396f..d822075 100755 --- a/src/fabra/models/operations/get_tables.py +++ b/src/fabra/models/operations/get_tables.py @@ -31,9 +31,12 @@ class GetTables200ApplicationJSON: @dataclasses.dataclass class GetTablesResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" get_tables_200_application_json_object: Optional[GetTables200ApplicationJSON] = dataclasses.field(default=None) r"""Successfully fetched tables""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/models/operations/query_object.py b/src/fabra/models/operations/query_object.py index c47c19a..6431160 100755 --- a/src/fabra/models/operations/query_object.py +++ b/src/fabra/models/operations/query_object.py @@ -54,9 +54,12 @@ class QueryObject200ApplicationJSON: @dataclasses.dataclass class QueryObjectResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" query_object_200_application_json_object: Optional[QueryObject200ApplicationJSON] = dataclasses.field(default=None) r"""The response payload will match the schema you defined when creating the object""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index d38ae37..1a00e3c 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.41.5' - gen_version: str = '2.118.1' + sdk_version: str = '0.42.0' + gen_version: str = '2.129.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From d9a8de92bdb0584a4d3712cbff41eee8dbddefe3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Sep 2023 00:05:57 +0000 Subject: [PATCH 36/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.91.2 --- README.md | 18 +++++++----------- RELEASES.md | 12 +++++++++++- docs/sdks/connection/README.md | 1 + docs/sdks/customerdata/README.md | 1 + docs/sdks/destination/README.md | 1 + docs/sdks/fabra/README.md | 1 + docs/sdks/linktoken/README.md | 1 + docs/sdks/object/README.md | 1 + docs/sdks/source/README.md | 1 + docs/sdks/sync/README.md | 1 + gen.yaml | 8 ++++---- setup.py | 4 ++-- src/fabra/sdkconfiguration.py | 4 ++-- src/fabra/utils/utils.py | 8 ++++++++ 14 files changed, 42 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index fa94e03..0c46bcb 100755 --- a/README.md +++ b/README.md @@ -41,36 +41,36 @@ if res.namespaces is not None: ## Available Resources and Operations -### [Connection](docs/sdks/connection/README.md) +### [connection](docs/sdks/connection/README.md) * [get_namespaces](docs/sdks/connection/README.md#get_namespaces) - Get all namespaces * [get_schema](docs/sdks/connection/README.md#get_schema) - Get schema for table * [get_tables](docs/sdks/connection/README.md#get_tables) - Get all tables -### [CustomerData](docs/sdks/customerdata/README.md) +### [customer_data](docs/sdks/customerdata/README.md) * [query_object](docs/sdks/customerdata/README.md#query_object) - Query object record for customer -### [Destination](docs/sdks/destination/README.md) +### [destination](docs/sdks/destination/README.md) * [create_destination](docs/sdks/destination/README.md#create_destination) - Create a new destination * [get_destinations](docs/sdks/destination/README.md#get_destinations) - Get all destinations -### [LinkToken](docs/sdks/linktoken/README.md) +### [link_token](docs/sdks/linktoken/README.md) * [create_link_token](docs/sdks/linktoken/README.md#create_link_token) - Create a new link token -### [Object](docs/sdks/object/README.md) +### [object](docs/sdks/object/README.md) * [create_object](docs/sdks/object/README.md#create_object) - Create a new object * [get_objects](docs/sdks/object/README.md#get_objects) - Get all objects -### [Source](docs/sdks/source/README.md) +### [source](docs/sdks/source/README.md) * [create_source](docs/sdks/source/README.md#create_source) - Create a new source * [get_sources](docs/sdks/source/README.md#get_sources) - Get all sources -### [Sync](docs/sdks/sync/README.md) +### [sync](docs/sdks/sync/README.md) * [create_sync](docs/sdks/sync/README.md#create_sync) - Create a new sync * [get_syncs](docs/sdks/sync/README.md#get_syncs) - Get all syncs @@ -80,8 +80,6 @@ if res.namespaces is not None: - - @@ -94,8 +92,6 @@ returned response object will have a `Next` method that can be called to pull do return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: - - diff --git a/RELEASES.md b/RELEASES.md index c05d7c3..d72787f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -660,4 +660,14 @@ Based on: ### Generated - [python v0.42.0] . ### Releases -- [PyPI v0.42.0] https://pypi.org/project/fabra/0.42.0 - . \ No newline at end of file +- [PyPI v0.42.0] https://pypi.org/project/fabra/0.42.0 - . + +## 2023-09-27 00:05:44 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.42.1] . +### Releases +- [PyPI v0.42.1] https://pypi.org/project/fabra/0.42.1 - . \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index 09974f0..01ece98 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -1,4 +1,5 @@ # Connection +(*connection*) ## Overview diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index 0f5cc13..01a8d57 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -1,4 +1,5 @@ # CustomerData +(*customer_data*) ### Available Operations diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md index b0f0f77..08e62e0 100755 --- a/docs/sdks/destination/README.md +++ b/docs/sdks/destination/README.md @@ -1,4 +1,5 @@ # Destination +(*destination*) ## Overview diff --git a/docs/sdks/fabra/README.md b/docs/sdks/fabra/README.md index f9253da..08b370d 100755 --- a/docs/sdks/fabra/README.md +++ b/docs/sdks/fabra/README.md @@ -1,5 +1,6 @@ # Fabra SDK + ## Overview ### Available Operations diff --git a/docs/sdks/linktoken/README.md b/docs/sdks/linktoken/README.md index 58cb8ff..355aa79 100755 --- a/docs/sdks/linktoken/README.md +++ b/docs/sdks/linktoken/README.md @@ -1,4 +1,5 @@ # LinkToken +(*link_token*) ## Overview diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index 94427b5..2e167a0 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -1,4 +1,5 @@ # Object +(*object*) ## Overview diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 28c1eb3..ef17b4e 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -1,4 +1,5 @@ # Source +(*source*) ## Overview diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 551713a..ff62db8 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -1,4 +1,5 @@ # Sync +(*sync*) ## Overview diff --git a/gen.yaml b/gen.yaml index 9860517..459d6a0 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.91.0 - generationVersion: 2.129.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.86.0 + core: 2.86.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.42.0 + version: 0.42.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 716bb4a..41dbf7b 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.42.0", + version="0.42.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json>=0.5.12", + "dataclasses-json>=0.6.1", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 1a00e3c..2bf2833 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.42.0' - gen_version: str = '2.129.1' + sdk_version: str = '0.42.1' + gen_version: str = '2.131.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index 05eafba..b0aeb54 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +import sys import base64 import json import re @@ -796,3 +797,10 @@ def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: d value = global_value return value + + +def decoder_with_discriminator(field_name): + def decode_fx(obj): + kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) + return unmarshal_json(json.dumps(obj), kls) + return decode_fx From e0f3927ce1143b0a1730ebd2869adf8099054db1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 29 Sep 2023 00:05:50 +0000 Subject: [PATCH 37/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.91.3 --- README.md | 2 +- RELEASES.md | 12 ++- USAGE.md | 2 +- .../createdestination200applicationjson.md | 6 +- .../operations/createdestinationresponse.md | 12 +-- .../operations/createlinktokenresponse.md | 12 +-- .../createobject200applicationjson.md | 6 +- .../models/operations/createobjectresponse.md | 12 +-- .../createsource200applicationjson.md | 6 +- .../models/operations/createsourceresponse.md | 12 +-- .../createsync200applicationjson.md | 6 +- docs/models/operations/createsyncresponse.md | 12 +-- .../getdestinations200applicationjson.md | 6 +- .../operations/getdestinationsresponse.md | 12 +-- .../models/operations/getnamespacesrequest.md | 2 +- .../operations/getnamespacesresponse.md | 6 +- .../getobjects200applicationjson.md | 6 +- docs/models/operations/getobjectsresponse.md | 12 +-- .../operations/getschema200applicationjson.md | 6 +- docs/models/operations/getschemarequest.md | 6 +- docs/models/operations/getschemaresponse.md | 12 +-- .../getsources200applicationjson.md | 6 +- docs/models/operations/getsourcesresponse.md | 12 +-- .../operations/getsyncs200applicationjson.md | 6 +- docs/models/operations/getsyncsresponse.md | 12 +-- docs/models/operations/gettablesrequest.md | 4 +- docs/models/operations/gettablesresponse.md | 12 +-- .../queryobject200applicationjson.md | 10 +-- docs/models/operations/queryobjectrequest.md | 10 +-- .../operations/queryobjectrequestbody.md | 6 +- docs/models/operations/queryobjectresponse.md | 12 +-- docs/models/shared/bigqueryconfig.md | 2 +- docs/models/shared/connection.md | 8 +- docs/models/shared/createlinktokenrequest.md | 2 +- docs/models/shared/destination.md | 10 +-- docs/models/shared/destinationinput.md | 16 ++-- docs/models/shared/field.md | 8 +- docs/models/shared/mongodbconfig.md | 6 +- docs/models/shared/object.md | 2 +- docs/models/shared/objectfield.md | 8 +- docs/models/shared/objectinput.md | 16 ++-- docs/models/shared/queryfilter.md | 4 +- docs/models/shared/redshiftconfig.md | 10 +-- docs/models/shared/security.md | 2 +- docs/models/shared/snowflakeconfig.md | 12 +-- docs/models/shared/source.md | 12 +-- docs/models/shared/sourceinput.md | 18 ++--- docs/models/shared/sync.md | 4 +- docs/models/shared/syncinput.md | 14 ++-- docs/sdks/connection/README.md | 12 +-- docs/sdks/customerdata/README.md | 4 +- docs/sdks/destination/README.md | 2 +- docs/sdks/object/README.md | 2 +- docs/sdks/source/README.md | 2 +- docs/sdks/sync/README.md | 2 +- gen.yaml | 8 +- pylintrc | 4 +- setup.py | 2 +- src/fabra/connection.py | 6 +- src/fabra/customer_data.py | 4 +- src/fabra/destination.py | 6 +- src/fabra/link_token.py | 4 +- src/fabra/object.py | 6 +- src/fabra/sdkconfiguration.py | 5 +- src/fabra/source.py | 6 +- src/fabra/sync.py | 6 +- src/fabra/utils/utils.py | 79 ++++++++++++++++--- 67 files changed, 321 insertions(+), 251 deletions(-) diff --git a/README.md b/README.md index 0c46bcb..b06d809 100755 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ s = fabra.Fabra( ) req = operations.GetNamespacesRequest( - connection_id=592845, + connection_id=995455, ) res = s.connection.get_namespaces(req) diff --git a/RELEASES.md b/RELEASES.md index d72787f..083a691 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -670,4 +670,14 @@ Based on: ### Generated - [python v0.42.1] . ### Releases -- [PyPI v0.42.1] https://pypi.org/project/fabra/0.42.1 - . \ No newline at end of file +- [PyPI v0.42.1] https://pypi.org/project/fabra/0.42.1 - . + +## 2023-09-29 00:05:36 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.43.0] . +### Releases +- [PyPI v0.43.0] https://pypi.org/project/fabra/0.43.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 617a663..70b015d 100755 --- a/USAGE.md +++ b/USAGE.md @@ -12,7 +12,7 @@ s = fabra.Fabra( ) req = operations.GetNamespacesRequest( - connection_id=548814, + connection_id=995455, ) res = s.connection.get_namespaces(req) diff --git a/docs/models/operations/createdestination200applicationjson.md b/docs/models/operations/createdestination200applicationjson.md index 2c2af48..3114856 100755 --- a/docs/models/operations/createdestination200applicationjson.md +++ b/docs/models/operations/createdestination200applicationjson.md @@ -5,6 +5,6 @@ Successfully created destination ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `destination` | [Optional[shared.Destination]](../../models/shared/destination.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `destination` | [Optional[shared.Destination]](undefined/models/shared/destination.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdestinationresponse.md b/docs/models/operations/createdestinationresponse.md index 84f2f08..295dee3 100755 --- a/docs/models/operations/createdestinationresponse.md +++ b/docs/models/operations/createdestinationresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_destination_200_application_json_object` | [Optional[CreateDestination200ApplicationJSON]](../../models/operations/createdestination200applicationjson.md) | :heavy_minus_sign: | Successfully created destination | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_destination_200_application_json_object` | [Optional[operations.CreateDestination200ApplicationJSON]](undefined/models/operations/createdestination200applicationjson.md) | :heavy_minus_sign: | Successfully created destination | \ No newline at end of file diff --git a/docs/models/operations/createlinktokenresponse.md b/docs/models/operations/createlinktokenresponse.md index 8e4b76a..0c38869 100755 --- a/docs/models/operations/createlinktokenresponse.md +++ b/docs/models/operations/createlinktokenresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `create_link_token_response` | [Optional[shared.CreateLinkTokenResponse]](../../models/shared/createlinktokenresponse.md) | :heavy_minus_sign: | Successfully created link token | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `create_link_token_response` | [Optional[shared.CreateLinkTokenResponse]](undefined/models/shared/createlinktokenresponse.md) | :heavy_minus_sign: | Successfully created link token | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/createobject200applicationjson.md b/docs/models/operations/createobject200applicationjson.md index bafacf5..2db4961 100755 --- a/docs/models/operations/createobject200applicationjson.md +++ b/docs/models/operations/createobject200applicationjson.md @@ -5,6 +5,6 @@ Successfully created object ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `object` | [Optional[shared.Object]](../../models/shared/object.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `object` | [Optional[shared.Object]](undefined/models/shared/object.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createobjectresponse.md b/docs/models/operations/createobjectresponse.md index 99861fa..fa5a109 100755 --- a/docs/models/operations/createobjectresponse.md +++ b/docs/models/operations/createobjectresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_object_200_application_json_object` | [Optional[CreateObject200ApplicationJSON]](../../models/operations/createobject200applicationjson.md) | :heavy_minus_sign: | Successfully created object | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_object_200_application_json_object` | [Optional[operations.CreateObject200ApplicationJSON]](undefined/models/operations/createobject200applicationjson.md) | :heavy_minus_sign: | Successfully created object | \ No newline at end of file diff --git a/docs/models/operations/createsource200applicationjson.md b/docs/models/operations/createsource200applicationjson.md index 7bb2fc3..4d4c726 100755 --- a/docs/models/operations/createsource200applicationjson.md +++ b/docs/models/operations/createsource200applicationjson.md @@ -5,6 +5,6 @@ Successfully created source ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `source` | [Optional[shared.Source]](../../models/shared/source.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `source` | [Optional[shared.Source]](undefined/models/shared/source.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createsourceresponse.md b/docs/models/operations/createsourceresponse.md index 03ee581..b8e9350 100755 --- a/docs/models/operations/createsourceresponse.md +++ b/docs/models/operations/createsourceresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_source_200_application_json_object` | [Optional[CreateSource200ApplicationJSON]](../../models/operations/createsource200applicationjson.md) | :heavy_minus_sign: | Successfully created source | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_source_200_application_json_object` | [Optional[operations.CreateSource200ApplicationJSON]](undefined/models/operations/createsource200applicationjson.md) | :heavy_minus_sign: | Successfully created source | \ No newline at end of file diff --git a/docs/models/operations/createsync200applicationjson.md b/docs/models/operations/createsync200applicationjson.md index 71ebf88..aa57df8 100755 --- a/docs/models/operations/createsync200applicationjson.md +++ b/docs/models/operations/createsync200applicationjson.md @@ -5,6 +5,6 @@ Successfully created sync ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `sync` | [Optional[shared.Sync]](../../models/shared/sync.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `sync` | [Optional[shared.Sync]](undefined/models/shared/sync.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createsyncresponse.md b/docs/models/operations/createsyncresponse.md index b3c7946..19c0fb8 100755 --- a/docs/models/operations/createsyncresponse.md +++ b/docs/models/operations/createsyncresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_sync_200_application_json_object` | [Optional[CreateSync200ApplicationJSON]](../../models/operations/createsync200applicationjson.md) | :heavy_minus_sign: | Successfully created sync | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_sync_200_application_json_object` | [Optional[operations.CreateSync200ApplicationJSON]](undefined/models/operations/createsync200applicationjson.md) | :heavy_minus_sign: | Successfully created sync | \ No newline at end of file diff --git a/docs/models/operations/getdestinations200applicationjson.md b/docs/models/operations/getdestinations200applicationjson.md index 3fc651a..46d3b3a 100755 --- a/docs/models/operations/getdestinations200applicationjson.md +++ b/docs/models/operations/getdestinations200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched destinations ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `destinations` | list[[shared.Destination](../../models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `destinations` | list[[shared.Destination](undefined/models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdestinationsresponse.md b/docs/models/operations/getdestinationsresponse.md index 6dff356..3cf39a5 100755 --- a/docs/models/operations/getdestinationsresponse.md +++ b/docs/models/operations/getdestinationsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_destinations_200_application_json_object` | [Optional[GetDestinations200ApplicationJSON]](../../models/operations/getdestinations200applicationjson.md) | :heavy_minus_sign: | Successfully fetched destinations | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_destinations_200_application_json_object` | [Optional[operations.GetDestinations200ApplicationJSON]](undefined/models/operations/getdestinations200applicationjson.md) | :heavy_minus_sign: | Successfully fetched destinations | \ No newline at end of file diff --git a/docs/models/operations/getnamespacesrequest.md b/docs/models/operations/getnamespacesrequest.md index 4d73db3..b6e0bc8 100755 --- a/docs/models/operations/getnamespacesrequest.md +++ b/docs/models/operations/getnamespacesrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnamespacesresponse.md b/docs/models/operations/getnamespacesresponse.md index 99ab01e..b878008 100755 --- a/docs/models/operations/getnamespacesresponse.md +++ b/docs/models/operations/getnamespacesresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `namespaces` | [Optional[shared.Namespaces]](../../models/shared/namespaces.md) | :heavy_minus_sign: | Successfully fetched namespaces | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `namespaces` | [Optional[shared.Namespaces]](undefined/models/shared/namespaces.md) | :heavy_minus_sign: | Successfully fetched namespaces | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/getobjects200applicationjson.md b/docs/models/operations/getobjects200applicationjson.md index 3288543..0d227ea 100755 --- a/docs/models/operations/getobjects200applicationjson.md +++ b/docs/models/operations/getobjects200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched objects ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `objects` | list[[shared.Object](../../models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `objects` | list[[shared.Object](undefined/models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getobjectsresponse.md b/docs/models/operations/getobjectsresponse.md index 41e7300..1382cac 100755 --- a/docs/models/operations/getobjectsresponse.md +++ b/docs/models/operations/getobjectsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_objects_200_application_json_object` | [Optional[GetObjects200ApplicationJSON]](../../models/operations/getobjects200applicationjson.md) | :heavy_minus_sign: | Successfully fetched objects | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_objects_200_application_json_object` | [Optional[operations.GetObjects200ApplicationJSON]](undefined/models/operations/getobjects200applicationjson.md) | :heavy_minus_sign: | Successfully fetched objects | \ No newline at end of file diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md index 7bbb97c..0f40bf8 100755 --- a/docs/models/operations/getschema200applicationjson.md +++ b/docs/models/operations/getschema200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched schema ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `schema` | list[[shared.Field](../../models/shared/field.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `schema` | list[[shared.Field](undefined/models/shared/field.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getschemarequest.md b/docs/models/operations/getschemarequest.md index b7ae5e4..2d2e68e 100755 --- a/docs/models/operations/getschemarequest.md +++ b/docs/models/operations/getschemarequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *int* | :heavy_check_mark: | N/A | -| `namespace` | *str* | :heavy_check_mark: | N/A | -| `table_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | +| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | +| `table_name` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getschemaresponse.md b/docs/models/operations/getschemaresponse.md index b034d6f..56f882a 100755 --- a/docs/models/operations/getschemaresponse.md +++ b/docs/models/operations/getschemaresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_schema_200_application_json_object` | [Optional[GetSchema200ApplicationJSON]](../../models/operations/getschema200applicationjson.md) | :heavy_minus_sign: | Successfully fetched schema | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_schema_200_application_json_object` | [Optional[operations.GetSchema200ApplicationJSON]](undefined/models/operations/getschema200applicationjson.md) | :heavy_minus_sign: | Successfully fetched schema | \ No newline at end of file diff --git a/docs/models/operations/getsources200applicationjson.md b/docs/models/operations/getsources200applicationjson.md index 2141823..5b5d9f5 100755 --- a/docs/models/operations/getsources200applicationjson.md +++ b/docs/models/operations/getsources200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched sources ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `sources` | list[[shared.Source](../../models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `sources` | list[[shared.Source](undefined/models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsourcesresponse.md b/docs/models/operations/getsourcesresponse.md index 79cee5d..fafad5b 100755 --- a/docs/models/operations/getsourcesresponse.md +++ b/docs/models/operations/getsourcesresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_sources_200_application_json_object` | [Optional[GetSources200ApplicationJSON]](../../models/operations/getsources200applicationjson.md) | :heavy_minus_sign: | Successfully fetched sources | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_sources_200_application_json_object` | [Optional[operations.GetSources200ApplicationJSON]](undefined/models/operations/getsources200applicationjson.md) | :heavy_minus_sign: | Successfully fetched sources | \ No newline at end of file diff --git a/docs/models/operations/getsyncs200applicationjson.md b/docs/models/operations/getsyncs200applicationjson.md index ec0eebc..4f78eb6 100755 --- a/docs/models/operations/getsyncs200applicationjson.md +++ b/docs/models/operations/getsyncs200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched syncs ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `syncs` | list[[shared.Sync](../../models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `syncs` | list[[shared.Sync](undefined/models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsyncsresponse.md b/docs/models/operations/getsyncsresponse.md index bd2e189..9b29d26 100755 --- a/docs/models/operations/getsyncsresponse.md +++ b/docs/models/operations/getsyncsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_syncs_200_application_json_object` | [Optional[GetSyncs200ApplicationJSON]](../../models/operations/getsyncs200applicationjson.md) | :heavy_minus_sign: | Successfully fetched syncs | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_syncs_200_application_json_object` | [Optional[operations.GetSyncs200ApplicationJSON]](undefined/models/operations/getsyncs200applicationjson.md) | :heavy_minus_sign: | Successfully fetched syncs | \ No newline at end of file diff --git a/docs/models/operations/gettablesrequest.md b/docs/models/operations/gettablesrequest.md index 3720da4..5d9c8db 100755 --- a/docs/models/operations/gettablesrequest.md +++ b/docs/models/operations/gettablesrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *int* | :heavy_check_mark: | N/A | -| `namespace` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | +| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettablesresponse.md b/docs/models/operations/gettablesresponse.md index cc5787e..0cb2ab2 100755 --- a/docs/models/operations/gettablesresponse.md +++ b/docs/models/operations/gettablesresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_tables_200_application_json_object` | [Optional[GetTables200ApplicationJSON]](../../models/operations/gettables200applicationjson.md) | :heavy_minus_sign: | Successfully fetched tables | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_tables_200_application_json_object` | [Optional[operations.GetTables200ApplicationJSON]](undefined/models/operations/gettables200applicationjson.md) | :heavy_minus_sign: | Successfully fetched tables | \ No newline at end of file diff --git a/docs/models/operations/queryobject200applicationjson.md b/docs/models/operations/queryobject200applicationjson.md index 8150833..35990b9 100755 --- a/docs/models/operations/queryobject200applicationjson.md +++ b/docs/models/operations/queryobject200applicationjson.md @@ -5,8 +5,8 @@ The response payload will match the schema you defined when creating the object ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `example_field_1` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `example_field_2` | *Optional[str]* | :heavy_minus_sign: | N/A | hello | -| `example_field_3` | [Optional[QueryObject200ApplicationJSONExampleField3]](../../models/operations/queryobject200applicationjsonexamplefield3.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `example_field_1` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `example_field_2` | *Optional[str]* | :heavy_minus_sign: | N/A | hello | +| `example_field_3` | [Optional[operations.QueryObject200ApplicationJSONExampleField3]](undefined/models/operations/queryobject200applicationjsonexamplefield3.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/queryobjectrequest.md b/docs/models/operations/queryobjectrequest.md index 87469b4..c0cc57e 100755 --- a/docs/models/operations/queryobjectrequest.md +++ b/docs/models/operations/queryobjectrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `request_body` | [Optional[QueryObjectRequestBody]](../../models/operations/queryobjectrequestbody.md) | :heavy_minus_sign: | N/A | -| `end_customer_id` | *str* | :heavy_check_mark: | N/A | -| `object_id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `request_body` | [Optional[operations.QueryObjectRequestBody]](undefined/models/operations/queryobjectrequestbody.md) | :heavy_minus_sign: | N/A | +| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `object_id` | *Optional[int]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/queryobjectrequestbody.md b/docs/models/operations/queryobjectrequestbody.md index 4f48514..f482bb6 100755 --- a/docs/models/operations/queryobjectrequestbody.md +++ b/docs/models/operations/queryobjectrequestbody.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `filters` | list[[shared.QueryFilter](../../models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `filters` | list[[shared.QueryFilter](undefined/models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/queryobjectresponse.md b/docs/models/operations/queryobjectresponse.md index 3ee1f5a..5d4e4b0 100755 --- a/docs/models/operations/queryobjectresponse.md +++ b/docs/models/operations/queryobjectresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `query_object_200_application_json_object` | [Optional[QueryObject200ApplicationJSON]](../../models/operations/queryobject200applicationjson.md) | :heavy_minus_sign: | The response payload will match the schema you defined when creating the object | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `query_object_200_application_json_object` | [Optional[operations.QueryObject200ApplicationJSON]](undefined/models/operations/queryobject200applicationjson.md) | :heavy_minus_sign: | The response payload will match the schema you defined when creating the object | \ No newline at end of file diff --git a/docs/models/shared/bigqueryconfig.md b/docs/models/shared/bigqueryconfig.md index b2df208..46c3fa0 100755 --- a/docs/models/shared/bigqueryconfig.md +++ b/docs/models/shared/bigqueryconfig.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- | | `credentials` | *Optional[str]* | :heavy_minus_sign: | N/A | Paste JSON from GCP | -| `location` | *str* | :heavy_check_mark: | N/A | us-west1 | \ No newline at end of file +| `location` | *Optional[str]* | :heavy_check_mark: | N/A | us-west1 | \ No newline at end of file diff --git a/docs/models/shared/connection.md b/docs/models/shared/connection.md index e04b426..14ad4ac 100755 --- a/docs/models/shared/connection.md +++ b/docs/models/shared/connection.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `connection_type` | [Optional[ConnectionType]](../../models/shared/connectiontype.md) | :heavy_minus_sign: | N/A | | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_minus_sign: | N/A | | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | \ No newline at end of file diff --git a/docs/models/shared/createlinktokenrequest.md b/docs/models/shared/createlinktokenrequest.md index c3c33d0..e5f43f2 100755 --- a/docs/models/shared/createlinktokenrequest.md +++ b/docs/models/shared/createlinktokenrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- | -| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | \ No newline at end of file +| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | \ No newline at end of file diff --git a/docs/models/shared/destination.md b/docs/models/shared/destination.md index f002bd6..a4f02e3 100755 --- a/docs/models/shared/destination.md +++ b/docs/models/shared/destination.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `connection` | [Optional[Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | N/A | | -| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | BigQuery | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `connection` | [Optional[shared.Connection]](undefined/models/shared/connection.md) | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | BigQuery | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file diff --git a/docs/models/shared/destinationinput.md b/docs/models/shared/destinationinput.md index bd71ba1..91dae77 100755 --- a/docs/models/shared/destinationinput.md +++ b/docs/models/shared/destinationinput.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `bigquery_config` | [Optional[BigQueryConfig]](../../models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | -| `connection_type` | [ConnectionType](../../models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | -| `display_name` | *str* | :heavy_check_mark: | N/A | BigQuery | -| `mongodb_config` | [Optional[MongoDbConfig]](../../models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | -| `redshift_config` | [Optional[RedshiftConfig]](../../models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | -| `snowflake_config` | [Optional[SnowflakeConfig]](../../models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `bigquery_config` | [Optional[shared.BigQueryConfig]](undefined/models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | +| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | +| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | BigQuery | +| `mongodb_config` | [Optional[shared.MongoDbConfig]](undefined/models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | +| `redshift_config` | [Optional[shared.RedshiftConfig]](undefined/models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | +| `snowflake_config` | [Optional[shared.SnowflakeConfig]](undefined/models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/field.md b/docs/models/shared/field.md index 2364804..416964d 100755 --- a/docs/models/shared/field.md +++ b/docs/models/shared/field.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | -| `type` | [Optional[FieldType]](../../models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | +| `type` | [Optional[shared.FieldType]](undefined/models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/mongodbconfig.md b/docs/models/shared/mongodbconfig.md index 5475018..3d51fbf 100755 --- a/docs/models/shared/mongodbconfig.md +++ b/docs/models/shared/mongodbconfig.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | | `connection_options` | *Optional[str]* | :heavy_minus_sign: | N/A | retryWrites=true&w=majority | -| `host` | *str* | :heavy_check_mark: | N/A | examplecluster.abc123.mongodb.net | -| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | -| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file +| `host` | *Optional[str]* | :heavy_check_mark: | N/A | examplecluster.abc123.mongodb.net | +| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | +| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file diff --git a/docs/models/shared/object.md b/docs/models/shared/object.md index be413fa..8282243 100755 --- a/docs/models/shared/object.md +++ b/docs/models/shared/object.md @@ -10,5 +10,5 @@ | `end_customer_id_field` | *Optional[str]* | :heavy_minus_sign: | This is where Fabra will insert the End Customer ID specified in the sync configuration | end_customer_id | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | bigquery_dataset | -| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `object_fields` | list[[shared.ObjectField](undefined/models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/objectfield.md b/docs/models/shared/objectfield.md index 5dc2b00..d3d3614 100755 --- a/docs/models/shared/objectfield.md +++ b/docs/models/shared/objectfield.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | -| `type` | [Optional[FieldType]](../../models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | +| `type` | [Optional[shared.FieldType]](undefined/models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/objectinput.md b/docs/models/shared/objectinput.md index 4c67a62..369a0f7 100755 --- a/docs/models/shared/objectinput.md +++ b/docs/models/shared/objectinput.md @@ -6,12 +6,12 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `cursor_field` | *Optional[str]* | :heavy_minus_sign: | N/A | updated_at | -| `destination_id` | *int* | :heavy_check_mark: | N/A | 2 | -| `display_name` | *str* | :heavy_check_mark: | N/A | BigQuery | -| `end_customer_id_field` | *str* | :heavy_check_mark: | This is where Fabra will insert the End Customer ID specified when creating a source. | end_customer_id | -| `frequency` | *int* | :heavy_check_mark: | N/A | 30 | -| `frequency_units` | [FrequencyUnits](../../models/shared/frequencyunits.md) | :heavy_check_mark: | N/A | | -| `namespace` | *str* | :heavy_check_mark: | N/A | bigquery_dataset | -| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `destination_id` | *Optional[int]* | :heavy_check_mark: | N/A | 2 | +| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | BigQuery | +| `end_customer_id_field` | *Optional[str]* | :heavy_check_mark: | This is where Fabra will insert the End Customer ID specified when creating a source. | end_customer_id | +| `frequency` | *Optional[int]* | :heavy_check_mark: | N/A | 30 | +| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_check_mark: | N/A | | +| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | bigquery_dataset | +| `object_fields` | list[[shared.ObjectField](undefined/models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `primary_key` | *Optional[str]* | :heavy_minus_sign: | N/A | event_id | -| `table_name` | *str* | :heavy_check_mark: | N/A | events | \ No newline at end of file +| `table_name` | *Optional[str]* | :heavy_check_mark: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/queryfilter.md b/docs/models/shared/queryfilter.md index 51c245a..a306b70 100755 --- a/docs/models/shared/queryfilter.md +++ b/docs/models/shared/queryfilter.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `field_name` | *str* | :heavy_check_mark: | N/A | user_id | -| `field_value` | *str* | :heavy_check_mark: | N/A | 2 | \ No newline at end of file +| `field_name` | *Optional[str]* | :heavy_check_mark: | N/A | user_id | +| `field_value` | *Optional[str]* | :heavy_check_mark: | N/A | 2 | \ No newline at end of file diff --git a/docs/models/shared/redshiftconfig.md b/docs/models/shared/redshiftconfig.md index 32e73a4..a76b16a 100755 --- a/docs/models/shared/redshiftconfig.md +++ b/docs/models/shared/redshiftconfig.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `database_name` | *str* | :heavy_check_mark: | N/A | your_database | -| `host` | *str* | :heavy_check_mark: | N/A | examplecluster.12345.us-west-1.redshift.amazonaws.com | -| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | -| `port` | *str* | :heavy_check_mark: | N/A | 5432 | -| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file +| `database_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_database | +| `host` | *Optional[str]* | :heavy_check_mark: | N/A | examplecluster.12345.us-west-1.redshift.amazonaws.com | +| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | +| `port` | *Optional[str]* | :heavy_check_mark: | N/A | 5432 | +| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file diff --git a/docs/models/shared/security.md b/docs/models/shared/security.md index 702fdfe..f84789e 100755 --- a/docs/models/shared/security.md +++ b/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `api_key_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `api_key_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/snowflakeconfig.md b/docs/models/shared/snowflakeconfig.md index 8f184bf..9b7b659 100755 --- a/docs/models/shared/snowflakeconfig.md +++ b/docs/models/shared/snowflakeconfig.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `database_name` | *str* | :heavy_check_mark: | N/A | your_database | -| `host` | *str* | :heavy_check_mark: | N/A | abc123.us-east4.gcp.snowflakecomputing.com | -| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | -| `role` | *str* | :heavy_check_mark: | N/A | your_role | -| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | -| `warehouse_name` | *str* | :heavy_check_mark: | N/A | your_warehouse | \ No newline at end of file +| `database_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_database | +| `host` | *Optional[str]* | :heavy_check_mark: | N/A | abc123.us-east4.gcp.snowflakecomputing.com | +| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | +| `role` | *Optional[str]* | :heavy_check_mark: | N/A | your_role | +| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | +| `warehouse_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_warehouse | \ No newline at end of file diff --git a/docs/models/shared/source.md b/docs/models/shared/source.md index bdd1528..53cd879 100755 --- a/docs/models/shared/source.md +++ b/docs/models/shared/source.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `connection` | [Optional[Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | N/A | | -| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Frontend Events | -| `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abcd-1234-efgh-5678 | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `connection` | [Optional[shared.Connection]](undefined/models/shared/connection.md) | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Frontend Events | +| `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abcd-1234-efgh-5678 | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file diff --git a/docs/models/shared/sourceinput.md b/docs/models/shared/sourceinput.md index 84650ef..a852be8 100755 --- a/docs/models/shared/sourceinput.md +++ b/docs/models/shared/sourceinput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `bigquery_config` | [Optional[BigQueryConfig]](../../models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | -| `connection_type` | [ConnectionType](../../models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | -| `display_name` | *str* | :heavy_check_mark: | N/A | Frontend Events | -| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | -| `mongodb_config` | [Optional[MongoDbConfig]](../../models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | -| `redshift_config` | [Optional[RedshiftConfig]](../../models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | -| `snowflake_config` | [Optional[SnowflakeConfig]](../../models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `bigquery_config` | [Optional[shared.BigQueryConfig]](undefined/models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | +| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | +| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | Frontend Events | +| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | +| `mongodb_config` | [Optional[shared.MongoDbConfig]](undefined/models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | +| `redshift_config` | [Optional[shared.RedshiftConfig]](undefined/models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | +| `snowflake_config` | [Optional[shared.SnowflakeConfig]](undefined/models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md index 97ab678..22e3b6e 100755 --- a/docs/models/shared/sync.md +++ b/docs/models/shared/sync.md @@ -10,9 +10,9 @@ | `destination_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 2 | | `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Event Sync | | `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abc123 | -| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | | +| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | | -| `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | +| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | | `object_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 3 | diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md index 4119cbe..0db0ca0 100755 --- a/docs/models/shared/syncinput.md +++ b/docs/models/shared/syncinput.md @@ -7,14 +7,14 @@ | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `cursor_field` | *Optional[str]* | :heavy_minus_sign: | N/A | updated_at | | `custom_join` | *Optional[str]* | :heavy_minus_sign: | N/A | select * from events join additional_properties on events.id = additional_properties.event_id; | -| `destination_id` | *int* | :heavy_check_mark: | N/A | 2 | -| `display_name` | *str* | :heavy_check_mark: | N/A | Event Sync | -| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abc123 | -| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | | +| `destination_id` | *Optional[int]* | :heavy_check_mark: | N/A | 2 | +| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | Event Sync | +| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abc123 | +| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | 30 | -| `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | +| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | -| `object_id` | *int* | :heavy_check_mark: | N/A | 3 | +| `object_id` | *Optional[int]* | :heavy_check_mark: | N/A | 3 | | `primary_key` | *Optional[str]* | :heavy_minus_sign: | N/A | event_id | -| `source_id` | *int* | :heavy_check_mark: | N/A | 1 | +| `source_id` | *Optional[int]* | :heavy_check_mark: | N/A | 1 | | `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_events | \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index 01ece98..2b57ac7 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -28,7 +28,7 @@ s = fabra.Fabra( ) req = operations.GetNamespacesRequest( - connection_id=715190, + connection_id=995455, ) res = s.connection.get_namespaces(req) @@ -66,9 +66,9 @@ s = fabra.Fabra( ) req = operations.GetSchemaRequest( - connection_id=844266, - namespace='unde', - table_name='nulla', + connection_id=367941, + namespace='Granite East project', + table_name='Orchestrator Personal Garden', ) res = s.connection.get_schema(req) @@ -106,8 +106,8 @@ s = fabra.Fabra( ) req = operations.GetTablesRequest( - connection_id=544883, - namespace='illum', + connection_id=820803, + namespace='baby Hatchback', ) res = s.connection.get_tables(req) diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index 01a8d57..faad5c0 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -30,8 +30,8 @@ req = operations.QueryObjectRequest( ), ], ), - end_customer_id='vel', - object_id=623564, + end_customer_id='transmitting sit wetly', + object_id=929726, ) res = s.customer_data.query_object(req) diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md index 08e62e0..3bd398c 100755 --- a/docs/sdks/destination/README.md +++ b/docs/sdks/destination/README.md @@ -31,7 +31,7 @@ req = shared.DestinationInput( credentials='Paste JSON from GCP', location='us-west1', ), - connection_type=shared.ConnectionType.MONGODB, + connection_type=shared.ConnectionType.SNOWFLAKE, display_name='BigQuery', mongodb_config=shared.MongoDbConfig( connection_options='retryWrites=true&w=majority', diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index 2e167a0..e930f63 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -32,7 +32,7 @@ req = shared.ObjectInput( display_name='BigQuery', end_customer_id_field='end_customer_id', frequency=30, - frequency_units=shared.FrequencyUnits.HOURS, + frequency_units=shared.FrequencyUnits.MINUTES, namespace='bigquery_dataset', object_fields=[ shared.ObjectField( diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index ef17b4e..3d80ce1 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -31,7 +31,7 @@ req = shared.SourceInput( credentials='Paste JSON from GCP', location='us-west1', ), - connection_type=shared.ConnectionType.BIGQUERY, + connection_type=shared.ConnectionType.WEBHOOK, display_name='Frontend Events', end_customer_id='abcd-1234-efgh-5678', mongodb_config=shared.MongoDbConfig( diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index ff62db8..1db7e73 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -39,7 +39,7 @@ req = shared.SyncInput( ), ], frequency=30, - frequency_units=shared.FrequencyUnits.WEEKS, + frequency_units=shared.FrequencyUnits.MINUTES, namespace='end_customer_bigquery_dataset', object_id=3, primary_key='event_id', diff --git a/gen.yaml b/gen.yaml index 459d6a0..2a5341e 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.91.2 - generationVersion: 2.131.1 + speakeasyVersion: 1.91.3 + generationVersion: 2.139.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.86.1 + core: 2.87.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.42.1 + version: 0.43.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/pylintrc b/pylintrc index ab6495d..2a6cf69 100755 --- a/pylintrc +++ b/pylintrc @@ -116,12 +116,12 @@ argument-naming-style=snake_case #argument-rgx= # Naming style matching correct attribute names. -attr-naming-style=snake_case +#attr-naming-style=snake_case # Regular expression matching correct attribute names. Overrides attr-naming- # style. If left empty, attribute names will be checked with the set naming # style. -#attr-rgx= +attr-rgx=[^\W\d][^\W]*|__.*__$ # Bad variable names which should always be refused, separated by a comma. bad-names= diff --git a/setup.py b/setup.py index 41dbf7b..3cb3d85 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.42.1", + version="0.43.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/connection.py b/src/fabra/connection.py index 681a57d..ceb3ba6 100755 --- a/src/fabra/connection.py +++ b/src/fabra/connection.py @@ -21,7 +21,7 @@ def get_namespaces(self, request: operations.GetNamespacesRequest) -> operations headers = {} query_params = utils.get_query_params(operations.GetNamespacesRequest, request) headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -50,7 +50,7 @@ def get_schema(self, request: operations.GetSchemaRequest) -> operations.GetSche headers = {} query_params = utils.get_query_params(operations.GetSchemaRequest, request) headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -79,7 +79,7 @@ def get_tables(self, request: operations.GetTablesRequest) -> operations.GetTabl headers = {} query_params = utils.get_query_params(operations.GetTablesRequest, request) headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/customer_data.py b/src/fabra/customer_data.py index 065a7c2..3d0691b 100755 --- a/src/fabra/customer_data.py +++ b/src/fabra/customer_data.py @@ -20,11 +20,11 @@ def query_object(self, request: operations.QueryObjectRequest) -> operations.Que url = utils.generate_url(operations.QueryObjectRequest, base_url, '/customer/{endCustomerID}/object/{objectID}/record', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request_body", False, True, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/destination.py b/src/fabra/destination.py index 4ebda61..2ace525 100755 --- a/src/fabra/destination.py +++ b/src/fabra/destination.py @@ -19,13 +19,13 @@ def create_destination(self, request: shared.DestinationInput) -> operations.Cre url = base_url + '/destination' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -53,7 +53,7 @@ def get_destinations(self) -> operations.GetDestinationsResponse: url = base_url + '/destinations' headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/link_token.py b/src/fabra/link_token.py index 039bdab..2390664 100755 --- a/src/fabra/link_token.py +++ b/src/fabra/link_token.py @@ -19,13 +19,13 @@ def create_link_token(self, request: shared.CreateLinkTokenRequest) -> operation url = base_url + '/link_token' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/object.py b/src/fabra/object.py index ae42bbe..8d81dc3 100755 --- a/src/fabra/object.py +++ b/src/fabra/object.py @@ -19,13 +19,13 @@ def create_object(self, request: shared.ObjectInput) -> operations.CreateObjectR url = base_url + '/object' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -53,7 +53,7 @@ def get_objects(self) -> operations.GetObjectsResponse: url = base_url + '/objects' headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 2bf2833..bebc778 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.42.1' - gen_version: str = '2.131.1' + sdk_version: str = '0.43.0' + gen_version: str = '2.139.1' + user_agent: str = 'speakeasy-sdk/python 0.43.0 2.139.1 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/src/fabra/source.py b/src/fabra/source.py index f3bf7d1..ba18d2c 100755 --- a/src/fabra/source.py +++ b/src/fabra/source.py @@ -19,13 +19,13 @@ def create_source(self, request: shared.SourceInput) -> operations.CreateSourceR url = base_url + '/source' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -53,7 +53,7 @@ def get_sources(self) -> operations.GetSourcesResponse: url = base_url + '/sources' headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/sync.py b/src/fabra/sync.py index fda4d5e..f634121 100755 --- a/src/fabra/sync.py +++ b/src/fabra/sync.py @@ -19,13 +19,13 @@ def create_sync(self, request: shared.SyncInput) -> operations.CreateSyncRespons url = base_url + '/sync' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -53,7 +53,7 @@ def get_syncs(self) -> operations.GetSyncsResponse: url = base_url + '/syncs' headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index b0aeb54..4388f3b 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -1,9 +1,9 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import sys import base64 import json import re +import sys from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime from decimal import Decimal @@ -393,17 +393,22 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim } -def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ +def serialize_request_body(request: dataclass, request_field_name: str, nullable: bool, optional: bool, serialization_method: str, encoder=None) -> Tuple[ str, any, any]: if request is None: - return None, None, None + if not nullable and optional: + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], - request) + request, encoder) request_val = getattr(request, request_field_name) + if request_val is None: + if not nullable and optional: + return None, None, None + request_fields: Tuple[Field, ...] = fields(request) request_metadata = None @@ -419,9 +424,9 @@ def serialize_request_body(request: dataclass, request_field_name: str, serializ request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: - return media_type, marshal_json(request), None + return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: return serialize_multipart_form(media_type, request) if re.match(r'application\/x-www-form-urlencoded.*', media_type) is not None: @@ -678,7 +683,7 @@ def _serialize_header(explode: bool, obj: any) -> str: return '' -def unmarshal_json(data, typ): +def unmarshal_json(data, typ, decoder=None): unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) @@ -687,15 +692,19 @@ def unmarshal_json(data, typ): except AttributeError as attr_err: raise AttributeError( f'unable to unmarshal {data} as {typ}') from attr_err - return out.res + + return out.res if decoder is None else decoder(out.res) -def marshal_json(val): +def marshal_json(val, encoder=None): marshal = make_dataclass('Marshal', [('res', type(val))], bases=(DataClassJsonMixin,)) marshaller = marshal(res=val) json_dict = marshaller.to_dict() - return json.dumps(json_dict["res"]) + + val = json_dict["res"] if encoder is None else encoder(json_dict["res"]) + + return json.dumps(val) def match_content_type(content_type: str, pattern: str) -> boolean: @@ -769,6 +778,56 @@ def decimaldecoder(val): return Decimal(str(val)) +def map_encoder(optional: bool, value_encoder: Callable): + def map_encode(val: dict): + if optional and val is None: + return None + + encoded = {} + for key, value in val.items(): + encoded[key] = value_encoder(value) + + return encoded + + return map_encode + + +def map_decoder(value_decoder: Callable): + def map_decode(val: dict): + decoded = {} + for key, value in val.items(): + decoded[key] = value_decoder(value) + + return decoded + + return map_decode + + +def list_encoder(optional: bool, value_encoder: Callable): + def list_encode(val: list): + if optional and val is None: + return None + + encoded = [] + for value in val: + encoded.append(value_encoder(value)) + + return encoded + + return list_encode + + +def list_decoder(value_decoder: Callable): + def list_decode(val: list): + decoded = [] + for value in val: + decoded.append(value_decoder(value)) + + return decoded + + return list_decode + + def get_field_name(name): def override(_, _field_name=name): return _field_name From 2935dcd9d887a1a1ac96229fdfd985c649e1874b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 1 Oct 2023 00:06:39 +0000 Subject: [PATCH 38/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.92.2 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 6 +++--- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 083a691..e2dba18 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -680,4 +680,14 @@ Based on: ### Generated - [python v0.43.0] . ### Releases -- [PyPI v0.43.0] https://pypi.org/project/fabra/0.43.0 - . \ No newline at end of file +- [PyPI v0.43.0] https://pypi.org/project/fabra/0.43.0 - . + +## 2023-10-01 00:06:25 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.44.0] . +### Releases +- [PyPI v0.44.0] https://pypi.org/project/fabra/0.44.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 2a5341e..1430475 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.91.3 - generationVersion: 2.139.1 + speakeasyVersion: 1.92.2 + generationVersion: 2.142.2 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.87.0 + core: 2.88.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.43.0 + version: 0.44.0 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 3cb3d85..6daca0f 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.43.0", + version="0.44.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index bebc778..4b80424 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.43.0' - gen_version: str = '2.139.1' - user_agent: str = 'speakeasy-sdk/python 0.43.0 2.139.1 0.1.0 fabra' + sdk_version: str = '0.44.0' + gen_version: str = '2.142.2' + user_agent: str = 'speakeasy-sdk/python 0.44.0 2.142.2 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 0ce41750709e95f10d9e3d285c03b7c1b7cc7a0c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 2 Oct 2023 00:06:04 +0000 Subject: [PATCH 39/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.92.3 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 6 +++--- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index e2dba18..0c59887 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -690,4 +690,14 @@ Based on: ### Generated - [python v0.44.0] . ### Releases -- [PyPI v0.44.0] https://pypi.org/project/fabra/0.44.0 - . \ No newline at end of file +- [PyPI v0.44.0] https://pypi.org/project/fabra/0.44.0 - . + +## 2023-10-02 00:05:50 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.44.1] . +### Releases +- [PyPI v0.44.1] https://pypi.org/project/fabra/0.44.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 1430475..ddb673e 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.92.2 - generationVersion: 2.142.2 + speakeasyVersion: 1.92.3 + generationVersion: 2.143.2 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.88.0 + core: 2.88.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.44.0 + version: 0.44.1 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index 6daca0f..c390c01 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.44.0", + version="0.44.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 4b80424..065331b 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.44.0' - gen_version: str = '2.142.2' - user_agent: str = 'speakeasy-sdk/python 0.44.0 2.142.2 0.1.0 fabra' + sdk_version: str = '0.44.1' + gen_version: str = '2.143.2' + user_agent: str = 'speakeasy-sdk/python 0.44.1 2.143.2 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From dbf0e54e65aa7d83c24fc7765ca9956436c78a4e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 5 Oct 2023 00:05:46 +0000 Subject: [PATCH 40/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.94.0 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 6 +++--- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 0c59887..ecf74a9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -700,4 +700,14 @@ Based on: ### Generated - [python v0.44.1] . ### Releases -- [PyPI v0.44.1] https://pypi.org/project/fabra/0.44.1 - . \ No newline at end of file +- [PyPI v0.44.1] https://pypi.org/project/fabra/0.44.1 - . + +## 2023-10-05 00:05:32 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.44.2] . +### Releases +- [PyPI v0.44.2] https://pypi.org/project/fabra/0.44.2 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index ddb673e..d204bd3 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.92.3 - generationVersion: 2.143.2 + speakeasyVersion: 1.94.0 + generationVersion: 2.147.0 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.88.1 + core: 2.88.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 0.44.1 + version: 0.44.2 author: fabra description: Python Client SDK Generated by Speakeasy maxMethodParams: 0 diff --git a/setup.py b/setup.py index c390c01..fe700ca 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.44.1", + version="0.44.2", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 065331b..cdf4709 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.44.1' - gen_version: str = '2.143.2' - user_agent: str = 'speakeasy-sdk/python 0.44.1 2.143.2 0.1.0 fabra' + sdk_version: str = '0.44.2' + gen_version: str = '2.147.0' + user_agent: str = 'speakeasy-sdk/python 0.44.2 2.147.0 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 8beb6896dc068a3735dd9bd6330cdefd31b8dcc6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 7 Oct 2023 00:05:43 +0000 Subject: [PATCH 41/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.96.1 --- RELEASES.md | 12 +++++++++++- .../models/operations/getschema200applicationjson.md | 6 +++--- .../models/operations/gettables200applicationjson.md | 6 +++--- docs/models/shared/namespaces.md | 6 +++--- docs/models/shared/sync.md | 2 +- docs/models/shared/syncinput.md | 2 +- docs/sdks/object/README.md | 1 - docs/sdks/sync/README.md | 1 - gen.yaml | 11 ++++++----- setup.py | 2 +- src/fabra/models/__init__.py | 1 + src/fabra/sdk.py | 8 +++++--- src/fabra/sdkconfiguration.py | 6 +++--- 13 files changed, 38 insertions(+), 26 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index ecf74a9..35533b9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -710,4 +710,14 @@ Based on: ### Generated - [python v0.44.2] . ### Releases -- [PyPI v0.44.2] https://pypi.org/project/fabra/0.44.2 - . \ No newline at end of file +- [PyPI v0.44.2] https://pypi.org/project/fabra/0.44.2 - . + +## 2023-10-07 00:05:28 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.45.0] . +### Releases +- [PyPI v0.45.0] https://pypi.org/project/fabra/0.45.0 - . \ No newline at end of file diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md index 0f40bf8..90a5b57 100755 --- a/docs/models/operations/getschema200applicationjson.md +++ b/docs/models/operations/getschema200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched schema ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `schema` | list[[shared.Field](undefined/models/shared/field.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `schema` | list[[shared.Field](undefined/models/shared/field.md)] | :heavy_minus_sign: | N/A | [object Object],[object Object],[object Object],[object Object] | \ No newline at end of file diff --git a/docs/models/operations/gettables200applicationjson.md b/docs/models/operations/gettables200applicationjson.md index d2bb32a..7869fd7 100755 --- a/docs/models/operations/gettables200applicationjson.md +++ b/docs/models/operations/gettables200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched tables ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `tables` | list[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `tables` | list[*str*] | :heavy_minus_sign: | N/A | events,users,companies | \ No newline at end of file diff --git a/docs/models/shared/namespaces.md b/docs/models/shared/namespaces.md index 5338833..85bd513 100755 --- a/docs/models/shared/namespaces.md +++ b/docs/models/shared/namespaces.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `namespaces` | list[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `namespaces` | list[*str*] | :heavy_minus_sign: | N/A | marketing,analytics,finance | \ No newline at end of file diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md index 22e3b6e..9b7b795 100755 --- a/docs/models/shared/sync.md +++ b/docs/models/shared/sync.md @@ -10,7 +10,7 @@ | `destination_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 2 | | `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Event Sync | | `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abc123 | -| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | | +| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | | | `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md index 0db0ca0..93c2e72 100755 --- a/docs/models/shared/syncinput.md +++ b/docs/models/shared/syncinput.md @@ -10,7 +10,7 @@ | `destination_id` | *Optional[int]* | :heavy_check_mark: | N/A | 2 | | `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | Event Sync | | `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abc123 | -| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | | +| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | 30 | | `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index e930f63..e418c45 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -37,7 +37,6 @@ req = shared.ObjectInput( object_fields=[ shared.ObjectField( name='event_name', - type=shared.FieldType.TIMESTAMP, ), ], primary_key='event_id', diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 1db7e73..6d8cc90 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -39,7 +39,6 @@ req = shared.SyncInput( ), ], frequency=30, - frequency_units=shared.FrequencyUnits.MINUTES, namespace='end_customer_bigquery_dataset', object_id=3, primary_key='event_id', diff --git a/gen.yaml b/gen.yaml index d204bd3..315060f 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.94.0 - generationVersion: 2.147.0 + speakeasyVersion: 1.96.1 + generationVersion: 2.150.0 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,12 +11,13 @@ generation: telemetryEnabled: false features: python: - core: 2.88.2 - globalSecurity: 2.81.1 + core: 2.88.4 + globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 0.44.2 + version: 0.45.0 author: fabra description: Python Client SDK Generated by Speakeasy + flattenGlobalSecurity: false maxMethodParams: 0 packageName: fabra diff --git a/setup.py b/setup.py index fe700ca..1afe6f5 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.44.2", + version="0.45.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/models/__init__.py b/src/fabra/models/__init__.py index 889f8ad..36628d6 100755 --- a/src/fabra/models/__init__.py +++ b/src/fabra/models/__init__.py @@ -1,2 +1,3 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +# __init__.py diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py index aa8fa22..f6eaf3d 100755 --- a/src/fabra/sdk.py +++ b/src/fabra/sdk.py @@ -30,7 +30,7 @@ class Fabra: sdk_configuration: SDKConfiguration def __init__(self, - security: shared.Security = None, + api_key_auth: str, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -39,8 +39,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param security: The security details required for authentication - :type security: shared.Security + :param api_key_auth: The api_key_auth required for authentication + :type api_key_auth: str :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations @@ -55,8 +55,10 @@ def __init__(self, if client is None: client = requests_http.Session() + security_client = utils.configure_security_client(client, security) + if server_url is not None: if url_params is not None: server_url = utils.template_url(server_url, url_params) diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index cdf4709..9cba8c9 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.44.2' - gen_version: str = '2.147.0' - user_agent: str = 'speakeasy-sdk/python 0.44.2 2.147.0 0.1.0 fabra' + sdk_version: str = '0.45.0' + gen_version: str = '2.150.0' + user_agent: str = 'speakeasy-sdk/python 0.45.0 2.150.0 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From f09e2e65b4cb0e9785804206edc773318483463f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 13 Oct 2023 00:05:57 +0000 Subject: [PATCH 42/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.99.0 --- README.md | 1 + RELEASES.md | 12 +++++++++++- USAGE.md | 1 + .../createdestination200applicationjson.md | 6 +++--- .../operations/createdestinationresponse.md | 12 ++++++------ .../operations/createlinktokenresponse.md | 12 ++++++------ .../createobject200applicationjson.md | 6 +++--- docs/models/operations/createobjectresponse.md | 12 ++++++------ .../createsource200applicationjson.md | 6 +++--- docs/models/operations/createsourceresponse.md | 12 ++++++------ .../operations/createsync200applicationjson.md | 6 +++--- docs/models/operations/createsyncresponse.md | 12 ++++++------ .../getdestinations200applicationjson.md | 6 +++--- .../operations/getdestinationsresponse.md | 12 ++++++------ docs/models/operations/getnamespacesrequest.md | 2 +- .../models/operations/getnamespacesresponse.md | 6 +++--- .../operations/getobjects200applicationjson.md | 6 +++--- docs/models/operations/getobjectsresponse.md | 12 ++++++------ .../operations/getschema200applicationjson.md | 2 +- docs/models/operations/getschemarequest.md | 6 +++--- docs/models/operations/getschemaresponse.md | 12 ++++++------ .../operations/getsources200applicationjson.md | 6 +++--- docs/models/operations/getsourcesresponse.md | 12 ++++++------ .../operations/getsyncs200applicationjson.md | 6 +++--- docs/models/operations/getsyncsresponse.md | 12 ++++++------ docs/models/operations/gettablesrequest.md | 4 ++-- docs/models/operations/gettablesresponse.md | 12 ++++++------ .../queryobject200applicationjson.md | 10 +++++----- docs/models/operations/queryobjectrequest.md | 10 +++++----- .../operations/queryobjectrequestbody.md | 6 +++--- docs/models/operations/queryobjectresponse.md | 12 ++++++------ docs/models/shared/bigqueryconfig.md | 2 +- docs/models/shared/connection.md | 8 ++++---- docs/models/shared/createlinktokenrequest.md | 2 +- docs/models/shared/destination.md | 10 +++++----- docs/models/shared/destinationinput.md | 16 ++++++++-------- docs/models/shared/field.md | 8 ++++---- docs/models/shared/mongodbconfig.md | 6 +++--- docs/models/shared/object.md | 2 +- docs/models/shared/objectfield.md | 8 ++++---- docs/models/shared/objectinput.md | 16 ++++++++-------- docs/models/shared/queryfilter.md | 4 ++-- docs/models/shared/redshiftconfig.md | 10 +++++----- docs/models/shared/security.md | 2 +- docs/models/shared/snowflakeconfig.md | 12 ++++++------ docs/models/shared/source.md | 12 ++++++------ docs/models/shared/sourceinput.md | 18 +++++++++--------- docs/models/shared/sync.md | 4 ++-- docs/models/shared/syncinput.md | 14 +++++++------- docs/sdks/connection/README.md | 3 +++ docs/sdks/customerdata/README.md | 1 + docs/sdks/destination/README.md | 2 ++ docs/sdks/linktoken/README.md | 1 + docs/sdks/object/README.md | 2 ++ docs/sdks/source/README.md | 2 ++ docs/sdks/sync/README.md | 2 ++ gen.yaml | 8 ++++---- setup.py | 2 +- src/fabra/sdk.py | 6 +++--- src/fabra/sdkconfiguration.py | 6 +++--- 60 files changed, 233 insertions(+), 208 deletions(-) diff --git a/README.md b/README.md index b06d809..725681c 100755 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ res = s.connection.get_namespaces(req) if res.namespaces is not None: # handle response + pass ``` diff --git a/RELEASES.md b/RELEASES.md index 35533b9..495aec0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -720,4 +720,14 @@ Based on: ### Generated - [python v0.45.0] . ### Releases -- [PyPI v0.45.0] https://pypi.org/project/fabra/0.45.0 - . \ No newline at end of file +- [PyPI v0.45.0] https://pypi.org/project/fabra/0.45.0 - . + +## 2023-10-13 00:05:39 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.99.0 (2.154.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.45.1] . +### Releases +- [PyPI v0.45.1] https://pypi.org/project/fabra/0.45.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 70b015d..9d4c6bc 100755 --- a/USAGE.md +++ b/USAGE.md @@ -19,5 +19,6 @@ res = s.connection.get_namespaces(req) if res.namespaces is not None: # handle response + pass ``` \ No newline at end of file diff --git a/docs/models/operations/createdestination200applicationjson.md b/docs/models/operations/createdestination200applicationjson.md index 3114856..2c2af48 100755 --- a/docs/models/operations/createdestination200applicationjson.md +++ b/docs/models/operations/createdestination200applicationjson.md @@ -5,6 +5,6 @@ Successfully created destination ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `destination` | [Optional[shared.Destination]](undefined/models/shared/destination.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `destination` | [Optional[shared.Destination]](../../models/shared/destination.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createdestinationresponse.md b/docs/models/operations/createdestinationresponse.md index 295dee3..84f2f08 100755 --- a/docs/models/operations/createdestinationresponse.md +++ b/docs/models/operations/createdestinationresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_destination_200_application_json_object` | [Optional[operations.CreateDestination200ApplicationJSON]](undefined/models/operations/createdestination200applicationjson.md) | :heavy_minus_sign: | Successfully created destination | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_destination_200_application_json_object` | [Optional[CreateDestination200ApplicationJSON]](../../models/operations/createdestination200applicationjson.md) | :heavy_minus_sign: | Successfully created destination | \ No newline at end of file diff --git a/docs/models/operations/createlinktokenresponse.md b/docs/models/operations/createlinktokenresponse.md index 0c38869..8e4b76a 100755 --- a/docs/models/operations/createlinktokenresponse.md +++ b/docs/models/operations/createlinktokenresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `create_link_token_response` | [Optional[shared.CreateLinkTokenResponse]](undefined/models/shared/createlinktokenresponse.md) | :heavy_minus_sign: | Successfully created link token | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `create_link_token_response` | [Optional[shared.CreateLinkTokenResponse]](../../models/shared/createlinktokenresponse.md) | :heavy_minus_sign: | Successfully created link token | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/createobject200applicationjson.md b/docs/models/operations/createobject200applicationjson.md index 2db4961..bafacf5 100755 --- a/docs/models/operations/createobject200applicationjson.md +++ b/docs/models/operations/createobject200applicationjson.md @@ -5,6 +5,6 @@ Successfully created object ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `object` | [Optional[shared.Object]](undefined/models/shared/object.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `object` | [Optional[shared.Object]](../../models/shared/object.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createobjectresponse.md b/docs/models/operations/createobjectresponse.md index fa5a109..99861fa 100755 --- a/docs/models/operations/createobjectresponse.md +++ b/docs/models/operations/createobjectresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_object_200_application_json_object` | [Optional[operations.CreateObject200ApplicationJSON]](undefined/models/operations/createobject200applicationjson.md) | :heavy_minus_sign: | Successfully created object | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_object_200_application_json_object` | [Optional[CreateObject200ApplicationJSON]](../../models/operations/createobject200applicationjson.md) | :heavy_minus_sign: | Successfully created object | \ No newline at end of file diff --git a/docs/models/operations/createsource200applicationjson.md b/docs/models/operations/createsource200applicationjson.md index 4d4c726..7bb2fc3 100755 --- a/docs/models/operations/createsource200applicationjson.md +++ b/docs/models/operations/createsource200applicationjson.md @@ -5,6 +5,6 @@ Successfully created source ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `source` | [Optional[shared.Source]](undefined/models/shared/source.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `source` | [Optional[shared.Source]](../../models/shared/source.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createsourceresponse.md b/docs/models/operations/createsourceresponse.md index b8e9350..03ee581 100755 --- a/docs/models/operations/createsourceresponse.md +++ b/docs/models/operations/createsourceresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_source_200_application_json_object` | [Optional[operations.CreateSource200ApplicationJSON]](undefined/models/operations/createsource200applicationjson.md) | :heavy_minus_sign: | Successfully created source | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_source_200_application_json_object` | [Optional[CreateSource200ApplicationJSON]](../../models/operations/createsource200applicationjson.md) | :heavy_minus_sign: | Successfully created source | \ No newline at end of file diff --git a/docs/models/operations/createsync200applicationjson.md b/docs/models/operations/createsync200applicationjson.md index aa57df8..71ebf88 100755 --- a/docs/models/operations/createsync200applicationjson.md +++ b/docs/models/operations/createsync200applicationjson.md @@ -5,6 +5,6 @@ Successfully created sync ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `sync` | [Optional[shared.Sync]](undefined/models/shared/sync.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `sync` | [Optional[shared.Sync]](../../models/shared/sync.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createsyncresponse.md b/docs/models/operations/createsyncresponse.md index 19c0fb8..b3c7946 100755 --- a/docs/models/operations/createsyncresponse.md +++ b/docs/models/operations/createsyncresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `create_sync_200_application_json_object` | [Optional[operations.CreateSync200ApplicationJSON]](undefined/models/operations/createsync200applicationjson.md) | :heavy_minus_sign: | Successfully created sync | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `create_sync_200_application_json_object` | [Optional[CreateSync200ApplicationJSON]](../../models/operations/createsync200applicationjson.md) | :heavy_minus_sign: | Successfully created sync | \ No newline at end of file diff --git a/docs/models/operations/getdestinations200applicationjson.md b/docs/models/operations/getdestinations200applicationjson.md index 46d3b3a..3fc651a 100755 --- a/docs/models/operations/getdestinations200applicationjson.md +++ b/docs/models/operations/getdestinations200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched destinations ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `destinations` | list[[shared.Destination](undefined/models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `destinations` | list[[shared.Destination](../../models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdestinationsresponse.md b/docs/models/operations/getdestinationsresponse.md index 3cf39a5..6dff356 100755 --- a/docs/models/operations/getdestinationsresponse.md +++ b/docs/models/operations/getdestinationsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_destinations_200_application_json_object` | [Optional[operations.GetDestinations200ApplicationJSON]](undefined/models/operations/getdestinations200applicationjson.md) | :heavy_minus_sign: | Successfully fetched destinations | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_destinations_200_application_json_object` | [Optional[GetDestinations200ApplicationJSON]](../../models/operations/getdestinations200applicationjson.md) | :heavy_minus_sign: | Successfully fetched destinations | \ No newline at end of file diff --git a/docs/models/operations/getnamespacesrequest.md b/docs/models/operations/getnamespacesrequest.md index b6e0bc8..4d73db3 100755 --- a/docs/models/operations/getnamespacesrequest.md +++ b/docs/models/operations/getnamespacesrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnamespacesresponse.md b/docs/models/operations/getnamespacesresponse.md index b878008..99ab01e 100755 --- a/docs/models/operations/getnamespacesresponse.md +++ b/docs/models/operations/getnamespacesresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `namespaces` | [Optional[shared.Namespaces]](undefined/models/shared/namespaces.md) | :heavy_minus_sign: | Successfully fetched namespaces | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `namespaces` | [Optional[shared.Namespaces]](../../models/shared/namespaces.md) | :heavy_minus_sign: | Successfully fetched namespaces | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/getobjects200applicationjson.md b/docs/models/operations/getobjects200applicationjson.md index 0d227ea..3288543 100755 --- a/docs/models/operations/getobjects200applicationjson.md +++ b/docs/models/operations/getobjects200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched objects ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `objects` | list[[shared.Object](undefined/models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `objects` | list[[shared.Object](../../models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getobjectsresponse.md b/docs/models/operations/getobjectsresponse.md index 1382cac..41e7300 100755 --- a/docs/models/operations/getobjectsresponse.md +++ b/docs/models/operations/getobjectsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_objects_200_application_json_object` | [Optional[operations.GetObjects200ApplicationJSON]](undefined/models/operations/getobjects200applicationjson.md) | :heavy_minus_sign: | Successfully fetched objects | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_objects_200_application_json_object` | [Optional[GetObjects200ApplicationJSON]](../../models/operations/getobjects200applicationjson.md) | :heavy_minus_sign: | Successfully fetched objects | \ No newline at end of file diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md index 90a5b57..aa9a62a 100755 --- a/docs/models/operations/getschema200applicationjson.md +++ b/docs/models/operations/getschema200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched schema | Field | Type | Required | Description | Example | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `schema` | list[[shared.Field](undefined/models/shared/field.md)] | :heavy_minus_sign: | N/A | [object Object],[object Object],[object Object],[object Object] | \ No newline at end of file +| `schema` | list[[shared.Field](../../models/shared/field.md)] | :heavy_minus_sign: | N/A | [object Object],[object Object],[object Object],[object Object] | \ No newline at end of file diff --git a/docs/models/operations/getschemarequest.md b/docs/models/operations/getschemarequest.md index 2d2e68e..b7ae5e4 100755 --- a/docs/models/operations/getschemarequest.md +++ b/docs/models/operations/getschemarequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | -| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | -| `table_name` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *int* | :heavy_check_mark: | N/A | +| `namespace` | *str* | :heavy_check_mark: | N/A | +| `table_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getschemaresponse.md b/docs/models/operations/getschemaresponse.md index 56f882a..b034d6f 100755 --- a/docs/models/operations/getschemaresponse.md +++ b/docs/models/operations/getschemaresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_schema_200_application_json_object` | [Optional[operations.GetSchema200ApplicationJSON]](undefined/models/operations/getschema200applicationjson.md) | :heavy_minus_sign: | Successfully fetched schema | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_schema_200_application_json_object` | [Optional[GetSchema200ApplicationJSON]](../../models/operations/getschema200applicationjson.md) | :heavy_minus_sign: | Successfully fetched schema | \ No newline at end of file diff --git a/docs/models/operations/getsources200applicationjson.md b/docs/models/operations/getsources200applicationjson.md index 5b5d9f5..2141823 100755 --- a/docs/models/operations/getsources200applicationjson.md +++ b/docs/models/operations/getsources200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched sources ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `sources` | list[[shared.Source](undefined/models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `sources` | list[[shared.Source](../../models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsourcesresponse.md b/docs/models/operations/getsourcesresponse.md index fafad5b..79cee5d 100755 --- a/docs/models/operations/getsourcesresponse.md +++ b/docs/models/operations/getsourcesresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_sources_200_application_json_object` | [Optional[operations.GetSources200ApplicationJSON]](undefined/models/operations/getsources200applicationjson.md) | :heavy_minus_sign: | Successfully fetched sources | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_sources_200_application_json_object` | [Optional[GetSources200ApplicationJSON]](../../models/operations/getsources200applicationjson.md) | :heavy_minus_sign: | Successfully fetched sources | \ No newline at end of file diff --git a/docs/models/operations/getsyncs200applicationjson.md b/docs/models/operations/getsyncs200applicationjson.md index 4f78eb6..ec0eebc 100755 --- a/docs/models/operations/getsyncs200applicationjson.md +++ b/docs/models/operations/getsyncs200applicationjson.md @@ -5,6 +5,6 @@ Successfully fetched syncs ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `syncs` | list[[shared.Sync](undefined/models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `syncs` | list[[shared.Sync](../../models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsyncsresponse.md b/docs/models/operations/getsyncsresponse.md index 9b29d26..bd2e189 100755 --- a/docs/models/operations/getsyncsresponse.md +++ b/docs/models/operations/getsyncsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_syncs_200_application_json_object` | [Optional[operations.GetSyncs200ApplicationJSON]](undefined/models/operations/getsyncs200applicationjson.md) | :heavy_minus_sign: | Successfully fetched syncs | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_syncs_200_application_json_object` | [Optional[GetSyncs200ApplicationJSON]](../../models/operations/getsyncs200applicationjson.md) | :heavy_minus_sign: | Successfully fetched syncs | \ No newline at end of file diff --git a/docs/models/operations/gettablesrequest.md b/docs/models/operations/gettablesrequest.md index 5d9c8db..3720da4 100755 --- a/docs/models/operations/gettablesrequest.md +++ b/docs/models/operations/gettablesrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connection_id` | *Optional[int]* | :heavy_check_mark: | N/A | -| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| `connection_id` | *int* | :heavy_check_mark: | N/A | +| `namespace` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettablesresponse.md b/docs/models/operations/gettablesresponse.md index 0cb2ab2..cc5787e 100755 --- a/docs/models/operations/gettablesresponse.md +++ b/docs/models/operations/gettablesresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_tables_200_application_json_object` | [Optional[operations.GetTables200ApplicationJSON]](undefined/models/operations/gettables200applicationjson.md) | :heavy_minus_sign: | Successfully fetched tables | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_tables_200_application_json_object` | [Optional[GetTables200ApplicationJSON]](../../models/operations/gettables200applicationjson.md) | :heavy_minus_sign: | Successfully fetched tables | \ No newline at end of file diff --git a/docs/models/operations/queryobject200applicationjson.md b/docs/models/operations/queryobject200applicationjson.md index 35990b9..8150833 100755 --- a/docs/models/operations/queryobject200applicationjson.md +++ b/docs/models/operations/queryobject200applicationjson.md @@ -5,8 +5,8 @@ The response payload will match the schema you defined when creating the object ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `example_field_1` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `example_field_2` | *Optional[str]* | :heavy_minus_sign: | N/A | hello | -| `example_field_3` | [Optional[operations.QueryObject200ApplicationJSONExampleField3]](undefined/models/operations/queryobject200applicationjsonexamplefield3.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `example_field_1` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `example_field_2` | *Optional[str]* | :heavy_minus_sign: | N/A | hello | +| `example_field_3` | [Optional[QueryObject200ApplicationJSONExampleField3]](../../models/operations/queryobject200applicationjsonexamplefield3.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/queryobjectrequest.md b/docs/models/operations/queryobjectrequest.md index c0cc57e..87469b4 100755 --- a/docs/models/operations/queryobjectrequest.md +++ b/docs/models/operations/queryobjectrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `request_body` | [Optional[operations.QueryObjectRequestBody]](undefined/models/operations/queryobjectrequestbody.md) | :heavy_minus_sign: | N/A | -| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `object_id` | *Optional[int]* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `request_body` | [Optional[QueryObjectRequestBody]](../../models/operations/queryobjectrequestbody.md) | :heavy_minus_sign: | N/A | +| `end_customer_id` | *str* | :heavy_check_mark: | N/A | +| `object_id` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/queryobjectrequestbody.md b/docs/models/operations/queryobjectrequestbody.md index f482bb6..4f48514 100755 --- a/docs/models/operations/queryobjectrequestbody.md +++ b/docs/models/operations/queryobjectrequestbody.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `filters` | list[[shared.QueryFilter](undefined/models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `filters` | list[[shared.QueryFilter](../../models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/queryobjectresponse.md b/docs/models/operations/queryobjectresponse.md index 5d4e4b0..3ee1f5a 100755 --- a/docs/models/operations/queryobjectresponse.md +++ b/docs/models/operations/queryobjectresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `query_object_200_application_json_object` | [Optional[operations.QueryObject200ApplicationJSON]](undefined/models/operations/queryobject200applicationjson.md) | :heavy_minus_sign: | The response payload will match the schema you defined when creating the object | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `query_object_200_application_json_object` | [Optional[QueryObject200ApplicationJSON]](../../models/operations/queryobject200applicationjson.md) | :heavy_minus_sign: | The response payload will match the schema you defined when creating the object | \ No newline at end of file diff --git a/docs/models/shared/bigqueryconfig.md b/docs/models/shared/bigqueryconfig.md index 46c3fa0..b2df208 100755 --- a/docs/models/shared/bigqueryconfig.md +++ b/docs/models/shared/bigqueryconfig.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- | | `credentials` | *Optional[str]* | :heavy_minus_sign: | N/A | Paste JSON from GCP | -| `location` | *Optional[str]* | :heavy_check_mark: | N/A | us-west1 | \ No newline at end of file +| `location` | *str* | :heavy_check_mark: | N/A | us-west1 | \ No newline at end of file diff --git a/docs/models/shared/connection.md b/docs/models/shared/connection.md index 14ad4ac..e04b426 100755 --- a/docs/models/shared/connection.md +++ b/docs/models/shared/connection.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_minus_sign: | N/A | | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `connection_type` | [Optional[ConnectionType]](../../models/shared/connectiontype.md) | :heavy_minus_sign: | N/A | | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | \ No newline at end of file diff --git a/docs/models/shared/createlinktokenrequest.md b/docs/models/shared/createlinktokenrequest.md index e5f43f2..c3c33d0 100755 --- a/docs/models/shared/createlinktokenrequest.md +++ b/docs/models/shared/createlinktokenrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------- | ------------------- | ------------------- | ------------------- | ------------------- | -| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | \ No newline at end of file +| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | \ No newline at end of file diff --git a/docs/models/shared/destination.md b/docs/models/shared/destination.md index a4f02e3..f002bd6 100755 --- a/docs/models/shared/destination.md +++ b/docs/models/shared/destination.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `connection` | [Optional[shared.Connection]](undefined/models/shared/connection.md) | :heavy_minus_sign: | N/A | | -| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | BigQuery | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `connection` | [Optional[Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | BigQuery | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file diff --git a/docs/models/shared/destinationinput.md b/docs/models/shared/destinationinput.md index 91dae77..bd71ba1 100755 --- a/docs/models/shared/destinationinput.md +++ b/docs/models/shared/destinationinput.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `bigquery_config` | [Optional[shared.BigQueryConfig]](undefined/models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | -| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | -| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | BigQuery | -| `mongodb_config` | [Optional[shared.MongoDbConfig]](undefined/models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | -| `redshift_config` | [Optional[shared.RedshiftConfig]](undefined/models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | -| `snowflake_config` | [Optional[shared.SnowflakeConfig]](undefined/models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `bigquery_config` | [Optional[BigQueryConfig]](../../models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | +| `connection_type` | [ConnectionType](../../models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | +| `display_name` | *str* | :heavy_check_mark: | N/A | BigQuery | +| `mongodb_config` | [Optional[MongoDbConfig]](../../models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | +| `redshift_config` | [Optional[RedshiftConfig]](../../models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | +| `snowflake_config` | [Optional[SnowflakeConfig]](../../models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/field.md b/docs/models/shared/field.md index 416964d..2364804 100755 --- a/docs/models/shared/field.md +++ b/docs/models/shared/field.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | -| `type` | [Optional[shared.FieldType]](undefined/models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | +| `type` | [Optional[FieldType]](../../models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/mongodbconfig.md b/docs/models/shared/mongodbconfig.md index 3d51fbf..5475018 100755 --- a/docs/models/shared/mongodbconfig.md +++ b/docs/models/shared/mongodbconfig.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | | `connection_options` | *Optional[str]* | :heavy_minus_sign: | N/A | retryWrites=true&w=majority | -| `host` | *Optional[str]* | :heavy_check_mark: | N/A | examplecluster.abc123.mongodb.net | -| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | -| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file +| `host` | *str* | :heavy_check_mark: | N/A | examplecluster.abc123.mongodb.net | +| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | +| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file diff --git a/docs/models/shared/object.md b/docs/models/shared/object.md index 8282243..be413fa 100755 --- a/docs/models/shared/object.md +++ b/docs/models/shared/object.md @@ -10,5 +10,5 @@ | `end_customer_id_field` | *Optional[str]* | :heavy_minus_sign: | This is where Fabra will insert the End Customer ID specified in the sync configuration | end_customer_id | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | bigquery_dataset | -| `object_fields` | list[[shared.ObjectField](undefined/models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/objectfield.md b/docs/models/shared/objectfield.md index d3d3614..5dc2b00 100755 --- a/docs/models/shared/objectfield.md +++ b/docs/models/shared/objectfield.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | -| `type` | [Optional[shared.FieldType]](undefined/models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | event_name | +| `type` | [Optional[FieldType]](../../models/shared/fieldtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/objectinput.md b/docs/models/shared/objectinput.md index 369a0f7..4c67a62 100755 --- a/docs/models/shared/objectinput.md +++ b/docs/models/shared/objectinput.md @@ -6,12 +6,12 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `cursor_field` | *Optional[str]* | :heavy_minus_sign: | N/A | updated_at | -| `destination_id` | *Optional[int]* | :heavy_check_mark: | N/A | 2 | -| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | BigQuery | -| `end_customer_id_field` | *Optional[str]* | :heavy_check_mark: | This is where Fabra will insert the End Customer ID specified when creating a source. | end_customer_id | -| `frequency` | *Optional[int]* | :heavy_check_mark: | N/A | 30 | -| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_check_mark: | N/A | | -| `namespace` | *Optional[str]* | :heavy_check_mark: | N/A | bigquery_dataset | -| `object_fields` | list[[shared.ObjectField](undefined/models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `destination_id` | *int* | :heavy_check_mark: | N/A | 2 | +| `display_name` | *str* | :heavy_check_mark: | N/A | BigQuery | +| `end_customer_id_field` | *str* | :heavy_check_mark: | This is where Fabra will insert the End Customer ID specified when creating a source. | end_customer_id | +| `frequency` | *int* | :heavy_check_mark: | N/A | 30 | +| `frequency_units` | [FrequencyUnits](../../models/shared/frequencyunits.md) | :heavy_check_mark: | N/A | | +| `namespace` | *str* | :heavy_check_mark: | N/A | bigquery_dataset | +| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `primary_key` | *Optional[str]* | :heavy_minus_sign: | N/A | event_id | -| `table_name` | *Optional[str]* | :heavy_check_mark: | N/A | events | \ No newline at end of file +| `table_name` | *str* | :heavy_check_mark: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/queryfilter.md b/docs/models/shared/queryfilter.md index a306b70..51c245a 100755 --- a/docs/models/shared/queryfilter.md +++ b/docs/models/shared/queryfilter.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `field_name` | *Optional[str]* | :heavy_check_mark: | N/A | user_id | -| `field_value` | *Optional[str]* | :heavy_check_mark: | N/A | 2 | \ No newline at end of file +| `field_name` | *str* | :heavy_check_mark: | N/A | user_id | +| `field_value` | *str* | :heavy_check_mark: | N/A | 2 | \ No newline at end of file diff --git a/docs/models/shared/redshiftconfig.md b/docs/models/shared/redshiftconfig.md index a76b16a..32e73a4 100755 --- a/docs/models/shared/redshiftconfig.md +++ b/docs/models/shared/redshiftconfig.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `database_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_database | -| `host` | *Optional[str]* | :heavy_check_mark: | N/A | examplecluster.12345.us-west-1.redshift.amazonaws.com | -| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | -| `port` | *Optional[str]* | :heavy_check_mark: | N/A | 5432 | -| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file +| `database_name` | *str* | :heavy_check_mark: | N/A | your_database | +| `host` | *str* | :heavy_check_mark: | N/A | examplecluster.12345.us-west-1.redshift.amazonaws.com | +| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | +| `port` | *str* | :heavy_check_mark: | N/A | 5432 | +| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | \ No newline at end of file diff --git a/docs/models/shared/security.md b/docs/models/shared/security.md index f84789e..702fdfe 100755 --- a/docs/models/shared/security.md +++ b/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `api_key_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `api_key_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/snowflakeconfig.md b/docs/models/shared/snowflakeconfig.md index 9b7b659..8f184bf 100755 --- a/docs/models/shared/snowflakeconfig.md +++ b/docs/models/shared/snowflakeconfig.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `database_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_database | -| `host` | *Optional[str]* | :heavy_check_mark: | N/A | abc123.us-east4.gcp.snowflakecomputing.com | -| `password` | *Optional[str]* | :heavy_check_mark: | N/A | securePassword123 | -| `role` | *Optional[str]* | :heavy_check_mark: | N/A | your_role | -| `username` | *Optional[str]* | :heavy_check_mark: | N/A | jane_doe | -| `warehouse_name` | *Optional[str]* | :heavy_check_mark: | N/A | your_warehouse | \ No newline at end of file +| `database_name` | *str* | :heavy_check_mark: | N/A | your_database | +| `host` | *str* | :heavy_check_mark: | N/A | abc123.us-east4.gcp.snowflakecomputing.com | +| `password` | *str* | :heavy_check_mark: | N/A | securePassword123 | +| `role` | *str* | :heavy_check_mark: | N/A | your_role | +| `username` | *str* | :heavy_check_mark: | N/A | jane_doe | +| `warehouse_name` | *str* | :heavy_check_mark: | N/A | your_warehouse | \ No newline at end of file diff --git a/docs/models/shared/source.md b/docs/models/shared/source.md index 53cd879..bdd1528 100755 --- a/docs/models/shared/source.md +++ b/docs/models/shared/source.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `connection` | [Optional[shared.Connection]](undefined/models/shared/connection.md) | :heavy_minus_sign: | N/A | | -| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Frontend Events | -| `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abcd-1234-efgh-5678 | -| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `connection` | [Optional[Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Frontend Events | +| `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abcd-1234-efgh-5678 | +| `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | \ No newline at end of file diff --git a/docs/models/shared/sourceinput.md b/docs/models/shared/sourceinput.md index a852be8..84650ef 100755 --- a/docs/models/shared/sourceinput.md +++ b/docs/models/shared/sourceinput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `bigquery_config` | [Optional[shared.BigQueryConfig]](undefined/models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | -| `connection_type` | [Optional[shared.ConnectionType]](undefined/models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | -| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | Frontend Events | -| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | -| `mongodb_config` | [Optional[shared.MongoDbConfig]](undefined/models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | -| `redshift_config` | [Optional[shared.RedshiftConfig]](undefined/models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | -| `snowflake_config` | [Optional[shared.SnowflakeConfig]](undefined/models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `bigquery_config` | [Optional[BigQueryConfig]](../../models/shared/bigqueryconfig.md) | :heavy_minus_sign: | N/A | | +| `connection_type` | [ConnectionType](../../models/shared/connectiontype.md) | :heavy_check_mark: | N/A | | +| `display_name` | *str* | :heavy_check_mark: | N/A | Frontend Events | +| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abcd-1234-efgh-5678 | +| `mongodb_config` | [Optional[MongoDbConfig]](../../models/shared/mongodbconfig.md) | :heavy_minus_sign: | N/A | | +| `redshift_config` | [Optional[RedshiftConfig]](../../models/shared/redshiftconfig.md) | :heavy_minus_sign: | N/A | | +| `snowflake_config` | [Optional[SnowflakeConfig]](../../models/shared/snowflakeconfig.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md index 9b7b795..c33b6e6 100755 --- a/docs/models/shared/sync.md +++ b/docs/models/shared/sync.md @@ -10,9 +10,9 @@ | `destination_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 2 | | `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Event Sync | | `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abc123 | -| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | [object Object] | +| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | | -| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | +| `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | | `object_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 3 | diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md index 93c2e72..afd70e1 100755 --- a/docs/models/shared/syncinput.md +++ b/docs/models/shared/syncinput.md @@ -7,14 +7,14 @@ | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `cursor_field` | *Optional[str]* | :heavy_minus_sign: | N/A | updated_at | | `custom_join` | *Optional[str]* | :heavy_minus_sign: | N/A | select * from events join additional_properties on events.id = additional_properties.event_id; | -| `destination_id` | *Optional[int]* | :heavy_check_mark: | N/A | 2 | -| `display_name` | *Optional[str]* | :heavy_check_mark: | N/A | Event Sync | -| `end_customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | abc123 | -| `field_mappings` | list[[shared.FieldMapping](undefined/models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | [object Object] | +| `destination_id` | *int* | :heavy_check_mark: | N/A | 2 | +| `display_name` | *str* | :heavy_check_mark: | N/A | Event Sync | +| `end_customer_id` | *str* | :heavy_check_mark: | N/A | abc123 | +| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | 30 | -| `frequency_units` | [Optional[shared.FrequencyUnits]](undefined/models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | +| `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | -| `object_id` | *Optional[int]* | :heavy_check_mark: | N/A | 3 | +| `object_id` | *int* | :heavy_check_mark: | N/A | 3 | | `primary_key` | *Optional[str]* | :heavy_minus_sign: | N/A | event_id | -| `source_id` | *Optional[int]* | :heavy_check_mark: | N/A | 1 | +| `source_id` | *int* | :heavy_check_mark: | N/A | 1 | | `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_events | \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index 2b57ac7..02b5a90 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -35,6 +35,7 @@ res = s.connection.get_namespaces(req) if res.namespaces is not None: # handle response + pass ``` ### Parameters @@ -75,6 +76,7 @@ res = s.connection.get_schema(req) if res.get_schema_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -114,6 +116,7 @@ res = s.connection.get_tables(req) if res.get_tables_200_application_json_object is not None: # handle response + pass ``` ### Parameters diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index faad5c0..c2df122 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -38,6 +38,7 @@ res = s.customer_data.query_object(req) if res.query_object_200_application_json_object is not None: # handle response + pass ``` ### Parameters diff --git a/docs/sdks/destination/README.md b/docs/sdks/destination/README.md index 3bd398c..fa3edbb 100755 --- a/docs/sdks/destination/README.md +++ b/docs/sdks/destination/README.md @@ -60,6 +60,7 @@ res = s.destination.create_destination(req) if res.create_destination_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -95,6 +96,7 @@ res = s.destination.get_destinations() if res.get_destinations_200_application_json_object is not None: # handle response + pass ``` diff --git a/docs/sdks/linktoken/README.md b/docs/sdks/linktoken/README.md index 355aa79..67f397e 100755 --- a/docs/sdks/linktoken/README.md +++ b/docs/sdks/linktoken/README.md @@ -33,6 +33,7 @@ res = s.link_token.create_link_token(req) if res.create_link_token_response is not None: # handle response + pass ``` ### Parameters diff --git a/docs/sdks/object/README.md b/docs/sdks/object/README.md index e418c45..bb8d85c 100755 --- a/docs/sdks/object/README.md +++ b/docs/sdks/object/README.md @@ -47,6 +47,7 @@ res = s.object.create_object(req) if res.create_object_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -82,6 +83,7 @@ res = s.object.get_objects() if res.get_objects_200_application_json_object is not None: # handle response + pass ``` diff --git a/docs/sdks/source/README.md b/docs/sdks/source/README.md index 3d80ce1..d910195 100755 --- a/docs/sdks/source/README.md +++ b/docs/sdks/source/README.md @@ -61,6 +61,7 @@ res = s.source.create_source(req) if res.create_source_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -96,6 +97,7 @@ res = s.source.get_sources() if res.get_sources_200_application_json_object is not None: # handle response + pass ``` diff --git a/docs/sdks/sync/README.md b/docs/sdks/sync/README.md index 6d8cc90..acbaa1d 100755 --- a/docs/sdks/sync/README.md +++ b/docs/sdks/sync/README.md @@ -50,6 +50,7 @@ res = s.sync.create_sync(req) if res.create_sync_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -85,6 +86,7 @@ res = s.sync.get_syncs() if res.get_syncs_200_application_json_object is not None: # handle response + pass ``` diff --git a/gen.yaml b/gen.yaml index 315060f..e71c0b0 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.96.1 - generationVersion: 2.150.0 + speakeasyVersion: 1.99.0 + generationVersion: 2.154.1 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.88.4 + core: 2.88.6 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 0.45.0 + version: 0.45.1 author: fabra description: Python Client SDK Generated by Speakeasy flattenGlobalSecurity: false diff --git a/setup.py b/setup.py index 1afe6f5..9700206 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.45.0", + version="0.45.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py index f6eaf3d..1fbe2cd 100755 --- a/src/fabra/sdk.py +++ b/src/fabra/sdk.py @@ -30,7 +30,7 @@ class Fabra: sdk_configuration: SDKConfiguration def __init__(self, - api_key_auth: str, + security: shared.Security = None, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -39,8 +39,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param api_key_auth: The api_key_auth required for authentication - :type api_key_auth: str + :param security: The security details required for authentication + :type security: shared.Security :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 9cba8c9..4455368 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.45.0' - gen_version: str = '2.150.0' - user_agent: str = 'speakeasy-sdk/python 0.45.0 2.150.0 0.1.0 fabra' + sdk_version: str = '0.45.1' + gen_version: str = '2.154.1' + user_agent: str = 'speakeasy-sdk/python 0.45.1 2.154.1 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From bc56dff0c7b49406070bd3c55b954ed7b39dbfa2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 18 Oct 2023 00:06:01 +0000 Subject: [PATCH 43/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.101.0 --- RELEASES.md | 12 +- .../getdestinations200applicationjson.md | 2 +- .../getobjects200applicationjson.md | 2 +- .../operations/getschema200applicationjson.md | 2 +- .../getsources200applicationjson.md | 2 +- .../operations/getsyncs200applicationjson.md | 2 +- .../operations/gettables200applicationjson.md | 2 +- .../operations/queryobjectrequestbody.md | 2 +- docs/models/shared/namespaces.md | 2 +- docs/models/shared/object.md | 2 +- docs/models/shared/objectinput.md | 2 +- docs/models/shared/sync.md | 2 +- docs/models/shared/syncinput.md | 2 +- docs/sdks/connection/README.md | 6 +- docs/sdks/customerdata/README.md | 4 +- gen.yaml | 8 +- pylintrc | 2 +- setup.py | 26 ++-- .../models/operations/create_destination.py | 2 - .../models/operations/create_link_token.py | 1 - src/fabra/models/operations/create_object.py | 2 - src/fabra/models/operations/create_source.py | 2 - src/fabra/models/operations/create_sync.py | 2 - .../models/operations/get_destinations.py | 6 +- src/fabra/models/operations/get_namespaces.py | 2 - src/fabra/models/operations/get_objects.py | 6 +- src/fabra/models/operations/get_schema.py | 7 +- src/fabra/models/operations/get_sources.py | 6 +- src/fabra/models/operations/get_syncs.py | 6 +- src/fabra/models/operations/get_tables.py | 7 +- src/fabra/models/operations/query_object.py | 9 +- src/fabra/models/shared/bigqueryconfig.py | 1 - src/fabra/models/shared/connection.py | 1 - .../models/shared/createlinktokenrequest.py | 1 - .../models/shared/createlinktokenresponse.py | 1 - src/fabra/models/shared/destination.py | 1 - src/fabra/models/shared/destinationinput.py | 1 - src/fabra/models/shared/field.py | 1 - src/fabra/models/shared/fieldmapping.py | 1 - src/fabra/models/shared/mongodbconfig.py | 1 - src/fabra/models/shared/namespaces.py | 5 +- src/fabra/models/shared/object.py | 5 +- src/fabra/models/shared/objectfield.py | 1 - src/fabra/models/shared/objectinput.py | 5 +- src/fabra/models/shared/queryfilter.py | 1 - src/fabra/models/shared/redshiftconfig.py | 1 - src/fabra/models/shared/security.py | 1 - src/fabra/models/shared/snowflakeconfig.py | 1 - src/fabra/models/shared/source.py | 1 - src/fabra/models/shared/sourceinput.py | 1 - src/fabra/models/shared/sync.py | 5 +- src/fabra/models/shared/syncinput.py | 5 +- src/fabra/sdk.py | 5 +- src/fabra/sdkconfiguration.py | 13 +- src/fabra/utils/retries.py | 5 +- src/fabra/utils/utils.py | 117 ++++++++++-------- 56 files changed, 144 insertions(+), 177 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 495aec0..3590751 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -730,4 +730,14 @@ Based on: ### Generated - [python v0.45.1] . ### Releases -- [PyPI v0.45.1] https://pypi.org/project/fabra/0.45.1 - . \ No newline at end of file +- [PyPI v0.45.1] https://pypi.org/project/fabra/0.45.1 - . + +## 2023-10-18 00:05:42 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.46.0] . +### Releases +- [PyPI v0.46.0] https://pypi.org/project/fabra/0.46.0 - . \ No newline at end of file diff --git a/docs/models/operations/getdestinations200applicationjson.md b/docs/models/operations/getdestinations200applicationjson.md index 3fc651a..75f61be 100755 --- a/docs/models/operations/getdestinations200applicationjson.md +++ b/docs/models/operations/getdestinations200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched destinations | Field | Type | Required | Description | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `destinations` | list[[shared.Destination](../../models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `destinations` | List[[shared.Destination](../../models/shared/destination.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getobjects200applicationjson.md b/docs/models/operations/getobjects200applicationjson.md index 3288543..ab55136 100755 --- a/docs/models/operations/getobjects200applicationjson.md +++ b/docs/models/operations/getobjects200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched objects | Field | Type | Required | Description | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `objects` | list[[shared.Object](../../models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `objects` | List[[shared.Object](../../models/shared/object.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getschema200applicationjson.md b/docs/models/operations/getschema200applicationjson.md index aa9a62a..7d53d63 100755 --- a/docs/models/operations/getschema200applicationjson.md +++ b/docs/models/operations/getschema200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched schema | Field | Type | Required | Description | Example | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `schema` | list[[shared.Field](../../models/shared/field.md)] | :heavy_minus_sign: | N/A | [object Object],[object Object],[object Object],[object Object] | \ No newline at end of file +| `schema` | List[[shared.Field](../../models/shared/field.md)] | :heavy_minus_sign: | N/A | [object Object],[object Object],[object Object],[object Object] | \ No newline at end of file diff --git a/docs/models/operations/getsources200applicationjson.md b/docs/models/operations/getsources200applicationjson.md index 2141823..bd96ef1 100755 --- a/docs/models/operations/getsources200applicationjson.md +++ b/docs/models/operations/getsources200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched sources | Field | Type | Required | Description | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `sources` | list[[shared.Source](../../models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `sources` | List[[shared.Source](../../models/shared/source.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsyncs200applicationjson.md b/docs/models/operations/getsyncs200applicationjson.md index ec0eebc..5009ee4 100755 --- a/docs/models/operations/getsyncs200applicationjson.md +++ b/docs/models/operations/getsyncs200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched syncs | Field | Type | Required | Description | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `syncs` | list[[shared.Sync](../../models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `syncs` | List[[shared.Sync](../../models/shared/sync.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettables200applicationjson.md b/docs/models/operations/gettables200applicationjson.md index 7869fd7..9081f83 100755 --- a/docs/models/operations/gettables200applicationjson.md +++ b/docs/models/operations/gettables200applicationjson.md @@ -7,4 +7,4 @@ Successfully fetched tables | Field | Type | Required | Description | Example | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `tables` | list[*str*] | :heavy_minus_sign: | N/A | events,users,companies | \ No newline at end of file +| `tables` | List[*str*] | :heavy_minus_sign: | N/A | events,users,companies | \ No newline at end of file diff --git a/docs/models/operations/queryobjectrequestbody.md b/docs/models/operations/queryobjectrequestbody.md index 4f48514..ba40c3c 100755 --- a/docs/models/operations/queryobjectrequestbody.md +++ b/docs/models/operations/queryobjectrequestbody.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `filters` | list[[shared.QueryFilter](../../models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `filters` | List[[shared.QueryFilter](../../models/shared/queryfilter.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/namespaces.md b/docs/models/shared/namespaces.md index 85bd513..a317189 100755 --- a/docs/models/shared/namespaces.md +++ b/docs/models/shared/namespaces.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `namespaces` | list[*str*] | :heavy_minus_sign: | N/A | marketing,analytics,finance | \ No newline at end of file +| `namespaces` | List[*str*] | :heavy_minus_sign: | N/A | marketing,analytics,finance | \ No newline at end of file diff --git a/docs/models/shared/object.md b/docs/models/shared/object.md index be413fa..57d5695 100755 --- a/docs/models/shared/object.md +++ b/docs/models/shared/object.md @@ -10,5 +10,5 @@ | `end_customer_id_field` | *Optional[str]* | :heavy_minus_sign: | This is where Fabra will insert the End Customer ID specified in the sync configuration | end_customer_id | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | bigquery_dataset | -| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `object_fields` | List[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/objectinput.md b/docs/models/shared/objectinput.md index 4c67a62..0ec25d0 100755 --- a/docs/models/shared/objectinput.md +++ b/docs/models/shared/objectinput.md @@ -12,6 +12,6 @@ | `frequency` | *int* | :heavy_check_mark: | N/A | 30 | | `frequency_units` | [FrequencyUnits](../../models/shared/frequencyunits.md) | :heavy_check_mark: | N/A | | | `namespace` | *str* | :heavy_check_mark: | N/A | bigquery_dataset | -| `object_fields` | list[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | +| `object_fields` | List[[ObjectField](../../models/shared/objectfield.md)] | :heavy_minus_sign: | N/A | | | `primary_key` | *Optional[str]* | :heavy_minus_sign: | N/A | event_id | | `table_name` | *str* | :heavy_check_mark: | N/A | events | \ No newline at end of file diff --git a/docs/models/shared/sync.md b/docs/models/shared/sync.md index c33b6e6..6c5469c 100755 --- a/docs/models/shared/sync.md +++ b/docs/models/shared/sync.md @@ -10,7 +10,7 @@ | `destination_id` | *Optional[int]* | :heavy_minus_sign: | N/A | 2 | | `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | Event Sync | | `end_customer_id` | *Optional[str]* | :heavy_minus_sign: | N/A | abc123 | -| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | [object Object] | +| `field_mappings` | List[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_minus_sign: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | | | `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `id` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | diff --git a/docs/models/shared/syncinput.md b/docs/models/shared/syncinput.md index afd70e1..cfc533b 100755 --- a/docs/models/shared/syncinput.md +++ b/docs/models/shared/syncinput.md @@ -10,7 +10,7 @@ | `destination_id` | *int* | :heavy_check_mark: | N/A | 2 | | `display_name` | *str* | :heavy_check_mark: | N/A | Event Sync | | `end_customer_id` | *str* | :heavy_check_mark: | N/A | abc123 | -| `field_mappings` | list[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | [object Object] | +| `field_mappings` | List[[FieldMapping](../../models/shared/fieldmapping.md)] | :heavy_check_mark: | N/A | [object Object] | | `frequency` | *Optional[int]* | :heavy_minus_sign: | N/A | 30 | | `frequency_units` | [Optional[FrequencyUnits]](../../models/shared/frequencyunits.md) | :heavy_minus_sign: | N/A | | | `namespace` | *Optional[str]* | :heavy_minus_sign: | N/A | end_customer_bigquery_dataset | diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index 02b5a90..eec31c6 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -68,8 +68,8 @@ s = fabra.Fabra( req = operations.GetSchemaRequest( connection_id=367941, - namespace='Granite East project', - table_name='Orchestrator Personal Garden', + namespace='hence', + table_name='driver', ) res = s.connection.get_schema(req) @@ -109,7 +109,7 @@ s = fabra.Fabra( req = operations.GetTablesRequest( connection_id=820803, - namespace='baby Hatchback', + namespace='Sweden', ) res = s.connection.get_tables(req) diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index c2df122..b2fb4ca 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -30,8 +30,8 @@ req = operations.QueryObjectRequest( ), ], ), - end_customer_id='transmitting sit wetly', - object_id=929726, + end_customer_id='once', + object_id=819181, ) res = s.customer_data.query_object(req) diff --git a/gen.yaml b/gen.yaml index e71c0b0..4383e40 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.99.0 - generationVersion: 2.154.1 + speakeasyVersion: 1.101.0 + generationVersion: 2.161.0 generation: sdkClassName: Fabra sdkFlattening: false @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 2.88.6 + core: 3.0.2 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 0.45.1 + version: 0.46.0 author: fabra description: Python Client SDK Generated by Speakeasy flattenGlobalSecurity: false diff --git a/pylintrc b/pylintrc index 2a6cf69..1ed3221 100755 --- a/pylintrc +++ b/pylintrc @@ -88,7 +88,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.8 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/setup.py b/setup.py index 9700206..1664259 100755 --- a/setup.py +++ b/setup.py @@ -10,33 +10,31 @@ setuptools.setup( name="fabra", - version="0.45.1", + version="0.46.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi>=2022.12.7", - "charset-normalizer>=2.1.1", + "certifi>=2023.7.22", + "charset-normalizer>=3.2.0", "dataclasses-json>=0.6.1", - "idna>=3.3", + "idna>=3.4", "jsonpath-python>=1.0.6 ", - "marshmallow>=3.17.1", - "marshmallow-enum>=1.5.1", - "mypy-extensions>=0.4.3", - "packaging>=21.3", - "pyparsing>=3.0.9", + "marshmallow>=3.19.0", + "mypy-extensions>=1.0.0", + "packaging>=23.1", "python-dateutil>=2.8.2", - "requests>=2.28.1", + "requests>=2.31.0", "six>=1.16.0", - "typing-inspect>=0.8.0", - "typing_extensions>=4.3.0", - "urllib3>=1.26.12", + "typing-inspect>=0.9.0", + "typing_extensions>=4.7.1", + "urllib3>=2.0.4", ], extras_require={ "dev":["pylint==2.16.2"] }, package_dir={'': 'src'}, - python_requires='>=3.9' + python_requires='>=3.8' ) diff --git a/src/fabra/models/operations/create_destination.py b/src/fabra/models/operations/create_destination.py index 45b7d09..17f1f9e 100755 --- a/src/fabra/models/operations/create_destination.py +++ b/src/fabra/models/operations/create_destination.py @@ -10,7 +10,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateDestination200ApplicationJSON: r"""Successfully created destination""" @@ -19,7 +18,6 @@ class CreateDestination200ApplicationJSON: - @dataclasses.dataclass class CreateDestinationResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/create_link_token.py b/src/fabra/models/operations/create_link_token.py index c9c46aa..5e26662 100755 --- a/src/fabra/models/operations/create_link_token.py +++ b/src/fabra/models/operations/create_link_token.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class CreateLinkTokenResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/create_object.py b/src/fabra/models/operations/create_object.py index 66186d0..72055e5 100755 --- a/src/fabra/models/operations/create_object.py +++ b/src/fabra/models/operations/create_object.py @@ -10,7 +10,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateObject200ApplicationJSON: r"""Successfully created object""" @@ -19,7 +18,6 @@ class CreateObject200ApplicationJSON: - @dataclasses.dataclass class CreateObjectResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/create_source.py b/src/fabra/models/operations/create_source.py index 19367ae..20960ea 100755 --- a/src/fabra/models/operations/create_source.py +++ b/src/fabra/models/operations/create_source.py @@ -10,7 +10,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateSource200ApplicationJSON: r"""Successfully created source""" @@ -19,7 +18,6 @@ class CreateSource200ApplicationJSON: - @dataclasses.dataclass class CreateSourceResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/create_sync.py b/src/fabra/models/operations/create_sync.py index a1fb1c6..3b74aca 100755 --- a/src/fabra/models/operations/create_sync.py +++ b/src/fabra/models/operations/create_sync.py @@ -10,7 +10,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateSync200ApplicationJSON: r"""Successfully created sync""" @@ -19,7 +18,6 @@ class CreateSync200ApplicationJSON: - @dataclasses.dataclass class CreateSyncResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_destinations.py b/src/fabra/models/operations/get_destinations.py index 3d6c049..83ae6be 100755 --- a/src/fabra/models/operations/get_destinations.py +++ b/src/fabra/models/operations/get_destinations.py @@ -6,20 +6,18 @@ from ..shared import destination as shared_destination from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetDestinations200ApplicationJSON: r"""Successfully fetched destinations""" - destinations: Optional[list[shared_destination.Destination]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinations'), 'exclude': lambda f: f is None }}) + destinations: Optional[List[shared_destination.Destination]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinations'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetDestinationsResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_namespaces.py b/src/fabra/models/operations/get_namespaces.py index aef46b9..b530ac6 100755 --- a/src/fabra/models/operations/get_namespaces.py +++ b/src/fabra/models/operations/get_namespaces.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class GetNamespacesRequest: connection_id: int = dataclasses.field(metadata={'query_param': { 'field_name': 'connectionID', 'style': 'form', 'explode': True }}) @@ -15,7 +14,6 @@ class GetNamespacesRequest: - @dataclasses.dataclass class GetNamespacesResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_objects.py b/src/fabra/models/operations/get_objects.py index 0a2c426..385d6d3 100755 --- a/src/fabra/models/operations/get_objects.py +++ b/src/fabra/models/operations/get_objects.py @@ -6,20 +6,18 @@ from ..shared import object as shared_object from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetObjects200ApplicationJSON: r"""Successfully fetched objects""" - objects: Optional[list[shared_object.Object]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('objects'), 'exclude': lambda f: f is None }}) + objects: Optional[List[shared_object.Object]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('objects'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetObjectsResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_schema.py b/src/fabra/models/operations/get_schema.py index f667138..8b4eba8 100755 --- a/src/fabra/models/operations/get_schema.py +++ b/src/fabra/models/operations/get_schema.py @@ -6,8 +6,7 @@ from ..shared import field as shared_field from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -20,16 +19,14 @@ class GetSchemaRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetSchema200ApplicationJSON: r"""Successfully fetched schema""" - schema: Optional[list[shared_field.Field]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) + schema: Optional[List[shared_field.Field]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetSchemaResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_sources.py b/src/fabra/models/operations/get_sources.py index 5d5211a..9203ca0 100755 --- a/src/fabra/models/operations/get_sources.py +++ b/src/fabra/models/operations/get_sources.py @@ -6,20 +6,18 @@ from ..shared import source as shared_source from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetSources200ApplicationJSON: r"""Successfully fetched sources""" - sources: Optional[list[shared_source.Source]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sources'), 'exclude': lambda f: f is None }}) + sources: Optional[List[shared_source.Source]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sources'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetSourcesResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_syncs.py b/src/fabra/models/operations/get_syncs.py index 525486b..c20ed06 100755 --- a/src/fabra/models/operations/get_syncs.py +++ b/src/fabra/models/operations/get_syncs.py @@ -6,20 +6,18 @@ from ..shared import sync as shared_sync from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetSyncs200ApplicationJSON: r"""Successfully fetched syncs""" - syncs: Optional[list[shared_sync.Sync]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('syncs'), 'exclude': lambda f: f is None }}) + syncs: Optional[List[shared_sync.Sync]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('syncs'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetSyncsResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/get_tables.py b/src/fabra/models/operations/get_tables.py index d822075..e972da4 100755 --- a/src/fabra/models/operations/get_tables.py +++ b/src/fabra/models/operations/get_tables.py @@ -5,8 +5,7 @@ import requests as requests_http from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,16 +17,14 @@ class GetTablesRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetTables200ApplicationJSON: r"""Successfully fetched tables""" - tables: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tables'), 'exclude': lambda f: f is None }}) + tables: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tables'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetTablesResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/operations/query_object.py b/src/fabra/models/operations/query_object.py index 6431160..332aa76 100755 --- a/src/fabra/models/operations/query_object.py +++ b/src/fabra/models/operations/query_object.py @@ -6,19 +6,17 @@ from ..shared import queryfilter as shared_queryfilter from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class QueryObjectRequestBody: - filters: Optional[list[shared_queryfilter.QueryFilter]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filters'), 'exclude': lambda f: f is None }}) + filters: Optional[List[shared_queryfilter.QueryFilter]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filters'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class QueryObjectRequest: end_customer_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'endCustomerID', 'style': 'simple', 'explode': False }}) @@ -29,7 +27,6 @@ class QueryObjectRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class QueryObject200ApplicationJSONExampleField3: nested_field_1: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nested_field_1'), 'exclude': lambda f: f is None }}) @@ -39,7 +36,6 @@ class QueryObject200ApplicationJSONExampleField3: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class QueryObject200ApplicationJSON: r"""The response payload will match the schema you defined when creating the object""" @@ -50,7 +46,6 @@ class QueryObject200ApplicationJSON: - @dataclasses.dataclass class QueryObjectResponse: content_type: str = dataclasses.field() diff --git a/src/fabra/models/shared/bigqueryconfig.py b/src/fabra/models/shared/bigqueryconfig.py index 76bfcb6..371e295 100755 --- a/src/fabra/models/shared/bigqueryconfig.py +++ b/src/fabra/models/shared/bigqueryconfig.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class BigQueryConfig: location: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('location') }}) diff --git a/src/fabra/models/shared/connection.py b/src/fabra/models/shared/connection.py index 22fec5a..9390d5f 100755 --- a/src/fabra/models/shared/connection.py +++ b/src/fabra/models/shared/connection.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Connection: connection_type: Optional[shared_connectiontype.ConnectionType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('connection_type'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/createlinktokenrequest.py b/src/fabra/models/shared/createlinktokenrequest.py index 5ca5630..e565f56 100755 --- a/src/fabra/models/shared/createlinktokenrequest.py +++ b/src/fabra/models/shared/createlinktokenrequest.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateLinkTokenRequest: end_customer_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_id') }}) diff --git a/src/fabra/models/shared/createlinktokenresponse.py b/src/fabra/models/shared/createlinktokenresponse.py index 7c720ac..6a5590a 100755 --- a/src/fabra/models/shared/createlinktokenresponse.py +++ b/src/fabra/models/shared/createlinktokenresponse.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateLinkTokenResponse: link_token: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('link_token'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/destination.py b/src/fabra/models/shared/destination.py index cc87433..deff667 100755 --- a/src/fabra/models/shared/destination.py +++ b/src/fabra/models/shared/destination.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Destination: connection: Optional[shared_connection.Connection] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('connection'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/destinationinput.py b/src/fabra/models/shared/destinationinput.py index e986e18..fa07114 100755 --- a/src/fabra/models/shared/destinationinput.py +++ b/src/fabra/models/shared/destinationinput.py @@ -13,7 +13,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class DestinationInput: connection_type: shared_connectiontype.ConnectionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('connection_type') }}) diff --git a/src/fabra/models/shared/field.py b/src/fabra/models/shared/field.py index 7dbd231..b8af4af 100755 --- a/src/fabra/models/shared/field.py +++ b/src/fabra/models/shared/field.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Field: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/fieldmapping.py b/src/fabra/models/shared/fieldmapping.py index 2756ef3..0c8d777 100755 --- a/src/fabra/models/shared/fieldmapping.py +++ b/src/fabra/models/shared/fieldmapping.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class FieldMapping: destination_field_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destination_field_name'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/mongodbconfig.py b/src/fabra/models/shared/mongodbconfig.py index 2500a9e..749acc0 100755 --- a/src/fabra/models/shared/mongodbconfig.py +++ b/src/fabra/models/shared/mongodbconfig.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class MongoDbConfig: host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('host') }}) diff --git a/src/fabra/models/shared/namespaces.py b/src/fabra/models/shared/namespaces.py index e0403ce..d03d5ad 100755 --- a/src/fabra/models/shared/namespaces.py +++ b/src/fabra/models/shared/namespaces.py @@ -4,13 +4,12 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Namespaces: - namespaces: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('namespaces'), 'exclude': lambda f: f is None }}) + namespaces: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('namespaces'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/object.py b/src/fabra/models/shared/object.py index cd30b07..6c27e49 100755 --- a/src/fabra/models/shared/object.py +++ b/src/fabra/models/shared/object.py @@ -5,11 +5,10 @@ from ..shared import objectfield as shared_objectfield from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Object: destination_id: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destination_id'), 'exclude': lambda f: f is None }}) @@ -18,7 +17,7 @@ class Object: r"""This is where Fabra will insert the End Customer ID specified in the sync configuration""" id: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) namespace: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('namespace'), 'exclude': lambda f: f is None }}) - object_fields: Optional[list[shared_objectfield.ObjectField]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('object_fields'), 'exclude': lambda f: f is None }}) + object_fields: Optional[List[shared_objectfield.ObjectField]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('object_fields'), 'exclude': lambda f: f is None }}) table_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('table_name'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/objectfield.py b/src/fabra/models/shared/objectfield.py index fedc4fc..48f6c04 100755 --- a/src/fabra/models/shared/objectfield.py +++ b/src/fabra/models/shared/objectfield.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ObjectField: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/objectinput.py b/src/fabra/models/shared/objectinput.py index f42c59a..0594096 100755 --- a/src/fabra/models/shared/objectinput.py +++ b/src/fabra/models/shared/objectinput.py @@ -6,11 +6,10 @@ from ..shared import objectfield as shared_objectfield from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ObjectInput: destination_id: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destination_id') }}) @@ -22,7 +21,7 @@ class ObjectInput: namespace: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('namespace') }}) table_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('table_name') }}) cursor_field: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cursor_field'), 'exclude': lambda f: f is None }}) - object_fields: Optional[list[shared_objectfield.ObjectField]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('object_fields'), 'exclude': lambda f: f is None }}) + object_fields: Optional[List[shared_objectfield.ObjectField]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('object_fields'), 'exclude': lambda f: f is None }}) primary_key: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('primary_key'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/queryfilter.py b/src/fabra/models/shared/queryfilter.py index a224db1..1bd89d3 100755 --- a/src/fabra/models/shared/queryfilter.py +++ b/src/fabra/models/shared/queryfilter.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class QueryFilter: field_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_name') }}) diff --git a/src/fabra/models/shared/redshiftconfig.py b/src/fabra/models/shared/redshiftconfig.py index b5bafe7..6f8a6f1 100755 --- a/src/fabra/models/shared/redshiftconfig.py +++ b/src/fabra/models/shared/redshiftconfig.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class RedshiftConfig: database_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('database_name') }}) diff --git a/src/fabra/models/shared/security.py b/src/fabra/models/shared/security.py index 4d93a03..c1a10e8 100755 --- a/src/fabra/models/shared/security.py +++ b/src/fabra/models/shared/security.py @@ -4,7 +4,6 @@ import dataclasses - @dataclasses.dataclass class Security: api_key_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'X-API-KEY' }}) diff --git a/src/fabra/models/shared/snowflakeconfig.py b/src/fabra/models/shared/snowflakeconfig.py index f6698d1..e31a529 100755 --- a/src/fabra/models/shared/snowflakeconfig.py +++ b/src/fabra/models/shared/snowflakeconfig.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SnowflakeConfig: database_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('database_name') }}) diff --git a/src/fabra/models/shared/source.py b/src/fabra/models/shared/source.py index 49859c0..d30a33e 100755 --- a/src/fabra/models/shared/source.py +++ b/src/fabra/models/shared/source.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Source: connection: Optional[shared_connection.Connection] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('connection'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/sourceinput.py b/src/fabra/models/shared/sourceinput.py index 1a2b804..ccb25e7 100755 --- a/src/fabra/models/shared/sourceinput.py +++ b/src/fabra/models/shared/sourceinput.py @@ -13,7 +13,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SourceInput: connection_type: shared_connectiontype.ConnectionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('connection_type') }}) diff --git a/src/fabra/models/shared/sync.py b/src/fabra/models/shared/sync.py index 8c43f39..0696635 100755 --- a/src/fabra/models/shared/sync.py +++ b/src/fabra/models/shared/sync.py @@ -6,11 +6,10 @@ from ..shared import frequencyunits as shared_frequencyunits from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Sync: cursor_field: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cursor_field'), 'exclude': lambda f: f is None }}) @@ -18,7 +17,7 @@ class Sync: destination_id: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destination_id'), 'exclude': lambda f: f is None }}) display_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name'), 'exclude': lambda f: f is None }}) end_customer_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_id'), 'exclude': lambda f: f is None }}) - field_mappings: Optional[list[shared_fieldmapping.FieldMapping]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_mappings'), 'exclude': lambda f: f is None }}) + field_mappings: Optional[List[shared_fieldmapping.FieldMapping]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_mappings'), 'exclude': lambda f: f is None }}) frequency: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('frequency'), 'exclude': lambda f: f is None }}) frequency_units: Optional[shared_frequencyunits.FrequencyUnits] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('frequency_units'), 'exclude': lambda f: f is None }}) id: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/models/shared/syncinput.py b/src/fabra/models/shared/syncinput.py index 7136816..212bc96 100755 --- a/src/fabra/models/shared/syncinput.py +++ b/src/fabra/models/shared/syncinput.py @@ -6,17 +6,16 @@ from ..shared import frequencyunits as shared_frequencyunits from dataclasses_json import Undefined, dataclass_json from fabra import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SyncInput: destination_id: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destination_id') }}) display_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name') }}) end_customer_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_id') }}) - field_mappings: list[shared_fieldmapping.FieldMapping] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_mappings') }}) + field_mappings: List[shared_fieldmapping.FieldMapping] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_mappings') }}) object_id: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('object_id') }}) source_id: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source_id') }}) cursor_field: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cursor_field'), 'exclude': lambda f: f is None }}) diff --git a/src/fabra/sdk.py b/src/fabra/sdk.py index 1fbe2cd..bb36755 100755 --- a/src/fabra/sdk.py +++ b/src/fabra/sdk.py @@ -11,6 +11,7 @@ from .sync import Sync from fabra import utils from fabra.models import shared +from typing import Dict class Fabra: connection: Connection @@ -33,7 +34,7 @@ def __init__(self, security: shared.Security = None, server_idx: int = None, server_url: str = None, - url_params: dict[str, str] = None, + url_params: Dict[str, str] = None, client: requests_http.Session = None, retry_config: utils.RetryConfig = None ) -> None: @@ -46,7 +47,7 @@ def __init__(self, :param server_url: The server URL to use for all operations :type server_url: str :param url_params: Parameters to optionally template the server URL with - :type url_params: dict[str, str] + :type url_params: Dict[str, str] :param client: The requests.Session HTTP client to use for all operations :type client: requests_http.Session :param retry_config: The utils.RetryConfig to use globally diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index 4455368..b120955 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -2,8 +2,9 @@ import requests from dataclasses import dataclass - +from typing import Dict, Tuple from .utils.retries import RetryConfig +from .utils import utils SERVERS = [ @@ -19,14 +20,14 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.45.1' - gen_version: str = '2.154.1' - user_agent: str = 'speakeasy-sdk/python 0.45.1 2.154.1 0.1.0 fabra' + sdk_version: str = '0.46.0' + gen_version: str = '2.161.0' + user_agent: str = 'speakeasy-sdk/python 0.46.0 2.161.0 0.1.0 fabra' retry_config: RetryConfig = None - def get_server_details(self) -> tuple[str, dict[str, str]]: + def get_server_details(self) -> Tuple[str, Dict[str, str]]: if self.server_url: - return self.server_url.removesuffix('/'), {} + return utils.remove_suffix(self.server_url, '/'), {} if self.server_idx is None: self.server_idx = 0 diff --git a/src/fabra/utils/retries.py b/src/fabra/utils/retries.py index 2138c1b..25f49a1 100755 --- a/src/fabra/utils/retries.py +++ b/src/fabra/utils/retries.py @@ -2,6 +2,7 @@ import random import time +from typing import List import requests @@ -32,9 +33,9 @@ def __init__(self, strategy: str, backoff: BackoffStrategy, retry_connection_err class Retries: config: RetryConfig - status_codes: list[str] + status_codes: List[str] - def __init__(self, config: RetryConfig, status_codes: list[str]): + def __init__(self, config: RetryConfig, status_codes: List[str]): self.config = config self.status_codes = status_codes diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index 4388f3b..ccfad9f 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -9,7 +9,8 @@ from decimal import Decimal from email.message import Message from enum import Enum -from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin +from typing import (Any, Callable, Dict, List, Optional, Tuple, Union, + get_args, get_origin) from xmlrpc.client import boolean import dateutil.parser @@ -19,14 +20,14 @@ class SecurityClient: client: requests.Session - query_params: dict[str, str] = {} + query_params: Dict[str, str] = {} def __init__(self, client: requests.Session): self.client = client def request(self, method, url, **kwargs): params = kwargs.get('params', {}) - kwargs["params"] = self.query_params | params + kwargs["params"] = {**self.query_params, **params} return self.client.request(method, url, **kwargs) @@ -69,7 +70,7 @@ def _parse_security_option(client: SecurityClient, option: dataclass): client, metadata, getattr(option, opt_field.name)) -def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme: any): +def _parse_security_scheme(client: SecurityClient, scheme_metadata: Dict, scheme: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -93,7 +94,7 @@ def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme client, scheme_metadata, scheme_metadata, scheme) -def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, security_metadata: dict, value: any): +def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: Dict, security_metadata: Dict, value: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -145,7 +146,7 @@ def _parse_basic_auth_scheme(client: SecurityClient, scheme: dataclass): def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, - gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: + gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> str: path_param_fields: Tuple[Field, ...] = fields(clazz) for field in path_param_fields: request_metadata = field.metadata.get('request') @@ -174,16 +175,16 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass '{' + key + '}', value, 1) else: if param_metadata.get('style', 'simple') == 'simple': - if isinstance(param, list): - pp_vals: list[str] = [] + if isinstance(param, List): + pp_vals: List[str] = [] for pp_val in param: if pp_val is None: continue pp_vals.append(_val_to_string(pp_val)) path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif isinstance(param, dict): - pp_vals: list[str] = [] + elif isinstance(param, Dict): + pp_vals: List[str] = [] for pp_key in param: if param[pp_key] is None: continue @@ -196,7 +197,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) elif not isinstance(param, (str, int, float, complex, bool, Decimal)): - pp_vals: list[str] = [] + pp_vals: List[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: param_value_metadata = param_field.metadata.get( @@ -222,14 +223,14 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) - return server_url.removesuffix("/") + path + return remove_suffix(server_url, '/') + path def is_optional(field): return get_origin(field) is Union and type(None) in get_args(field) -def template_url(url_with_params: str, params: dict[str, str]) -> str: +def template_url(url_with_params: str, params: Dict[str, str]) -> str: for key, value in params.items(): url_with_params = url_with_params.replace( '{' + key + '}', value) @@ -237,9 +238,9 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: return url_with_params -def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: - params: dict[str, list[str]] = {} +def get_query_params(clazz: type, query_params: dataclass, gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> Dict[ + str, List[str]]: + params: Dict[str, List[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) for field in param_fields: @@ -269,24 +270,24 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ else: style = metadata.get('style', 'form') if style == 'deepObject': - params = params | _get_deep_object_query_params( - metadata, f_name, value) + params = {**params, **_get_deep_object_query_params( + metadata, f_name, value)} elif style == 'form': - params = params | _get_delimited_query_params( - metadata, f_name, value, ",") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, ",")} elif style == 'pipeDelimited': - params = params | _get_delimited_query_params( - metadata, f_name, value, "|") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, "|")} else: raise Exception('not yet implemented') return params -def get_headers(headers_params: dataclass) -> dict[str, str]: +def get_headers(headers_params: dataclass) -> Dict[str, str]: if headers_params is None: return {} - headers: dict[str, str] = {} + headers: Dict[str, str] = {} param_fields: Tuple[Field, ...] = fields(headers_params) for field in param_fields: @@ -303,8 +304,8 @@ def get_headers(headers_params: dataclass) -> dict[str, str]: return headers -def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[str, str]: - params: dict[str, str] = {} +def _get_serialized_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, str]: + params: Dict[str, str] = {} serialization = metadata.get('serialization', '') if serialization == 'json': @@ -313,8 +314,8 @@ def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[st return params -def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - params: dict[str, list[str]] = {} +def _get_deep_object_query_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -330,7 +331,7 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> if obj_val is None: continue - if isinstance(obj_val, list): + if isinstance(obj_val, List): for val in obj_val: if val is None: continue @@ -348,12 +349,12 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> params[ f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ _val_to_string(obj_val)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): for key, value in obj.items(): if value is None: continue - if isinstance(value, list): + if isinstance(value, List): for val in value: if val is None: continue @@ -379,8 +380,8 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: +def _get_delimited_query_params(metadata: Dict, field_name: str, obj: any, delimiter: str) -> Dict[ + str, List[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -424,7 +425,7 @@ def serialize_request_body(request: dataclass, request_field_name: str, nullable request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, List[List[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: @@ -440,8 +441,8 @@ def serialize_content_type(field_name: str, media_type: str, request: dataclass, f"invalid request body type {type(request)} for mediaType {media_type}") -def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: - form: list[list[any]] = [] +def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, List[List[any]]]: + form: List[List[any]] = [] request_fields = fields(request) for field in request_fields: @@ -482,7 +483,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, else: field_name = field_metadata.get( "field_name", field.name) - if isinstance(val, list): + if isinstance(val, List): for value in val: if value is None: continue @@ -493,8 +494,8 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, return media_type, None, form -def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: +def serialize_dict(original: Dict, explode: bool, field_name, existing: Optional[Dict[str, List[str]]]) -> Dict[ + str, List[str]]: if existing is None: existing = [] @@ -514,8 +515,8 @@ def serialize_dict(original: dict, explode: bool, field_name, existing: Optional return existing -def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: - form: dict[str, list[str]] = {} +def serialize_form_data(field_name: str, data: dataclass) -> Dict[str, any]: + form: Dict[str, List[str]] = {} if is_dataclass(data): for field in fields(data): @@ -533,12 +534,12 @@ def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: form[field_name] = [marshal_json(val)] else: if metadata.get('style', 'form') == 'form': - form = form | _populate_form( - field_name, metadata.get('explode', True), val, _get_form_field_name, ",") + form = {**form, **_populate_form( + field_name, metadata.get('explode', True), val, _get_form_field_name, ",")} else: raise Exception( f'Invalid form style for field {field.name}') - elif isinstance(data, dict): + elif isinstance(data, Dict): for key, value in data.items(): form[key] = [_val_to_string(value)] else: @@ -557,8 +558,8 @@ def _get_form_field_name(obj_field: Field) -> str: def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, delimiter: str) -> \ - dict[str, list[str]]: - params: dict[str, list[str]] = {} + Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -584,7 +585,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): if value is None: @@ -597,7 +598,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -651,7 +652,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join(items) - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): @@ -666,7 +667,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join([str(item) for item in items]) - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -779,7 +780,7 @@ def decimaldecoder(val): def map_encoder(optional: bool, value_encoder: Callable): - def map_encode(val: dict): + def map_encode(val: Dict): if optional and val is None: return None @@ -793,7 +794,7 @@ def map_encode(val: dict): def map_decoder(value_decoder: Callable): - def map_decode(val: dict): + def map_decode(val: Dict): decoded = {} for key, value in val.items(): decoded[key] = value_decoder(value) @@ -804,7 +805,7 @@ def map_decode(val: dict): def list_encoder(optional: bool, value_encoder: Callable): - def list_encode(val: list): + def list_encode(val: List): if optional and val is None: return None @@ -818,7 +819,7 @@ def list_encode(val: list): def list_decoder(value_decoder: Callable): - def list_decode(val: list): + def list_decode(val: List): decoded = [] for value in val: decoded.append(value_decoder(value)) @@ -846,7 +847,7 @@ def _val_to_string(val): return str(val) -def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: dict[str, dict[str, dict[str, Any]]]): +def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: Dict[str, Dict[str, Dict[str, Any]]]): if value is None and gbls is not None: if 'parameters' in gbls: if param_type in gbls['parameters']: @@ -863,3 +864,9 @@ def decode_fx(obj): kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) return unmarshal_json(json.dumps(obj), kls) return decode_fx + + +def remove_suffix(input_string, suffix): + if suffix and input_string.endswith(suffix): + return input_string[:-len(suffix)] + return input_string From f2a172abb3bac21cdfed45da79b3cc5cc00deefa Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 21 Oct 2023 00:05:58 +0000 Subject: [PATCH 44/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.104.0 --- RELEASES.md | 12 +++++++++++- docs/sdks/connection/README.md | 6 +++--- docs/sdks/customerdata/README.md | 4 ++-- gen.yaml | 12 ++++++++---- setup.py | 2 +- src/fabra/sdkconfiguration.py | 6 +++--- src/fabra/utils/utils.py | 20 ++++++++++++++++++++ 7 files changed, 48 insertions(+), 14 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 3590751..8c35193 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -740,4 +740,14 @@ Based on: ### Generated - [python v0.46.0] . ### Releases -- [PyPI v0.46.0] https://pypi.org/project/fabra/0.46.0 - . \ No newline at end of file +- [PyPI v0.46.0] https://pypi.org/project/fabra/0.46.0 - . + +## 2023-10-21 00:05:44 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.47.0] . +### Releases +- [PyPI v0.47.0] https://pypi.org/project/fabra/0.47.0 - . \ No newline at end of file diff --git a/docs/sdks/connection/README.md b/docs/sdks/connection/README.md index eec31c6..252c90d 100755 --- a/docs/sdks/connection/README.md +++ b/docs/sdks/connection/README.md @@ -68,8 +68,8 @@ s = fabra.Fabra( req = operations.GetSchemaRequest( connection_id=367941, - namespace='hence', - table_name='driver', + namespace='string', + table_name='string', ) res = s.connection.get_schema(req) @@ -109,7 +109,7 @@ s = fabra.Fabra( req = operations.GetTablesRequest( connection_id=820803, - namespace='Sweden', + namespace='string', ) res = s.connection.get_tables(req) diff --git a/docs/sdks/customerdata/README.md b/docs/sdks/customerdata/README.md index b2fb4ca..dc11a9a 100755 --- a/docs/sdks/customerdata/README.md +++ b/docs/sdks/customerdata/README.md @@ -30,8 +30,8 @@ req = operations.QueryObjectRequest( ), ], ), - end_customer_id='once', - object_id=819181, + end_customer_id='string', + object_id=906396, ) res = s.customer_data.query_object(req) diff --git a/gen.yaml b/gen.yaml index 4383e40..559f118 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,22 +2,26 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.101.0 - generationVersion: 2.161.0 + speakeasyVersion: 1.104.0 + generationVersion: 2.169.0 generation: + repoURL: https://github.com/fabra-io/python-sdk.git sdkClassName: Fabra sdkFlattening: false singleTagPerOp: false telemetryEnabled: false features: python: - core: 3.0.2 + core: 3.3.0 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 0.46.0 + version: 0.47.0 author: fabra description: Python Client SDK Generated by Speakeasy flattenGlobalSecurity: false + installationURL: https://github.com/fabra-io/python-sdk.git maxMethodParams: 0 packageName: fabra + published: true + repoSubDirectory: . diff --git a/setup.py b/setup.py index 1664259..f43827a 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.46.0", + version="0.47.0", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index b120955..a161cfb 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.46.0' - gen_version: str = '2.161.0' - user_agent: str = 'speakeasy-sdk/python 0.46.0 2.161.0 0.1.0 fabra' + sdk_version: str = '0.47.0' + gen_version: str = '2.169.0' + user_agent: str = 'speakeasy-sdk/python 0.47.0 2.169.0 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/src/fabra/utils/utils.py b/src/fabra/utils/utils.py index ccfad9f..3ab1261 100755 --- a/src/fabra/utils/utils.py +++ b/src/fabra/utils/utils.py @@ -759,6 +759,8 @@ def bigintencode(val: int): def bigintdecoder(val): + if isinstance(val, float): + raise ValueError(f"{val} is a float") return int(val) @@ -828,6 +830,24 @@ def list_decode(val: List): return list_decode +def union_encoder(all_encoders: Dict[str, Callable]): + def selective_encoder(val: any): + if type(val) in all_encoders: + return all_encoders[type(val)](val) + return val + return selective_encoder + +def union_decoder(all_decoders: List[Callable]): + def selective_decoder(val: any): + decoded = val + for decoder in all_decoders: + try: + decoded = decoder(val) + break + except (TypeError, ValueError): + continue + return decoded + return selective_decoder def get_field_name(name): def override(_, _field_name=name): From 381f969646308ecaf4e2b96a95fb4e065b297d95 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 28 Oct 2023 00:05:28 +0000 Subject: [PATCH 45/45] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.109.0 --- README.md | 99 +++++++++++++++++++++++++++++++++++ RELEASES.md | 12 ++++- gen.yaml | 8 +-- setup.py | 2 +- src/fabra/sdkconfiguration.py | 6 +-- 5 files changed, 118 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 725681c..930acfa 100755 --- a/README.md +++ b/README.md @@ -95,6 +95,105 @@ return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: + + + +# Error Handling + +Handling errors in your 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. + + + + + + + +# Server Selection + +## Select Server by Index + +You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: + +| # | Server | Variables | +| - | ------ | --------- | +| 0 | `https://api.fabra.io` | None | + +For example: + + +```python +import fabra +from fabra.models import operations, shared + +s = fabra.Fabra( + security=shared.Security( + api_key_auth="", + ), + server_idx=0 +) + +req = operations.GetNamespacesRequest( + connection_id=995455, +) + +res = s.connection.get_namespaces(req) + +if res.namespaces is not None: + # handle response + pass +``` + + +## Override Server URL Per-Client + +The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example: + + +```python +import fabra +from fabra.models import operations, shared + +s = fabra.Fabra( + security=shared.Security( + api_key_auth="", + ), + server_url="https://api.fabra.io" +) + +req = operations.GetNamespacesRequest( + connection_id=995455, +) + +res = s.connection.get_namespaces(req) + +if res.namespaces is not None: + # handle response + pass +``` + + + + + +# Custom HTTP Client + +The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object. + + +For example, you could specify a header for every request that your sdk makes as follows: + +```python +import fabra +import requests + +http_client = requests.Session() +http_client.headers.update({'x-custom-header': 'someValue'}) +s = fabra.Fabra(client: http_client) +``` + + + + diff --git a/RELEASES.md b/RELEASES.md index 8c35193..3ed3e26 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -750,4 +750,14 @@ Based on: ### Generated - [python v0.47.0] . ### Releases -- [PyPI v0.47.0] https://pypi.org/project/fabra/0.47.0 - . \ No newline at end of file +- [PyPI v0.47.0] https://pypi.org/project/fabra/0.47.0 - . + +## 2023-10-28 00:05:15 +### Changes +Based on: +- OpenAPI Doc 0.1.0 https://fabra-io.github.io/docs/openapi.yaml +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.47.1] . +### Releases +- [PyPI v0.47.1] https://pypi.org/project/fabra/0.47.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 559f118..52db388 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: a08d8b55b00bfb4ba4828a322fd16614 docVersion: 0.1.0 - speakeasyVersion: 1.104.0 - generationVersion: 2.169.0 + speakeasyVersion: 1.109.0 + generationVersion: 2.173.0 generation: repoURL: https://github.com/fabra-io/python-sdk.git sdkClassName: Fabra @@ -12,11 +12,11 @@ generation: telemetryEnabled: false features: python: - core: 3.3.0 + core: 3.3.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 0.47.0 + version: 0.47.1 author: fabra description: Python Client SDK Generated by Speakeasy flattenGlobalSecurity: false diff --git a/setup.py b/setup.py index f43827a..41fa093 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="fabra", - version="0.47.0", + version="0.47.1", author="fabra", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/src/fabra/sdkconfiguration.py b/src/fabra/sdkconfiguration.py index a161cfb..6e4c38b 100755 --- a/src/fabra/sdkconfiguration.py +++ b/src/fabra/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '0.47.0' - gen_version: str = '2.169.0' - user_agent: str = 'speakeasy-sdk/python 0.47.0 2.169.0 0.1.0 fabra' + sdk_version: str = '0.47.1' + gen_version: str = '2.173.0' + user_agent: str = 'speakeasy-sdk/python 0.47.1 2.173.0 0.1.0 fabra' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: