Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Feb 29, 2024
1 parent f5acd6f commit 9feb522
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/server/api/extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ def create(


@router.get("/{uuid}")
def get(
uuid: UUID, *, session: Session = Depends(get_session)
) -> Dict[str, Any]:
def get(uuid: UUID, *, session: Session = Depends(get_session)) -> Dict[str, Any]:
"""Endpoint to get an extractor."""
extractor = session.query(Extractor).filter(Extractor.uuid == str(uuid)).scalar()
if extractor is None:
Expand Down

0 comments on commit 9feb522

Please sign in to comment.