-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.py
44 lines (36 loc) · 1.02 KB
/
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
35
36
37
38
39
40
41
42
43
# REQUIRED IMPORTS
import os
# ONLY ONE OF THESE HANDLERS CAN BE USED AT ANY TIME. UNCOMMENT ONE OF THE BELOW HANDLERS
from snowflake_database_helper import SisuOutputDatabaseConnection
#from fivetran_database_helper import SisuOutputDatabaseConnection
#from csv_database_helper import SisuOutputDatabaseConnection
# RETURN A DATABASE CONNECTION
def getDatabaseConnection():
return SisuOutputDatabaseConnection()
# END - RETURN A DATABASE CONNECTION
# DATABASE CONNECTION PARAMETERS
USERNAME = ''
PASSWORD = ''
ACCOUNT_IDENTIFIER = ''
DATABASE_NAME = 'SISU_OUTPUTS'
WAREHOUSE_NAME = ''
SCHEMA_NAME = 'PUBLIC'
ROLE_NAME = ''
# END - DATABASE CONNECTION PARAMETERS
# CSV PARAMETERS
FILEPATH = '/Users/jdoe/Documents'
OVERWRITE = True
CSV_DELIMITER = ','
OUTPUT_HEADERS = True
# END - CSV PARAMETERS
# SEGMENT LOAD PARAMETERS
BATCH_SIZE = 1000
TRUNCATE_TABLES = False
DELIMITER = '^'
DEBUG = False
# END - SEGMENT LOAD PARAMETERS
# SISU PARAMETERS
SISU_URL = "https://vip.sisu.ai"
# END - SISU PARAMETERS
# USER PARAMETERS
API_KEY = ''