airbyte-source-google-search-console 1.5.13__tar.gz → 1.5.14.dev202502142052__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/PKG-INFO +1 -1
  2. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/pyproject.toml +1 -1
  3. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/streams.py +15 -2
  4. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/README.md +0 -0
  5. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/__init__.py +0 -0
  6. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/config_migrations.py +0 -0
  7. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/exceptions.py +0 -0
  8. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/run.py +0 -0
  9. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_all_fields.json +0 -0
  10. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_by_country.json +0 -0
  11. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_by_date.json +0 -0
  12. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_by_device.json +0 -0
  13. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_by_page.json +0 -0
  14. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_by_query.json +0 -0
  15. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_keyword_page_report.json +0 -0
  16. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_keyword_site_report_by_page.json +0 -0
  17. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_keyword_site_report_by_site.json +0 -0
  18. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_page_report.json +0 -0
  19. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_site_report_by_page.json +0 -0
  20. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/search_analytics_site_report_by_site.json +0 -0
  21. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/sitemaps.json +0 -0
  22. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/schemas/sites.json +0 -0
  23. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/service_account_authenticator.py +0 -0
  24. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/source.py +0 -0
  25. {airbyte_source_google_search_console-1.5.13 → airbyte_source_google_search_console-1.5.14.dev202502142052}/source_google_search_console/spec.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-search-console
3
- Version: 1.5.13
3
+ Version: 1.5.14.dev202502142052
4
4
  Summary: Source implementation for Google Search Console.
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 = "1.5.13"
8
+ version = "1.5.14.dev202502142052"
9
9
  name = "airbyte-source-google-search-console"
10
10
  description = "Source implementation for Google Search Console."
11
11
  authors = [
@@ -371,7 +371,19 @@ class SearchAppearance(SearchAnalytics):
371
371
  primary_key = None
372
372
  dimensions = ["searchAppearance"]
373
373
 
374
-
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
375
387
  class SearchByKeyword(SearchAnalytics):
376
388
  """
377
389
  Adds searchAppearance value to dimensionFilterGroups in json body
@@ -386,7 +398,7 @@ class SearchByKeyword(SearchAnalytics):
386
398
  ) -> Iterable[Optional[Mapping[str, Any]]]:
387
399
  search_appearance_stream = SearchAppearance(self._session.auth, self._site_urls, self._start_date, self._end_date)
388
400
 
389
- for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
401
+ for stream_slice in super().stream_slices(sync_mode, cursor_field, stream_state):
390
402
  keywords_records = search_appearance_stream.read_records(
391
403
  sync_mode=SyncMode.full_refresh, stream_state=stream_state, stream_slice=stream_slice
392
404
  )
@@ -395,6 +407,7 @@ class SearchByKeyword(SearchAnalytics):
395
407
  for keyword in keywords:
396
408
  filters = {"dimension": "searchAppearance", "operator": "equals", "expression": keyword}
397
409
  stream_slice["dimensionFilterGroups"] = [{"groupType": "and", "filters": filters}]
410
+ stream_slice["dimensions"] = self.dimensions
398
411
 
399
412
  yield stream_slice
400
413