thatguysimon

Results 11 comments of thatguysimon

Thanks @lepture, this was very helpful! Is it documented anywhere? I couldn't find anything about this in the docs.

Having the same issue. @sedubois Did you figure out a workaround for this? Maybe asserting that the response is a redirect to `/auth/failure`?

I believe this is actually a Pydantic issue. ```python In [19]: from pydantic import BaseModel In [20]: class Banana(BaseModel): ...: """ ...: one ...: \f ...: two ...: """ ...:...

Hey @jon-wobken, was this closed because the branch was deleted?

Having the same issue as well. @m-vellinga @moon-bits did you manage to come up with a decent workaround for this?

> I think part of the trouble stems from the fact that `Depends` looks for an instance of `Security` [at compile time](https://github.com/tiangolo/fastapi/blob/717a1ec40992d00e34635f0b4c9b68ab5a6daef7/fastapi/dependencies/utils.py#L147), before anything is injected. I believe it would...

I've been having the same issue and figured out a way to solve it using the [Unit Of Work pattern](https://github.com/cosmicpython/book/blob/master/chapter_06_uow.asciidoc). What I didn't like about the linked implementation is that...

Hey @tad3j, Yeah sounds like the UOW needs to move one layer up in your case. The session and repositories are initialized once we enter the context manager. So if...

Hi @Zac-HD! What's the latest on this? I'd be happy to help 👍🏻

Hey @Stranger6667! Since Schemathesis does support `jsonschema` >= 4, would it make sense at least for the time being to make `validate_response` support 3.1 by using `jsonschema.Draft202012Validator`? Maybe as a...