Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
slesaad committed May 22, 2024
1 parent 4f10ed9 commit ebaca03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stac_api/runtime/src/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
def add_route_dependencies(
routes: List[APIRoute], scopes: List[Scope], dependencies: List[Depends]
):
"""Inject dependencies to routes"""
for route in routes:
if not any(route.matches(scope)[0] == Match.FULL for scope in scopes):
continue
Expand Down

0 comments on commit ebaca03

Please sign in to comment.