Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerwoud committed Mar 11, 2024
1 parent 251ff29 commit f01fed9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/project/utils/query_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ def insert_into_model(model: DeclarativeMeta,
a message indicating that something went wrong while inserting into the database.
"""
try:
model_instance, status_code = create_model_instance(model, data, response_url_base, required_fields)
model_instance, status_code = create_model_instance(
model,
data,
response_url_base,
required_fields)

# if its a tuple the model instance couldn't be created so it already
# is the right format of error message and we just need to return
Expand Down

0 comments on commit f01fed9

Please sign in to comment.