CodeForPhilly / paws-data-pipeline

PAWS Data Pipeline Project
MIT License
16 stars 9 forks source link

salesforce_message_publisher assumes location of .pem file #595

Closed c-simpson closed 6 months ago

c-simpson commented 6 months ago

Unlike API_ingest/ salesforce_contacts.py (see #594)

salesforce_message_publisher assumes a fixed location for the .pem file, but, as per #594, that's not valid.

Is this code still used? If so, maybe we should create a find_pem_file() that either can use.

def send_pipeline_update_messages(contacts_list):
    pem_file = 'bin/connected-app-secrets.pem'