Avatar for the python-attrs user
python-attrs
attrs
BlogDocsChangelog

Make Converter a kind of adapter, fix converters.pipe

#1328Merged
Comparing
chained-converters
(
0e26d67
) with
main
(
7373d88
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_create_simple_class
bench/test_benchmarks.py::test_create_simple_class
CodSpeed Performance Gauge
0%
1.5 s
1.5 s
test_create_frozen_class
bench/test_benchmarks.py::test_create_frozen_class
CodSpeed Performance Gauge
0%
1.7 s
1.7 s
test_eq_unequal
bench/test_benchmarks.py::test_eq_unequal
CodSpeed Performance Gauge
0%
673.2 µs
673.2 µs
test_create_simple_class_make_class
bench/test_benchmarks.py::test_create_simple_class_make_class
CodSpeed Performance Gauge
0%
1.5 s
1.5 s
test_instantiate_with_defaults
bench/test_benchmarks.py::test_instantiate_with_defaults
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
test_instantiate_no_defaults
bench/test_benchmarks.py::test_instantiate_no_defaults
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
test_hash
bench/test_benchmarks.py::test_hash
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_eq_equal
bench/test_benchmarks.py::test_eq_equal
CodSpeed Performance Gauge
0%
872.9 µs
873.3 µs

Commits

Click on a commit to change the comparison range
Base
main
7373d88
0%
Fix import cycle on 3.7/8
043bab3
5 months ago
by hynek
0%
Create static __call__ on Converter instantiation
d7703f7
5 months ago
by hynek
0%
Add tests for adapters doing passing correct args
ff1fcff
5 months ago
by hynek
0%
Add news fragment
e7a08f5
5 months ago
by hynek
0%
Merge branch 'main' into chained-converters
0e26d67
5 months ago
by hynek
Home Terms PrivacyDocs