Spaces:
Running
Running
Update config.py
Browse files
config.py
CHANGED
@@ -37,3 +37,15 @@ BUBBLE_API_ENDPOINT_ENV_VAR = "BUBBLE_API_ENDPOINT"
|
|
37 |
# --- UI Constants ---
|
38 |
UI_DATE_FORMAT = '%Y-%m-%d %H:%M'
|
39 |
UI_MONTH_FORMAT = '%Y-%m'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# --- UI Constants ---
|
38 |
UI_DATE_FORMAT = '%Y-%m-%d %H:%M'
|
39 |
UI_MONTH_FORMAT = '%Y-%m'
|
40 |
+
|
41 |
+
# --- NEW CONSTANTS for LinkedIn Data Operations Log ---
|
42 |
+
BUBBLE_OPERATIONS_LOG_TABLE_NAME = "linkedin_data_operations_log"
|
43 |
+
# Column names in the 'linkedin_data_operations_log' table in Bubble:
|
44 |
+
BUBBLE_OPERATIONS_LOG_DATE_COLUMN = "date" # Stores the timestamp of the sync attempt
|
45 |
+
BUBBLE_OPERATIONS_LOG_SUBJECT_COLUMN = "linkedin_data_operation_subject" # e.g., "post", "mention", "follower_stats"
|
46 |
+
BUBBLE_OPERATIONS_LOG_ORG_URN_COLUMN = "organization_urn" # Stores the org URN
|
47 |
+
|
48 |
+
# Standardized subject names for the operations log
|
49 |
+
LOG_SUBJECT_POSTS = "post"
|
50 |
+
LOG_SUBJECT_MENTIONS = "mention"
|
51 |
+
LOG_SUBJECT_FOLLOWER_STATS = "follower_stats"
|