Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed Apr 3, 2024
1 parent 74f1f3e commit 7342efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/utils/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def get_ar_guid(request: Request) -> str | None:


def get_extra_audit_log_values(request: Request) -> dict | None:
"""Get a JSON encoded dictionary from the 'sm-extra-values' header if it exists"""
headers = request.headers.get('sm-extra-values')
if not headers:
return None
Expand Down
2 changes: 1 addition & 1 deletion openapi-templates/api_client.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_select_env_values():
value = os.getenv(env_key)
if value:
as_map[dict_key] = value

return as_map


Expand Down

0 comments on commit 7342efc

Please sign in to comment.