airbyte-source-google-sheets 0.9.5.dev202505141418__py3-none-any.whl → 0.9.5.dev202505142036__py3-none-any.whl
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.dev202505141418.dist-info → airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info}/METADATA +1 -1
- {airbyte_source_google_sheets-0.9.5.dev202505141418.dist-info → airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info}/RECORD +6 -6
- source_google_sheets/components/extractors.py +3 -5
- source_google_sheets/utils.py +1 -1
- {airbyte_source_google_sheets-0.9.5.dev202505141418.dist-info → airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info}/WHEEL +0 -0
- {airbyte_source_google_sheets-0.9.5.dev202505141418.dist-info → airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
source_google_sheets/__init__.py,sha256=dYaZS0KrTjksk_yeSuXmNDXDsNKWctFnlZJSMgLryXE,135
|
2
2
|
source_google_sheets/components/__init__.py,sha256=v7odPaLdz2S_NRzExsxkk6694Vmjbplz4Z5mA4lxdkA,343
|
3
|
-
source_google_sheets/components/extractors.py,sha256=
|
3
|
+
source_google_sheets/components/extractors.py,sha256=S7j78aZsoxYOj2ugCMWuXmphu2Eu8YfmYD3Xu_2CPAc,8832
|
4
4
|
source_google_sheets/components/partition_routers.py,sha256=SWo1V0K10ZdWE2TQ0KuQUfue04RTyHJe1f6BOj6c96s,1265
|
5
5
|
source_google_sheets/manifest.yaml,sha256=HG8vpxv4lqwe5TCneq_zxuERaGNdtno7yAs61Wsk30E,15821
|
6
6
|
source_google_sheets/models/__init__.py,sha256=Z-4MTpxG5t2jGhXzs4PPoIOa83zw3jRnUDx0N9Puv3s,61
|
@@ -9,8 +9,8 @@ source_google_sheets/models/spreadsheet_values.py,sha256=-XRMuuILn9JN8svHNTj6-oG
|
|
9
9
|
source_google_sheets/run.py,sha256=eaPRcarWqkB2b2DokvI83w7rz1blmWPQCFahvCyCdSY,1887
|
10
10
|
source_google_sheets/source.py,sha256=qO1KoGdphieu7F5VgDYtrbqs56AUvMWFGNvFHP2b9Z4,778
|
11
11
|
source_google_sheets/spec.yaml,sha256=RIUILMhfS0is2r_mCkmIVrQfvND1D3eobDK1YElmzhU,5009
|
12
|
-
source_google_sheets/utils.py,sha256=
|
13
|
-
airbyte_source_google_sheets-0.9.5.
|
14
|
-
airbyte_source_google_sheets-0.9.5.
|
15
|
-
airbyte_source_google_sheets-0.9.5.
|
16
|
-
airbyte_source_google_sheets-0.9.5.
|
12
|
+
source_google_sheets/utils.py,sha256=JEQIVLSFEAff-7zF3gPzsvFc9xLfCj9hVuFFYrSWiOo,2290
|
13
|
+
airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info/METADATA,sha256=-6yDL8Kuv_mT4ImBf1toakCIbNX3l-2qTd3XfI9WILY,5384
|
14
|
+
airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
15
|
+
airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info/entry_points.txt,sha256=Dtsfjohe5IPUFyqojk49SIoP7CifCTlNLG_pgivzppo,69
|
16
|
+
airbyte_source_google_sheets-0.9.5.dev202505142036.dist-info/RECORD,,
|
@@ -56,9 +56,7 @@ class RawSchemaParser:
|
|
56
56
|
names_conversion: bool,
|
57
57
|
):
|
58
58
|
"""
|
59
|
-
1. Parses sheet headers from the provided raw schema
|
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.
|
59
|
+
1. Parses sheet headers from the provided raw schema, skipping any headers that are empty or contain only whitespace.
|
62
60
|
2. Makes name conversion if required.
|
63
61
|
3. Removes duplicated fields from the schema.
|
64
62
|
Return a list of tuples with correct property index (by found in array), value and raw_schema
|
@@ -69,8 +67,8 @@ class RawSchemaParser:
|
|
69
67
|
seen_values = set()
|
70
68
|
for property_index, raw_schema_property in enumerate(raw_schema_properties):
|
71
69
|
raw_schema_property_value = self._extract_data(raw_schema_property, key_pointer)
|
72
|
-
if not raw_schema_property_value:
|
73
|
-
|
70
|
+
if not raw_schema_property_value or raw_schema_property_value.isspace():
|
71
|
+
continue
|
74
72
|
if names_conversion:
|
75
73
|
raw_schema_property_value = safe_name_conversion(raw_schema_property_value)
|
76
74
|
|
source_google_sheets/utils.py
CHANGED
File without changes
|