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

Add tests for #10240 #10258

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danielfcollier
Copy link

Hi Jamie from #10240, here is a sample branch with your commit and the minimum required tests for issue #10236.

I've also added some tests for the generator's case, but they are commented to separate the problems.

@app.get("/synchronous-method-gen-dependency")
async def get_synchronous_method_gen_dependency(
value: str = Depends(methods_dependency.synchronous_gen),
):
return value


# app.add_api_route(
Copy link

Choose a reason for hiding this comment

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

Is it still usefull to keep it?

@alejsdev alejsdev added the p4 label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants