Christophe Bornet

Results 166 comments of Christophe Bornet

> It might be useful to put this on Discussion board as well Done : https://github.com/fastapi/fastapi/discussions/13296

Thiis PR aims at protecting from writing code that blocks the event loop. Like doing a sync network call, a `time.sleep`, and so on. If you do so and the...

Updated blockbuster version to fix CI issues.

Hi. Could this PR be reviewed (or discussed in the discussion thread if needed) ?

Is subclassing the best way ? Why are the authentications unmodifiable in the first place ?

Yes. Tests are on the TODO. I just wanted to be sure that it's going in the right direction (so much for TDD...)

@JeremiahDJordan I added some tests.

@microsoft-github-policy-service agree company="DataStax"

Rebased to fix conflict. @AlonsoGuevara @jgbradley1 is it possible to review this PR ?

I'm not sure it's a false positive. If `is_dataclass` narrows to `Type[DataclassInstance] | DataclassInstance`, then you need to ensure it's not `Type[DataclassInstance]` before passing to `asdict`. From your example, it...