diff --git a/source-simplecast-fecther/metadata.yaml b/source-simplecast-fecther/metadata.yaml index 6a4975d..c03f9dd 100644 --- a/source-simplecast-fecther/metadata.yaml +++ b/source-simplecast-fecther/metadata.yaml @@ -14,7 +14,7 @@ data: connectorSubtype: api connectorType: source definitionId: 464a7cea-0317-485e-9a9c-bcd06155bfff - dockerImageTag: 1.1.0 + dockerImageTag: 1.1.1 dockerRepository: harbor.status.im/status-im/airbyte/source-simplecast-fetcher githubIssueLabel: source-simplecast-fecther icon: simplecast-fecther.svg diff --git a/source-simplecast-fecther/source_simplecast_fecther/schemas/analytic_podcast_v2.json b/source-simplecast-fecther/source_simplecast_fecther/schemas/analytic_podcast_v2.json index 4777e66..d938565 100644 --- a/source-simplecast-fecther/source_simplecast_fecther/schemas/analytic_podcast_v2.json +++ b/source-simplecast-fecther/source_simplecast_fecther/schemas/analytic_podcast_v2.json @@ -71,3 +71,4 @@ } } } +} diff --git a/source-simplecast-fecther/source_simplecast_fecther/source.py b/source-simplecast-fecther/source_simplecast_fecther/source.py index a4c96bf..16a43c5 100644 --- a/source-simplecast-fecther/source_simplecast_fecther/source.py +++ b/source-simplecast-fecther/source_simplecast_fecther/source.py @@ -47,7 +47,7 @@ class SimplecastFectherStream(HttpStream): class Podcast(SimplecastFectherStream): - primary_key = "podcast_id" + primary_key = "id" @property @@ -75,7 +75,7 @@ class Podcast(SimplecastFectherStream): yield podcast class Episode(HttpSubStream, SimplecastFectherStream): - primary_key="episode_id" + primary_key="id" @property def use_cache(self) -> bool: @@ -141,7 +141,7 @@ class AnalyticSubStream(HttpSubStream, SimplecastFectherStream, ABC): yield analytic class AnalyticLocation(AnalyticSubStream): - primary_key="analytic_location_id" + primary_key=None def __init__(self, **kwargs): super().__init__(endpoint="location", keys_dict=LOCATION_KEYS, collection_name="countries", **kwargs)