airbyte-source-google-search-console 1.5.14.dev202502142052__py3-none-any.whl → 1.5.15__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-search-console
3
- Version: 1.5.14.dev202502142052
3
+ Version: 1.5.15
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=MPy075V0U5peAe3uZFgjGXws0rbARktKqLgnJvLvxpQ,20399
23
- airbyte_source_google_search_console-1.5.14.dev202502142052.dist-info/METADATA,sha256=5Mhh9kTcntbXEVUFsujkVjbVq37RDMPUOIk6PaFW5z8,5646
24
- airbyte_source_google_search_console-1.5.14.dev202502142052.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
25
- airbyte_source_google_search_console-1.5.14.dev202502142052.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
- airbyte_source_google_search_console-1.5.14.dev202502142052.dist-info/RECORD,,
22
+ source_google_search_console/streams.py,sha256=r_UtdC307x80gB1yTR7-yls0VswdFDPfVKLWfExt4Zc,19823
23
+ airbyte_source_google_search_console-1.5.15.dist-info/METADATA,sha256=569XtJploozRqevGaUEOEmOZD310yOn37q_Shm9eflU,5630
24
+ airbyte_source_google_search_console-1.5.15.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
25
+ airbyte_source_google_search_console-1.5.15.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
+ airbyte_source_google_search_console-1.5.15.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.1
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -371,19 +371,7 @@ class SearchAppearance(SearchAnalytics):
371
371
  primary_key = None
372
372
  dimensions = ["searchAppearance"]
373
373
 
374
- def request_body_json(
375
- self,
376
- stream_state: Mapping[str, Any] = None,
377
- stream_slice: Mapping[str, Any] = None,
378
- next_page_token: Mapping[str, Any] = None,
379
- ) -> Optional[Union[Dict[str, Any], str]]:
380
- data = super().request_body_json(stream_state, stream_slice, next_page_token)
381
-
382
- fields_to_remove = ["aggregationType", "startRow", "rowLimit", "dataState"]
383
- for field in fields_to_remove:
384
- data.pop(field, None)
385
-
386
- return data
374
+
387
375
  class SearchByKeyword(SearchAnalytics):
388
376
  """
389
377
  Adds searchAppearance value to dimensionFilterGroups in json body
@@ -398,7 +386,7 @@ class SearchByKeyword(SearchAnalytics):
398
386
  ) -> Iterable[Optional[Mapping[str, Any]]]:
399
387
  search_appearance_stream = SearchAppearance(self._session.auth, self._site_urls, self._start_date, self._end_date)
400
388
 
401
- for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
389
+ for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
402
390
  keywords_records = search_appearance_stream.read_records(
403
391
  sync_mode=SyncMode.full_refresh, stream_state=stream_state, stream_slice=stream_slice
404
392
  )
@@ -407,7 +395,6 @@ class SearchByKeyword(SearchAnalytics):
407
395
  for keyword in keywords:
408
396
  filters = {"dimension": "searchAppearance", "operator": "equals", "expression": keyword}
409
397
  stream_slice["dimensionFilterGroups"] = [{"groupType": "and", "filters": filters}]
410
- stream_slice["dimensions"] = self.dimensions
411
398
 
412
399
  yield stream_slice
413
400