Skip to content

Commit

Permalink
🐛 Source Trello: extend organizations schema (airbytehq#25870)
Browse files Browse the repository at this point in the history
  • Loading branch information
bazarnov authored and marcosmarxm committed Jun 8, 2023
1 parent a340510 commit cb50196
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 29 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-trello/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ COPY source_trello ./source_trello
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.1
LABEL io.airbyte.version=0.3.2
LABEL io.airbyte.name=airbyte/source-trello

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 8da67652-004c-11ec-9a03-0242ac130003
dockerImageTag: 0.3.1
dockerImageTag: 0.3.2
dockerRepository: airbyte/source-trello
githubIssueLabel: source-trello
icon: trello.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@
},
"ixUpdate": {
"type": ["null", "string"]
},
"newLicenseInviteRestrict": {
"type": ["null", "string"]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from airbyte_cdk.sources import AbstractSource
from airbyte_cdk.sources.streams import Stream
from airbyte_cdk.sources.streams.http import HttpStream
from airbyte_cdk.sources.utils.transform import TransformConfig, TypeTransformer

from .auth import TrelloAuthenticator
from .utils import TrelloRequestRateLimits as balancer
Expand All @@ -28,6 +29,8 @@ class TrelloStream(HttpStream, ABC):

extra_params = None

transformer: TypeTransformer = TypeTransformer(TransformConfig.DefaultSchemaNormalization)

def __init__(self, config: Mapping[str, Any]):
super().__init__(authenticator=config["authenticator"])
self.start_date = config["start_date"]
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/trello.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The Trello connector should not run into Trello API limitations under normal usa

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.3.2 | 2023-05-05 | [25870](https://github.com/airbytehq/airbyte/pull/25870) | Added `CDK typeTransformer` to guarantee JSON schema types |
| 0.3.1 | 2023-03-21 | [24266](https://github.com/airbytehq/airbyte/pull/24266) | Get board ids also from organizations |
| 0.3.0 | 2023-03-17 | [24141](https://github.com/airbytehq/airbyte/pull/24141) | Certify to Beta |
| 0.2.0 | 2023-03-15 | [24045](https://github.com/airbytehq/airbyte/pull/24045) | Fix schema for boards and cards streams |
Expand Down

0 comments on commit cb50196

Please sign in to comment.