Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,12 +15,12 @@ credentials = service_account.Credentials.from_service_account_file(
|
|
| 15 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 16 |
drive_service = build('drive', 'v3', credentials=credentials)
|
| 17 |
|
| 18 |
-
domain='login'
|
| 19 |
# Salesforce Authentication
|
| 20 |
sf = Salesforce(
|
| 21 |
-
username=
|
| 22 |
-
password=
|
| 23 |
-
security_token=
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
# Using a temporary directory to save retrieved files
|
|
@@ -75,5 +75,5 @@ def save_salesforce_files(custom_object_api_name):
|
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|
| 77 |
# Replace 'YOUR_CUSTOM_OBJECT_API_NAME' with the Salesforce custom object API name
|
| 78 |
-
custom_object_api_name = '
|
| 79 |
save_salesforce_files(custom_object_api_name)
|
|
|
|
| 15 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 16 |
drive_service = build('drive', 'v3', credentials=credentials)
|
| 17 |
|
|
|
|
| 18 |
# Salesforce Authentication
|
| 19 |
sf = Salesforce(
|
| 20 |
+
username='bharatmali@sathkrutha.com',
|
| 21 |
+
password='Mahadev@9',
|
| 22 |
+
security_token='q67QF1yG0qBTSaiEfDrRrIEx',
|
| 23 |
+
domain='login'
|
| 24 |
)
|
| 25 |
|
| 26 |
# Using a temporary directory to save retrieved files
|
|
|
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|
| 77 |
# Replace 'YOUR_CUSTOM_OBJECT_API_NAME' with the Salesforce custom object API name
|
| 78 |
+
custom_object_api_name = 'YOUR_CUSTOM_OBJECT_API_NAME'
|
| 79 |
save_salesforce_files(custom_object_api_name)
|