Skip to content

Instantly share code, notes, and snippets.

View AppConstants.py
string = """{
"IMAGE_SOURCE_DIR": "documents_runtime",
"TEMPLATE_FOLDER": "documents_metadata",
"NORTHWELL_ENDPOINT" : 'https://us-central1-springmldemoproject.cloudfunctions.net/hello_gcs',
"PDF_TO_IMAGE_ENDPOINT" : 'https://us-central1-springmldemoproject.cloudfunctions.net/pdf_to_image',
"TEMPLATE_PROCESSOR_MAP" : {'northwell_template': 'NorthwellProcessor()', 'realestate_template': 'RealEstateProcessor()', 'cbre_template':'CBREProcessor()', 'gg_bearings_template':'GGBearingsProcessor()','MouDocuments':'CBREMOUProcessor()','RegusDocuments':'CBREESUITERegusProcessor()','WeworkDocuments':'CBREESUITEWeworkProcessor()', 'test':'CBREIncomeLeaseProcessor()'},
"DEFAULT_PROCESSOR" : "DocumentProcessor",
"IMAGE_DESTINATION_DIR" : 'invoice_documents_processed',
"DOCUMENT_KEY": "document_template"
}"""