Skip to content

Commit

Permalink
Merge branch 'master' into marcos/test-pr-10756
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm committed Mar 2, 2022
2 parents 2bc5c06 + 2b6926d commit 05a6296
Show file tree
Hide file tree
Showing 9 changed files with 566 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- name: Chargebee
sourceDefinitionId: 686473f1-76d9-4994-9cc7-9b13da46147c
dockerRepository: airbyte/source-chargebee
dockerImageTag: 0.1.9
dockerImageTag: 0.1.10
documentationUrl: https://docs.airbyte.io/integrations/sources/chargebee
icon: chargebee.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-chargebee:0.1.9"
- dockerImage: "airbyte/source-chargebee:0.1.10"
spec:
documentationUrl: "https://apidocs.chargebee.com/docs/api"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ RUN pip install .

ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.9
LABEL io.airbyte.version=0.1.10
LABEL io.airbyte.name=airbyte/source-chargebee
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,19 @@
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
},
{
"stream": {
"name": "credit_note",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
}
]
}
Loading

1 comment on commit 05a6296

@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 Chartmogul(#10810)

Measures

Name Value Name Value Name Value
Quality Gate Status OK Coverage 85.1 Code Smells 8
Reliability Rating A Duplicated Lines (%) 0.0 Security Rating A
Lines of Code 108 Vulnerabilities 0 Bugs 0
Lines to Cover 87 Duplicated Blocks 0 Blocker Issues 0
Critical Issues 0 Major Issues 0 Minor Issues 8

Detected Issues

Rule File Description Message
python:mypy_arg_type (MINOR) source_chartmogul/source.py:145 Check argument types in calls Argument "start_date" to "CustomerCount" has incompatible type "Optional[Any]"; expected "str" . Code line: ... CustomerCount(authenticator=auth, start_date=config.get("start_dat...
python:mypy_arg_type (MINOR) source_chartmogul/source.py:145 Check argument types in calls Argument "interval" to "CustomerCount" has incompatible type "Optional[Any]"; expected "str" . Code line: ...h, start_date=config.get("start_date"), interval=config.get("interval"...
python:mypy_arg_type (MINOR) source_chartmogul/source.py:146 Check argument types in calls Argument "start_date" to "Activities" has incompatible type "Optional[Any]"; expected "str" . Code line: ... Activities(authenticator=auth, start_date=config.get("start_dat...
python:mypy_import (MINOR) source_chartmogul/source.py:11 Require that imported module can be found or has stubs Library stubs not installed for "requests" (or incompatible with Python 3.7) . Code line: import requests
python:mypy_valid_type (MINOR) source_chartmogul/source.py:38 Check that type (annotation) is valid Function "builtins.any" is not valid as a type . Code line: ...e: Mapping[str, Any], stream_slice: Mapping[str, any] = None, next_pag...
python:mypy_valid_type (MINOR) source_chartmogul/source.py:61 Check that type (annotation) is valid Function "builtins.any" is not valid as a type . Code line: ...e: Mapping[str, Any], stream_slice: Mapping[str, any] = None, next_pag...
python:mypy_var_annotated (MINOR) source_chartmogul/source.py:63 Require variable annotation if type can't be inferred Need type annotation for "params" (hint: "params: Dict[, ] = ...") . Code line: params = {}
python:mypy_valid_type (MINOR) source_chartmogul/source.py:131 Check that type (annotation) is valid Function "builtins.any" is not valid as a type . Code line: def check_connection(self, logger, config) -> Tuple[bool, any]:

Coverage (85.1%)

File Coverage File Coverage
source_chartmogul/init.py 100.0 source_chartmogul/source.py 84.7

Please sign in to comment.