Skip to content

Commit

Permalink
place the facebook_business sdk locally and add retry for the summary…
Browse files Browse the repository at this point in the history
… param error
  • Loading branch information
sgandhi1311 committed Apr 5, 2024
1 parent 08a4c14 commit 6fc1b04
Show file tree
Hide file tree
Showing 575 changed files with 92,334 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
'attrs==17.3.0',
'backoff==2.2.1',
'pendulum==1.2.0',
'facebook_business==19.0.2',
'requests==2.20.0',
'singer-python==6.0.0',
],
Expand Down
3 changes: 3 additions & 0 deletions tap_facebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
import requests
import backoff

import sys
sys.path.append('/opt/code/tap-facebook/tap_facebook/')

import singer
import singer.metrics as metrics
from singer import utils, metadata
Expand Down
15 changes: 15 additions & 0 deletions tap_facebook/facebook_business/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from facebook_business.session import FacebookSession
from facebook_business.api import FacebookAdsApi

__version__ = '19.0.2'
__all__ = [
'session',
'objects',
'api',
]
Empty file.
Loading

0 comments on commit 6fc1b04

Please sign in to comment.