Skip to content

Commit

Permalink
Formatting again...
Browse files Browse the repository at this point in the history
  • Loading branch information
guffee23 committed Sep 15, 2023
1 parent 6f9c391 commit 746d666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ async def email_domain_denied(session: AsyncSession, email: str) -> bool:

def parse_leis(leis: List[str] = Query(None)) -> Optional[List]:
"""
Parses leis from list of one or multiple strings to a list of multiple distinct lei strings
Parses leis from list of one or multiple strings to a list of
multiple distinct lei strings.
Returns empty list when nothing is passed in
Ex1: ['lei1,lei2'] -> ['lei1', 'lei2']
Ex2: ['lei1,lei2', 'lei3,lei4'] -> ['lei1','lei2','lei3','lei4']
Expand Down
2 changes: 1 addition & 1 deletion src/routers/institutions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fastapi import Depends, Request, HTTPException, Query
from fastapi import Depends, Request, HTTPException
from http import HTTPStatus
from oauth2 import oauth2_admin
from util import Router
Expand Down

0 comments on commit 746d666

Please sign in to comment.