| Age | Commit message (Collapse) | Author |
|
This avoids latency and/or blocking.
The example of streaming a CSV file was rewritten to employ batching for
greater efficiency in all layers (db, HTTP, etc.). The improved
performance from batching should outweigh the drag introduced by an
additional byte for each flush.
Co-authored-by: huoyinghui <huoyinghui@users.noreply.github.com>
|
|
As Python 3.12 is now the floor, we can drop the shims and
use the `inspect` module.
|
|
disable policies.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
|
|
|
|
|
|
functions.
|
|
|
|
|
|
|
|
|
|
|
|
work with async functions.
|
|
This also adds extra assertions.
|
|
with async functions.
Thanks Carlton Gibson and Mariusz Felisiak for reviews.
|
|
|
|
|
|
|
|
All these functions are wrapping another function. They're the wrapper,
while the function they're wrapping is the wrapped.
|
|
|
|
Regression in 3fd82a62415e748002435e7bad06b5017507777c.
Thanks Terence Honles for the report.
|
|
|
|
Regression in f434f5b84f7fcea9a76a551621ecce70786e2899.
|
|
|
|
|
|
classes.
This is the new contract since middleware refactoring in Django 1.10.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
decorator.
|
|
Regression in fdc936c9130cf4fb5d59869674b9a31cc79a7999.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks ArcTanSusan for the initial patch.
|
|
Thanks to bmispelon and uruz for the initial patch.
|
|
|
|
|
|
|
|
|
|
|
|
refs #21351.
|
|
|
|
When a method decorator was used in conjunction with a decorator
implemented as a descriptor, method_decorator did not correctly respect
the method binding.
Thanks for Graham Dumpleton for the report and initial patch.
|
|
|
|
Used available_attrs in method_decorator
|