randr97 commented on a change in pull request #8008: Custom Facebook Ads
Operator
URL: https://github.com/apache/airflow/pull/8008#discussion_r407724327
##########
File path: airflow/utils/db.py
##########
@@ -240,6 +240,23 @@ def create_default_connections(session=None):
),
session
)
+ merge_conn(
+ Connection(
+ conn_id="facebook_default",
+ conn_type="facebook_social",
+ schema="""
+ {
+ "facebook_ads_client": {
+ "account_id": "act_123456789",
+ "app_id": "1234567890",
+ "app_secret": "1f45tghxxxx12345",
+ "access_token": "ABcdEfghiJKlmnoxxyz"
+ }
+ }
+ """,
Review comment:
Is there any better way to show the schema ?? Cus for GCP there is a
tutorial on google's website. Integrating with airflow. Any thoughts?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services