-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fyle
authored and
Fyle
committed
Sep 15, 2023
1 parent
746685b
commit 158846c
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
from apps.mappings.connector import PlatformConnector | ||
|
||
|
||
def sync_fyle_dimensions(attribute_type: str, workspace_id: int): | ||
def sync_fyle_dimensions(workspace_id: int): | ||
""" | ||
Sync Attributes will be called for syncing the attribute's data from the fyle to qbd db | ||
""" | ||
|
||
qbd_connection = PlatformConnector(workspace_id=workspace_id) | ||
|
||
if attribute_type == 'CORPORATE_CARD': | ||
qbd_connection.sync_corporate_card() | ||
qbd_connection.sync_corporate_card() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters