Samantha Hughes

Results 54 comments of Samantha Hughes

I'm trying to use `SecretStr` in a response schema and also got hit by this. Im curious why ninja is using `.dict()` instead of `.json()`

Have not tested this, but this is closer to my desired behavior I think. Given that response schema's are always pydantic models, having ninja be able to support all the...

Thank you @Photonios for this but i've spotted an issue > > ```python > class ExemptAPIKeyAuthFromCSRFMiddleware: > ``` The `view_func` instances seem to be reused between multiple requests, so by...

This also causes issues with celery during tests due to kombu relying on monotonic https://github.com/celery/kombu/blob/master/kombu/transport/virtual/base.py#L950-L965 Manifests as `RuntimeError: Worker thread failed to exit within the allocated timeout. Consider raising `shutdown_timeout`...

It's a real bummer as using raw boto3 for cognito is really painful.

I'm not sure if this comment belongs here, or a new issue. cgroups have two limits, a 'hard' limit and a 'soft' limit. For v2 (and I think v1) the...

I've created an MR to move this forward a bit https://github.com/dask/distributed/pull/7051 with respect to detecting and obeying existing cgroup limits.

Both are a fail state though, OOMKill just being more recoverable, neither are desirable.

Keeping an eye on this as it will break coiled's implementation of `Cloud`

asyncio is way faster than threads for stuff like this i've found. I did not try just upping the thread count from 1 for the executors @jaimergp shows, but i'd...