File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
airbyte-config/init/src/main/resources/seed
airbyte-integrations/connectors/source-pinterest
docs/integrations/sources Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1286
1286
- name : Pinterest
1287
1287
sourceDefinitionId : 5cb7e5fe-38c2-11ec-8d3d-0242ac130003
1288
1288
dockerRepository : airbyte/source-pinterest
1289
- dockerImageTag : 0.2.1
1289
+ dockerImageTag : 0.2.2
1290
1290
documentationUrl : https://docs.airbyte.com/integrations/sources/pinterest
1291
1291
icon : pinterest.svg
1292
1292
sourceType : api
Original file line number Diff line number Diff line change 11067
11067
supportsNormalization: false
11068
11068
supportsDBT: false
11069
11069
supported_destination_sync_modes: []
11070
- - dockerImage: "airbyte/source-pinterest:0.2.1 "
11070
+ - dockerImage: "airbyte/source-pinterest:0.2.2 "
11071
11071
spec:
11072
11072
documentationUrl: "https://docs.airbyte.com/integrations/sources/pinterest"
11073
11073
connectionSpecification:
Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ COPY source_pinterest ./source_pinterest
34
34
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
35
35
ENTRYPOINT ["python" , "/airbyte/integration_code/main.py" ]
36
36
37
- LABEL io.airbyte.version=0.2.1
37
+ LABEL io.airbyte.version=0.2.2
38
38
LABEL io.airbyte.name=airbyte/source-pinterest
Original file line number Diff line number Diff line change 13
13
from airbyte_cdk .models import SyncMode
14
14
from airbyte_cdk .sources import AbstractSource
15
15
from airbyte_cdk .sources .streams import Stream
16
+ from airbyte_cdk .sources .streams .availability_strategy import AvailabilityStrategy
16
17
from airbyte_cdk .sources .streams .http import HttpStream , HttpSubStream
17
18
from airbyte_cdk .sources .streams .http .auth import Oauth2Authenticator
18
19
from airbyte_cdk .sources .utils .transform import TransformConfig , TypeTransformer
@@ -44,6 +45,10 @@ def start_date(self):
44
45
def window_in_days (self ):
45
46
return 30 # Set window_in_days to 30 days date range
46
47
48
+ @property
49
+ def availability_strategy (self ) -> Optional ["AvailabilityStrategy" ]:
50
+ return None
51
+
47
52
def next_page_token (self , response : requests .Response ) -> Optional [Mapping [str , Any ]]:
48
53
next_page = response .json ().get ("bookmark" , {}) if self .data_fields else {}
49
54
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ The connector is restricted by the Pinterest [requests limitation](https://devel
70
70
## Changelog
71
71
72
72
| Version | Date | Pull Request | Subject |
73
- | :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ |
73
+ | :--------| :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ |
74
+ | 0.2.2 | 2023-01-27 | [ 22020] ( https://github.com/airbytehq/airbyte/pull/22020 ) | Set ` AvailabilityStrategy ` for streams explicitly to ` None ` |
74
75
| 0.2.1 | 2022-12-15 | [ 20532] ( https://github.com/airbytehq/airbyte/pull/20532 ) | Bump CDK version|
75
76
| 0.2.0 | 2022-12-13 | [ 20242] ( https://github.com/airbytehq/airbyte/pull/20242 ) | Added data-type normalization up to the schemas declared |
76
77
| 0.1.9 | 2022-09-06 | [ 15074] ( https://github.com/airbytehq/airbyte/pull/15074 ) | Added filter based on statuses |
You can’t perform that action at this time.
0 commit comments