Skip to content

Commit e34407c

Browse files
committed
simplecast: fix schema
Signed-off-by: Alexis Pentori <[email protected]>
1 parent 204812e commit e34407c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

source-simplecast-fecther/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data:
1414
connectorSubtype: api
1515
connectorType: source
1616
definitionId: 464a7cea-0317-485e-9a9c-bcd06155bfff
17-
dockerImageTag: 1.1.0
17+
dockerImageTag: 1.1.1
1818
dockerRepository: harbor.status.im/status-im/airbyte/source-simplecast-fetcher
1919
githubIssueLabel: source-simplecast-fecther
2020
icon: simplecast-fecther.svg

source-simplecast-fecther/source_simplecast_fecther/schemas/analytic_podcast_v2.json

+1
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@
7171
}
7272
}
7373
}
74+
}

source-simplecast-fecther/source_simplecast_fecther/source.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def request_params(
4747

4848
class Podcast(SimplecastFectherStream):
4949

50-
primary_key = "podcast_id"
50+
primary_key = "id"
5151

5252

5353
@property
@@ -75,7 +75,7 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp
7575
yield podcast
7676

7777
class Episode(HttpSubStream, SimplecastFectherStream):
78-
primary_key="episode_id"
78+
primary_key="id"
7979

8080
@property
8181
def use_cache(self) -> bool:
@@ -141,7 +141,7 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp
141141
yield analytic
142142

143143
class AnalyticLocation(AnalyticSubStream):
144-
primary_key="analytic_location_id"
144+
primary_key=None
145145

146146
def __init__(self, **kwargs):
147147
super().__init__(endpoint="location", keys_dict=LOCATION_KEYS, collection_name="countries", **kwargs)

0 commit comments

Comments
 (0)