airbyte-source-google-sheets 0.11.0.dev202506092202__py3-none-any.whl → 0.11.0.dev202506101346__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-sheets
3
- Version: 0.11.0.dev202506092202
3
+ Version: 0.11.0.dev202506101346
4
4
  Summary: Source implementation for Google Sheets.
5
5
  License: Elv2
6
6
  Author: Airbyte
@@ -2,7 +2,7 @@ source_google_sheets/__init__.py,sha256=dYaZS0KrTjksk_yeSuXmNDXDsNKWctFnlZJSMgLr
2
2
  source_google_sheets/components/__init__.py,sha256=v7odPaLdz2S_NRzExsxkk6694Vmjbplz4Z5mA4lxdkA,343
3
3
  source_google_sheets/components/extractors.py,sha256=7CLiYFYTq6DfeYCxchvQI_sQLpaVd_86Zfon2hKZe9Q,9842
4
4
  source_google_sheets/components/partition_routers.py,sha256=SWo1V0K10ZdWE2TQ0KuQUfue04RTyHJe1f6BOj6c96s,1265
5
- source_google_sheets/manifest.yaml,sha256=rzqv_4-pDmveN4Dmphz8YBhq-xNk0tMprNjQPwfK5hw,16710
5
+ source_google_sheets/manifest.yaml,sha256=bqHUPG5-9_bd-VQ5xkMbi8_DopxHdNYdGUVILUMR31U,17774
6
6
  source_google_sheets/models/__init__.py,sha256=Z-4MTpxG5t2jGhXzs4PPoIOa83zw3jRnUDx0N9Puv3s,61
7
7
  source_google_sheets/models/spreadsheet.py,sha256=DEef7bWQEpY1Uqyk7RN6qLF8oxLSNzuAtHlGRmMAKQA,1112
8
8
  source_google_sheets/models/spreadsheet_values.py,sha256=-XRMuuILn9JN8svHNTj6-oG8mLTZOZ5Hejy2pJ5bILk,440
@@ -10,7 +10,7 @@ source_google_sheets/run.py,sha256=eaPRcarWqkB2b2DokvI83w7rz1blmWPQCFahvCyCdSY,1
10
10
  source_google_sheets/source.py,sha256=qO1KoGdphieu7F5VgDYtrbqs56AUvMWFGNvFHP2b9Z4,778
11
11
  source_google_sheets/spec.yaml,sha256=39lV4os3xLW0OAWAMPdABxiwMvswNk24qyWjWjK-MEg,8794
12
12
  source_google_sheets/utils.py,sha256=jiVPqsRDjVgdwIiBJMvFJEwwuUBQ7BQAebRqfpS9pZw,6943
13
- airbyte_source_google_sheets-0.11.0.dev202506092202.dist-info/METADATA,sha256=5mp5qyhfF3-tH-RiZkILKTHOC4WMYQVqa_gyNB90ZdY,5385
14
- airbyte_source_google_sheets-0.11.0.dev202506092202.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
15
- airbyte_source_google_sheets-0.11.0.dev202506092202.dist-info/entry_points.txt,sha256=Dtsfjohe5IPUFyqojk49SIoP7CifCTlNLG_pgivzppo,69
16
- airbyte_source_google_sheets-0.11.0.dev202506092202.dist-info/RECORD,,
13
+ airbyte_source_google_sheets-0.11.0.dev202506101346.dist-info/METADATA,sha256=jlC45Q2-b10nikd_YCQHqq72LP7qc4Hpi-yAYOfv_kk,5385
14
+ airbyte_source_google_sheets-0.11.0.dev202506101346.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
15
+ airbyte_source_google_sheets-0.11.0.dev202506101346.dist-info/entry_points.txt,sha256=Dtsfjohe5IPUFyqojk49SIoP7CifCTlNLG_pgivzppo,69
16
+ airbyte_source_google_sheets-0.11.0.dev202506101346.dist-info/RECORD,,
@@ -14,6 +14,7 @@ dynamic_streams:
14
14
  name: ""
15
15
  $parameters:
16
16
  i: 123
17
+ primary_key: []
17
18
  primary_key: []
18
19
  retriever:
19
20
  type: SimpleRetriever
@@ -172,6 +173,30 @@ dynamic_streams:
172
173
  type: ComponentMappingDefinition
173
174
  value: "{{config.get('batch_size', 1000000)}}"
174
175
  description: batch size count for dynamic stream partition router (slicer).
176
+ - field_path:
177
+ - $parameters
178
+ - primary_key
179
+ type: ComponentMappingDefinition
180
+ # This Jinja2 block sets the primary key for each stream.
181
+ # It first resolves the stream name, using the override from config if present, otherwise the original sheet/tab name.
182
+ # The PK is then set at the end: {{ [] }}
183
+
184
+ value: >-
185
+ {%- set resolved_stream_name = (
186
+ (
187
+ config.get('stream_name_overrides', [])
188
+ | selectattr('source_stream_name', 'equalto', components_values['properties']['title'])
189
+ | list
190
+ )[0]['custom_stream_name']
191
+ if (
192
+ config.get('stream_name_overrides', [])
193
+ | selectattr('source_stream_name', 'equalto', components_values['properties']['title'])
194
+ | list
195
+ )
196
+ else components_values['properties']['title']
197
+ ) -%}
198
+ {{ [] }}
199
+ description: Primary key for the stream.
175
200
 
176
201
  definitions:
177
202
  streams: