Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: restrict FI data retrieval #120

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

lchen-2101
Copy link
Collaborator

closes #111

Copy link

github-actions bot commented Mar 15, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src
  config.py
  dependencies.py
  src/routers
  institutions.py
Project Total  

This report was generated by python-coverage-comment-action

@@ -38,6 +38,7 @@ async def set_db(request: Request, session: Annotated[AsyncSession, Depends(get_

@router.get("/", response_model=List[FinancialInstitutionWithRelationsDto])
@requires("authenticated")
@fi_search_association_check
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

went the decorator / annotation route, how do we feel about this vs dependencies?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty slick to me

Copy link
Contributor

@jcadam14 jcadam14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -38,6 +38,7 @@ async def set_db(request: Request, session: Annotated[AsyncSession, Depends(get_

@router.get("/", response_model=List[FinancialInstitutionWithRelationsDto])
@requires("authenticated")
@fi_search_association_check
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty slick to me

@jcadam14 jcadam14 merged commit b469f4a into main Mar 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lock down institution data retrieval
2 participants