Skip to content

Commit 81756b0

Browse files
Turn off default httpavailability for source-facebook-marketing (GA) (#22003)
* Turn off default for source-facebook-marketing (GA) * Format * remove import * Update base_streams.py * Update facebook-marketing.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent c707c8c commit 81756b0

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
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
@@ -488,7 +488,7 @@
488488
- name: Facebook Marketing
489489
sourceDefinitionId: e7778cfc-e97c-4458-9ecb-b4f2bba8946c
490490
dockerRepository: airbyte/source-facebook-marketing
491-
dockerImageTag: 0.2.83
491+
dockerImageTag: 0.2.84
492492
documentationUrl: https://docs.airbyte.com/integrations/sources/facebook-marketing
493493
icon: facebook.svg
494494
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
@@ -3642,7 +3642,7 @@
36423642
supportsNormalization: false
36433643
supportsDBT: false
36443644
supported_destination_sync_modes: []
3645-
- dockerImage: "airbyte/source-facebook-marketing:0.2.83"
3645+
- dockerImage: "airbyte/source-facebook-marketing:0.2.84"
36463646
spec:
36473647
documentationUrl: "https://docs.airbyte.com/integrations/sources/facebook-marketing"
36483648
changelogUrl: "https://docs.airbyte.com/integrations/sources/facebook-marketing"

airbyte-integrations/connectors/source-facebook-marketing/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

1515

16-
LABEL io.airbyte.version=0.2.83
16+
LABEL io.airbyte.version=0.2.84
1717
LABEL io.airbyte.name=airbyte/source-facebook-marketing

airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_streams.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import pendulum
1313
from airbyte_cdk.models import SyncMode
1414
from airbyte_cdk.sources.streams import Stream
15+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1516
from airbyte_cdk.sources.utils.transform import TransformConfig, TypeTransformer
1617
from cached_property import cached_property
1718
from facebook_business.adobjects.abstractobject import AbstractObject
@@ -40,6 +41,10 @@ class FBMarketingStream(Stream, ABC):
4041
# entity prefix for `include_deleted` filter, it usually matches singular version of stream name
4142
entity_prefix = None
4243

44+
@property
45+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
46+
return None
47+
4348
def __init__(self, api: "API", include_deleted: bool = False, page_size: int = 100, max_batch_size: int = 50, **kwargs):
4449
super().__init__(**kwargs)
4550
self._api = api
Binary file not shown.

docs/integrations/sources/facebook-marketing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ Please be informed that the connector uses the `lookback_window` parameter to pe
133133

134134
| Version | Date | Pull Request | Subject |
135135
|:--------|:-----------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
136+
| 0.2.84 | 2023-01-27 | [22003](https://github.com/airbytehq/airbyte/pull/22003) | Set `AvailabilityStrategy` for streams explicitly to `None` || | | | |
136137
| 0.2.83 | 2023-01-13 | [21149](https://github.com/airbytehq/airbyte/pull/21149) | Videos stream remove filtering |
137138
| 0.2.82 | 2023-01-09 | [21149](https://github.com/airbytehq/airbyte/pull/21149) | Fix AdAccount schema |
138139
| 0.2.81 | 2023-01-05 | [21057](https://github.com/airbytehq/airbyte/pull/21057) | Remove unsupported fields from request |

0 commit comments

Comments
 (0)