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(api): expose RESPX router as property #36

Merged
merged 5 commits into from
May 20, 2024

Conversation

mharrisb1
Copy link
Owner

@mharrisb1 mharrisb1 commented May 20, 2024

Exposes instance of respx.MockRouter that contains the patched OpenAI routes.

This allows the user to access that router to define their own mocks for non-OpenAI routes or allow API calls to actually be passed through to external services.

@mharrisb1 mharrisb1 added the enhancement New feature or request label May 20, 2024
@mharrisb1 mharrisb1 self-assigned this May 20, 2024
@mharrisb1 mharrisb1 linked an issue May 20, 2024 that may be closed by this pull request
@mharrisb1 mharrisb1 merged commit d638e5b into main May 20, 2024
4 checks passed
@mharrisb1 mharrisb1 deleted the 35-featapi-expose-router-as-prop branch May 20, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(api): expose router as prop
1 participant