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

Remove duplicate example endpoints from base.py #157

Open
4 tasks
coderabbitai bot opened this issue Feb 6, 2025 · 0 comments
Open
4 tasks

Remove duplicate example endpoints from base.py #157

coderabbitai bot opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@coderabbitai
Copy link

coderabbitai bot commented Feb 6, 2025

Context

There are multiple example endpoints in examples/fastapi/resources/base.py that demonstrate similar error handling scenarios. We should consolidate these to maintain cleaner examples.

Duplicate endpoints to review:

  • /raise_cuenca_errors and /simulate_401 (unauthorized errors)
  • /raise_fast_agave_errors (also unauthorized error)

This was identified during the review of PR #154.

Action items:

  • Review all example endpoints
  • Identify duplicates and determine which ones to keep
  • Remove redundant endpoints
  • Update tests if needed

References:

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

No branches or pull requests

1 participant