airbyte-source-google-sheets 0.9.4.dev202503182242__tar.gz → 0.9.5.dev202505142036__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.
Files changed (15) hide show
  1. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/PKG-INFO +1 -1
  2. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/pyproject.toml +1 -1
  3. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/components/extractors.py +3 -5
  4. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/README.md +0 -0
  5. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/__init__.py +0 -0
  6. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/components/__init__.py +0 -0
  7. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/components/partition_routers.py +0 -0
  8. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/manifest.yaml +0 -0
  9. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/models/__init__.py +0 -0
  10. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/models/spreadsheet.py +0 -0
  11. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/models/spreadsheet_values.py +0 -0
  12. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/run.py +0 -0
  13. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/source.py +0 -0
  14. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/spec.yaml +0 -0
  15. {airbyte_source_google_sheets-0.9.4.dev202503182242 → airbyte_source_google_sheets-0.9.5.dev202505142036}/source_google_sheets/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-sheets
3
- Version: 0.9.4.dev202503182242
3
+ Version: 0.9.5.dev202505142036
4
4
  Summary: Source implementation for Google Sheets.
5
5
  License: Elv2
6
6
  Author: Airbyte
@@ -5,7 +5,7 @@ requires = [
5
5
  build-backend = "poetry.core.masonry.api"
6
6
 
7
7
  [tool.poetry]
8
- version = "0.9.4.dev202503182242"
8
+ version = "0.9.5.dev202505142036"
9
9
  name = "airbyte-source-google-sheets"
10
10
  description = "Source implementation for Google Sheets."
11
11
  authors = [
@@ -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. 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.
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
- break
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