RK
RK
Thanks man. I’ll update the documentation soon.
Really, the compression level should be configurable. https://github.com/evansd/whitenoise/blob/master/whitenoise/compress.py#L84
@MartinThoma my advice would be to roll your own code. You really just need a decorator to do a check for the authorization cookie being valid (a few lines with...
@jstasiak I made a stab at something that could do the job. ```python class ContextualProviderWrapper(CachedProviderWrapper): def __del__(self): for value in self._cache.values(): if inspect.isgenerator(value): try: next(value) except StopIteration: pass def get(self,...
The cached CachedProviderWrapper is there to prevent multiple calls to `app.injector.get()` from calling the bound function multiple times. I'll try and add type hints. About your concerns > Tying handling...
Perhaps if there was a per builder trait I could use type inference in unstable rust, unsure though