Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def python_callable(**kwargs):
run_id = kwargs.get('dag_run').run_id
query = QUERY_TEMPLATE.format(
config=env_config,
run_id=run_id,
step_keys=json.dumps(step_keys),
pipeline_name=pipeline.name,
)
return json.loads(execute_query_from_cli(repository_container, query, variables=None))