airbyte-source-google-sheets 0.9.5.dev202505142036__tar.gz → 0.9.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/PKG-INFO +1 -1
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/pyproject.toml +1 -1
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/components/extractors.py +4 -2
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/manifest.yaml +7 -5
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/README.md +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/__init__.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/components/__init__.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/components/partition_routers.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/models/__init__.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/models/spreadsheet.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/models/spreadsheet_values.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/run.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/source.py +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/spec.yaml +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/source_google_sheets/utils.py +0 -0
@@ -56,7 +56,9 @@ class RawSchemaParser:
|
|
56
56
|
names_conversion: bool,
|
57
57
|
):
|
58
58
|
"""
|
59
|
-
1. Parses sheet headers from the provided raw schema
|
59
|
+
1. Parses sheet headers from the provided raw schema. This method assumes that data is contiguous
|
60
|
+
i.e: every cell contains a value and the first cell which does not contain a value denotes the end
|
61
|
+
of the headers.
|
60
62
|
2. Makes name conversion if required.
|
61
63
|
3. Removes duplicated fields from the schema.
|
62
64
|
Return a list of tuples with correct property index (by found in array), value and raw_schema
|
@@ -68,7 +70,7 @@ class RawSchemaParser:
|
|
68
70
|
for property_index, raw_schema_property in enumerate(raw_schema_properties):
|
69
71
|
raw_schema_property_value = self._extract_data(raw_schema_property, key_pointer)
|
70
72
|
if not raw_schema_property_value or raw_schema_property_value.isspace():
|
71
|
-
|
73
|
+
break
|
72
74
|
if names_conversion:
|
73
75
|
raw_schema_property_value = safe_name_conversion(raw_schema_property_value)
|
74
76
|
|
@@ -224,11 +224,11 @@ definitions:
|
|
224
224
|
path: >-
|
225
225
|
{% if config["spreadsheet_id"] | regex_search("^(https://.*)") %}{{ config["spreadsheet_id"] | regex_search("/([-\\w]{20,})([/]?)") }}{% else %}{{ config["spreadsheet_id"] }}{% endif %}?includeGridData=true&ranges={{stream_partition.sheet_id | urlencode}}!1:1&alt=json
|
226
226
|
error_handler:
|
227
|
-
type:
|
228
|
-
|
229
|
-
- type:
|
230
|
-
|
231
|
-
|
227
|
+
type: DefaultErrorHandler
|
228
|
+
backoff_strategies:
|
229
|
+
- type: ExponentialBackoffStrategy
|
230
|
+
response_filters:
|
231
|
+
$ref: "#/definitions/response_filters/single_sheet_response_error_filters"
|
232
232
|
response_filters:
|
233
233
|
expected_one_sheet:
|
234
234
|
type: HttpResponseFilter
|
@@ -320,9 +320,11 @@ definitions:
|
|
320
320
|
single_sheet_response_error_filters:
|
321
321
|
- $ref: "#/definitions/response_filters/expected_one_sheet"
|
322
322
|
- $ref: "#/definitions/response_filters/ignore_duplicate_headers"
|
323
|
+
- $ref: "#/definitions/response_filters/rate_limit"
|
323
324
|
check_operation_single_sheet_response_error_filters:
|
324
325
|
- $ref: "#/definitions/response_filters/expected_one_sheet"
|
325
326
|
- $ref: "#/definitions/response_filters/fail_duplicate_headers"
|
327
|
+
- $ref: "#/definitions/response_filters/rate_limit"
|
326
328
|
response_error_filters:
|
327
329
|
- $ref: "#/definitions/response_filters/server_error"
|
328
330
|
- $ref: "#/definitions/response_filters/forbidden"
|
{airbyte_source_google_sheets-0.9.5.dev202505142036 → airbyte_source_google_sheets-0.9.6}/README.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|