Skip to content

Commit

Permalink
auto-bump connector version
Browse files Browse the repository at this point in the history
  • Loading branch information
octavia-squidington-iii committed Apr 20, 2022
1 parent 882bfd8 commit 94d7445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
- name: Google Analytics
sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003
dockerRepository: airbyte/source-google-analytics-v4
dockerImageTag: 0.1.18
dockerImageTag: 0.1.19
documentationUrl: https://docs.airbyte.io/integrations/sources/google-analytics-v4
icon: google-analytics.svg
sourceType: api
Expand Down
8 changes: 4 additions & 4 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2801,7 +2801,7 @@
oauthFlowOutputParameters:
- - "access_token"
- - "refresh_token"
- dockerImage: "airbyte/source-google-analytics-v4:0.1.18"
- dockerImage: "airbyte/source-google-analytics-v4:0.1.19"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/google-analytics-v4"
connectionSpecification:
Expand Down Expand Up @@ -2831,9 +2831,9 @@
window_in_days:
type: "integer"
title: "Window in days (Optional)"
description: "The amount of days for each data-chunk beginning from start_date.\
\ Bigger the value - faster the fetch. (Min=1, as for a Day; Max=364,\
\ as for a Year)."
description: "The amount of days each stream slice would consist of beginning\
\ from start_date. Bigger the value - faster the fetch. (Min=1, as for\
\ a Day; Max=364, as for a Year)."
examples:
- 30
- 60
Expand Down

1 comment on commit 94d7445

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Source Google Analytics V4(#12150)

Measures

Name Value Name Value Name Value
Lines to Cover 280 Vulnerabilities 0 Duplicated Blocks 0
Lines of Code 340 Bugs 0 Duplicated Lines (%) 0.0
Coverage 91.8 Security Rating A Quality Gate Status OK
Code Smells 16 Reliability Rating A Blocker Issues 0
Critical Issues 1 Major Issues 5 Minor Issues 10

Detected Issues

Rule File Description Message
python:mypy_attr_defined (MINOR) source_google_analytics_v4/source.py:232 Check that attribute exists Module has no attribute "parse" . Code line: prev_end_date = pendulum.parse(stream_state.get(self.curso...
python:mypy_list_item (MINOR) source_google_analytics_v4/source.py:247 Check list items in a list expression [item, ...] List item 0 has incompatible type "None"; expected "Dict[str, str]" . Code line: return date_slices or [None]
python:mypy_no_any_return (MINOR) source_google_analytics_v4/source.py:251 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "List[MutableMapping[Any, Any]]" . Code line: return report_body.get("data", {}).get("rows", [])
python:mypy_no_any_return (MINOR) source_google_analytics_v4/source.py:431 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "Iterable[Mapping[str, Any]]" . Code line: return super().read_records(sync_mode, cursor_field, stream_sl...
python:mypy_return (MINOR) source_google_analytics_v4/source.py:289 Check that function always returns a value Missing return statement . Code line: def lookup_data_format(attribute: str) -> Union[str, None]:
python:S1192 (CRITICAL) source_google_analytics_v4/source.py:290 String literals should not be duplicated Define a constant instead of duplicating this literal "ga:date" 4 times.
python:mypy_attr_defined (MINOR) source_google_analytics_v4/source.py:512 Check that attribute exists Module has no attribute "parse" . Code line: start_date = pendulum.parse(self.start_date).date()
python:mypy_arg_type (MINOR) source_google_analytics_v4/source.py:578 Check argument types in calls Argument 1 to "loads" has incompatible type "Optional[bytes]"; expected "Union[str, bytes]" . Code line: reports = json.loads(pkgutil.get_data("source_google_analytics...
python:mypy_import (MINOR) source_google_analytics_v4/source.py:16 Require that imported module can be found or has stubs Library stubs not installed for "requests" (or incompatible with Python 3.9) . Code line: import requests
python:S112 (MAJOR) source_google_analytics_v4/source.py:81 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:mypy_return (MINOR) source_google_analytics_v4/source.py:132 Check that function always returns a value Missing return statement . Code line: def next_page_token(self, response: requests.Response) -> Optional...
python:mypy_attr_defined (MINOR) source_google_analytics_v4/source.py:230 Check that attribute exists Module has no attribute "parse" . Code line: start_date = pendulum.parse(self.start_date).date()
python:S1871 (MAJOR) source_google_analytics_v4/source.py:274 Two branches in a conditional structure should not have exactly the same implementation Either merge this branch with the identical one on line "271" or change one of the implementations.
python:S1871 (MAJOR) source_google_analytics_v4/source.py:276 Two branches in a conditional structure should not have exactly the same implementation Either merge this branch with the identical one on line "271" or change one of the implementations.
python:S112 (MAJOR) source_google_analytics_v4/source.py:465 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:S112 (MAJOR) source_google_analytics_v4/source.py:470 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.

Coverage (91.8%)

File Coverage File Coverage
source_google_analytics_v4/init.py 100.0 source_google_analytics_v4/source.py 91.7

Please sign in to comment.