forked from CityOfPhiladelphia/311-data-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_config.py
34 lines (28 loc) · 916 Bytes
/
sample_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Logging settings (used in sync.py only).
LOG_LEVEL = 'INFO'
LOG_PATH = './logs/sync.log'
# These describe the destination (enterprise) dataset.
DEST_DB_DSN = 'adapter://user:pass@db'
DEST_TABLE = ''
DEST_UPDATED_FIELD = ''
DEST_TEMP_TABLE = ''
# For deleting records which have since been updated.
DEL_STMT = ''
FIELD_MAP = {
# DESTINATION FIELD: # SOURCE FIELD
}
# These are for querying Salesforce.
SF_USER = ''
SF_PASSWORD = ''
SF_TOKEN = ''
SF_WHERE = ''
SF_QUERY = ''
SF_COUNT_QUERY = ''
SLACK_TOKEN = ''
SLACK_CHANNEL = ''
SMTP_CONFIG = {
'mailhost': ('host', port),
'fromaddr': ,
'toaddrs': ,
'subject': ,
}