Skip to content

Commit

Permalink
✨Source TMDB: Make Connector Compatible with Builder (#39109)
Browse files Browse the repository at this point in the history
  • Loading branch information
btkcodedev authored Jul 15, 2024
1 parent 311ea0b commit 08203c7
Show file tree
Hide file tree
Showing 42 changed files with 10,095 additions and 11,306 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-tmdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ See `sample_files/sample_config.json` for a sample config file.
poetry run source-tmdb spec
poetry run source-tmdb check --config secrets/config.json
poetry run source-tmdb discover --config secrets/config.json
poetry run source-tmdb read --config secrets/config.json --catalog sample_files/configured_catalog.json
poetry run source-tmdb read --config secrets/config.json --catalog integration_tests/configured_catalog.json
```

### Running unit tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ acceptance_tests:
discovery:
tests:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "0.1.2" #Type in schema['properties']['results']['items']['properties']['known_for']['items']['properties']['poster_path'] can be optionally null
basic_read:
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams: []
# TODO uncomment this block to specify that the tests should assert the connector outputs the records provided in the input file a file
# expect_records:
# path: "integration_tests/expected_records.jsonl"
# exact_order: no
empty_streams:
- name: trending
bypass_reason: Streams seems to be not responding
incremental:
bypass_reason: "This connector does not implement incremental sync"
# TODO uncomment this block this block if your connector implements incremental sync:
Expand Down
7 changes: 6 additions & 1 deletion airbyte-integrations/connectors/source-tmdb/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 6240848f-f795-45eb-8f5e-c7542822fc03
dockerImageTag: 0.1.7
dockerImageTag: 1.0.0
dockerRepository: airbyte/source-tmdb
githubIssueLabel: source-tmdb
icon: tmdb.svg
Expand All @@ -17,6 +17,11 @@ data:
enabled: false
oss:
enabled: true
releases:
breakingChanges:
1.0.0:
upgradeDeadline: "2024-07-30"
message: The search_people schema has been changed it's 'type' in schema['properties']['fully_deducted'] to be optionally empty
releaseStage: alpha
documentationUrl: https://docs.airbyte.com/integrations/sources/tmdb
tags:
Expand Down
18 changes: 9 additions & 9 deletions airbyte-integrations/connectors/source-tmdb/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-tmdb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.1.7"
version = "1.0.0"
name = "source-tmdb"
description = "Source implementation for Tmdb."
authors = [ "Airbyte <[email protected]>",]
Expand All @@ -17,7 +17,7 @@ include = "source_tmdb"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "1.0.0"
airbyte-cdk = "^1"

[tool.poetry.scripts]
source-tmdb = "source_tmdb.run:run"
Expand Down
Loading

0 comments on commit 08203c7

Please sign in to comment.