Skip to content

Commit 22838c2

Browse files
authored
Source LinkedIn Ads: turn on default HttpAvailabilityStrategy (#22361)
Signed-off-by: Sergey Chvalyuk <[email protected]>
1 parent 285661c commit 22838c2

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@
947947
- name: LinkedIn Ads
948948
sourceDefinitionId: 137ece28-5434-455c-8f34-69dc3782f451
949949
dockerRepository: airbyte/source-linkedin-ads
950-
dockerImageTag: 0.1.13
950+
dockerImageTag: 0.1.14
951951
documentationUrl: https://docs.airbyte.com/integrations/sources/linkedin-ads
952952
icon: linkedin.svg
953953
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7626,7 +7626,7 @@
76267626
path_in_connector_config:
76277627
- "credentials"
76287628
- "client_secret"
7629-
- dockerImage: "airbyte/source-linkedin-ads:0.1.13"
7629+
- dockerImage: "airbyte/source-linkedin-ads:0.1.14"
76307630
spec:
76317631
documentationUrl: "https://docs.airbyte.com/integrations/sources/linkedin-ads"
76327632
connectionSpecification:

airbyte-integrations/connectors/source-linkedin-ads/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ COPY source_linkedin_ads ./source_linkedin_ads
3333
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
3434
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
3535

36-
LABEL io.airbyte.version=0.1.13
36+
LABEL io.airbyte.version=0.1.14
3737
LABEL io.airbyte.name=airbyte/source-linkedin-ads

airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/source.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from airbyte_cdk.models import SyncMode
1515
from airbyte_cdk.sources import AbstractSource
1616
from airbyte_cdk.sources.streams import Stream
17-
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1817
from airbyte_cdk.sources.streams.http import HttpStream
1918
from airbyte_cdk.sources.streams.http.auth import Oauth2Authenticator, TokenAuthenticator
2019
from airbyte_cdk.sources.streams.http.exceptions import DefaultBackoffException
@@ -43,10 +42,6 @@ def accounts(self):
4342
"""Property to return the list of the user Account Ids from input"""
4443
return ",".join(map(str, self.config.get("account_ids")))
4544

46-
@property
47-
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
48-
return None
49-
5045
def path(self, **kwargs) -> str:
5146
"""Returns the API endpoint path for stream, from `endpoint` class attribute."""
5247
return self.endpoint

docs/integrations/sources/linkedin-ads.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ After 5 unsuccessful attempts - the connector will stop the sync operation. In s
183183

184184
| Version | Date | Pull Request | Subject |
185185
|:--------|:-----------|:---------------------------------------------------------| :-------------------------------------------------------------------------------------------------------------- |
186+
| 0.1.14 | 2023-02-03 | [22361](https://github.com/airbytehq/airbyte/pull/22361) | Turn on default HttpAvailabilityStrategy |
186187
| 0.1.13 | 2023-01-27 | [22013](https://github.com/airbytehq/airbyte/pull/22013) | for adDirectSponsoredContents stream skip accounts which are part of organization |
187188
| 0.1.12 | 2022-10-18 | [18111](https://github.com/airbytehq/airbyte/pull/18111) | for adDirectSponsoredContents stream skip accounts which are part of organization |
188189
| 0.1.11 | 2022-10-07 | [17724](https://github.com/airbytehq/airbyte/pull/17724) | Retry 429/5xx errors when refreshing access token |

0 commit comments

Comments
 (0)