-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source FB Marketing: add incremental support #1699
Source FB Marketing: add incremental support #1699
Conversation
* Gender & Age | ||
* Platform & Device | ||
* Region | ||
* Country - _comming soon_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Country - _comming soon_ | |
* Country - _coming soon_ |
for each
@@ -21,11 +21,6 @@ | |||
"type": "string", | |||
"description": "The value of the access token generated. See the <a href=\"https://docs.airbyte.io/integrations/sources/facebook-marketing\">docs</a> for more information", | |||
"airbyte_secret": true | |||
}, | |||
"include_deleted": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't work yet, there is a ticket to add deleted records
|
||
|
||
# | ||
# class AdsInsightAPI(IncrementalStreamAPI): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment for why this is disabled in the code?
/test connector=source-facebook-marketing
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good.
The integration test is failing. Once that's fixed please leave a comment and I'll take another look.
/test connector=source-facebook-marketing
|
@jrhizor please continue
|
api_mock = Mock() | ||
api_mock.account.get_ad_creatives.return_value = [1, 2, 3] | ||
|
||
api = AdCreativeAPI(api=api_mock) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flake8 is failing to lint this due to:
[python] .venv/bin/python -m flake8 . --config /home/runner/work/airbyte/airbyte/tools/python/.flake8 |
-- | --
| ./unit_tests/test_api.py:42:9: F841 local variable 'api' is assigned to but never used |
| ./unit_tests/test_api.py:45:9: F821 undefined name 'api' |
| ./unit_tests/test_api.py:48:9: F821 undefined name 'api'
ae4dd57
to
219b11a
Compare
@jrhizor I had to do force push because one commit from |
/test connector=source-facebook-marketing
|
/test connector=source-facebook-marketing
|
/test connector=source-facebook-marketing
|
/test connector=source-facebook-marketing
|
/test connector=source-facebook-marketing
|
closes #1682
What
Describe what the change is solving
It helps to add screenshots if it affects the frontend.
How
Describe the solution
Pre-merge Checklist
Recommended reading order
test.java
component.ts
Tested scenarios
incremental
/full
methodincremental
method andstate.json
file