savestate before github

This commit is contained in:
Rene Kaßeböhmer
2025-07-09 11:15:51 +02:00
parent 294c640096
commit b09b136ad7
14 changed files with 392 additions and 26 deletions

View File

@ -23,7 +23,7 @@ def get_credentials(context):
# Load the .env file
env_file = find_dotenv(".env")
load_dotenv(env_file)
load_dotenv(env_file, override=True)
# Load all environment variables
for key, value in os.environ.items():
@ -70,7 +70,6 @@ def get_sf_connection(context):
sf_params['security_token'] = credentials['SECURITY_TOKEN']
else:
raise ValueError("Neither security token nor organization ID provided")
return Salesforce(**sf_params)
else: