Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Dec 18, 2024
1 parent 0ce1bb9 commit e34a4a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlairflow/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def load_table_with_fits2db(connection, schema, table, load_dir=None):
"""
if load_dir is None:
load_dir = user_scratch()
load_table_template = """fits2db -t {{ params.schema }}.{{ params.table }} {{ params.load_dir }}/{{ params.schema }}.{{ params.table }}.fits | psql"""
load_table_template = ("fits2db -t {{ params.schema }}.{{ params.table }} " +
"{{ params.load_dir }}/{{ params.schema }}.{{ params.table }}.fits " +
"| psql")
pg_env = _connection_to_environment(connection)
load_table = BashOperator(task_id='load_table_with_fits2db',
bash_command=load_table_template,
Expand Down

0 comments on commit e34a4a2

Please sign in to comment.