Skip to content

Commit

Permalink
Make parameters optional on functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sc15zs committed May 7, 2024
1 parent 9a1d9e0 commit 92c416f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/controllers/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def populate_db(
mappings: tuple[DataMapping],
excel_file: FileStorage,
load_mapping: dict[str, Callable],
submitting_account_id,
submitting_user_email,
submitting_account_id=None,
submitting_user_email=None,
) -> None:
"""Populate the database with the data from the specified transformed_data using the provided data mappings.
Expand Down Expand Up @@ -439,7 +439,7 @@ def populate_db(


def save_submission_file_name_and_user_metadata(
excel_file: FileStorage, submission_id: str, submitting_account_id: str, submitting_user_email: str
excel_file: FileStorage, submission_id: str, submitting_account_id=None, submitting_user_email=None
):
"""Saves the submission Excel filename, and submitting user metadata.
Expand Down

0 comments on commit 92c416f

Please sign in to comment.