airbyte-source-google-search-console 1.5.14.dev202502181519__py3-none-any.whl → 1.5.16.dev202503120000__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-search-console
3
- Version: 1.5.14.dev202502181519
3
+ Version: 1.5.16.dev202503120000
4
4
  Summary: Source implementation for Google Search Console.
5
5
  License: Elv2
6
6
  Author: Airbyte
@@ -19,8 +19,8 @@ source_google_search_console/schemas/sites.json,sha256=WNiCRuStPL1YkJiFa8FEbNJmq
19
19
  source_google_search_console/service_account_authenticator.py,sha256=gjUxt0xFxj82uviCQNTsA1Jlee__UDhYNjE7bRO1G0U,1227
20
20
  source_google_search_console/source.py,sha256=8n10_agSa2rvPvEyBvOfOpmpEardbEhi3H0vlK2A4_g,10002
21
21
  source_google_search_console/spec.json,sha256=WYtFvaSqWYGm1Dt2yV9G92U78Q94rh9oarbxJe3H7xo,8470
22
- source_google_search_console/streams.py,sha256=xQbA4h9uWliHX4OuAPHwrTVbm-NKG6-8b2N0fW9imFI,20478
23
- airbyte_source_google_search_console-1.5.14.dev202502181519.dist-info/METADATA,sha256=Vk76N4nHyE8PY0JuH3XnMXW1lvVlcr41QGPMMhTZLic,5646
24
- airbyte_source_google_search_console-1.5.14.dev202502181519.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
25
- airbyte_source_google_search_console-1.5.14.dev202502181519.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
- airbyte_source_google_search_console-1.5.14.dev202502181519.dist-info/RECORD,,
22
+ source_google_search_console/streams.py,sha256=OQJ8kQS_QZBkHZE3KNNpqNCDuixE9jeQ91PkJwv9o6E,19695
23
+ airbyte_source_google_search_console-1.5.16.dev202503120000.dist-info/METADATA,sha256=1fH-_BgBDDe1MejjqIvGZPqTPy_m-LxmlfFr9uMgwAc,5646
24
+ airbyte_source_google_search_console-1.5.16.dev202503120000.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
25
+ airbyte_source_google_search_console-1.5.16.dev202503120000.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
+ airbyte_source_google_search_console-1.5.16.dev202503120000.dist-info/RECORD,,
@@ -397,20 +397,8 @@ class SearchByKeyword(SearchAnalytics):
397
397
  def stream_slices(
398
398
  self, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None
399
399
  ) -> Iterable[Optional[Mapping[str, Any]]]:
400
- search_appearance_stream = SearchAppearance(self._session.auth, self._site_urls, self._start_date, self._end_date)
401
-
402
- for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
403
- keywords_records = search_appearance_stream.read_records(
404
- sync_mode=SyncMode.full_refresh, stream_state=stream_state, stream_slice=stream_slice
405
- )
406
- keywords = {record["searchAppearance"] for record in keywords_records}
407
-
408
- for keyword in keywords:
409
- filters = {"dimension": "searchAppearance", "operator": "equals", "expression": keyword}
410
- stream_slice["dimensionFilterGroups"] = [{"groupType": "and", "filters": filters}]
411
- stream_slice["dimensions"] = self.dimensions
412
-
413
- yield stream_slice
400
+ for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
401
+ yield stream_slice
414
402
 
415
403
  def request_body_json(
416
404
  self,
@@ -419,7 +407,6 @@ class SearchByKeyword(SearchAnalytics):
419
407
  next_page_token: Mapping[str, Any] = None,
420
408
  ) -> Optional[Union[Dict[str, Any], str]]:
421
409
  data = super().request_body_json(stream_state, stream_slice, next_page_token)
422
- data["dimensionFilterGroups"] = stream_slice["dimensionFilterGroups"]
423
410
  return data
424
411
 
425
412