Avatar for the tortoise user
tortoise
tortoise-orm
BlogDocsChangelog

Add logic to handle `globalns` and `localns` in `pydantic_model_creator`

#1876
Comparing
alistairmaclean:fix/pydantic-creator-use-explicit-ns
(
f47dec6
) with
develop
(
1d4d60b
)
CodSpeed Performance Gauge
0%
Untouched
12

Benchmarks

Passed

test_create_few_fields
tests/benchmarks/test_create.py::test_create_few_fields
CodSpeed Performance Gauge
+1%
489.3 µs486.5 µs
test_expressions_f
tests/benchmarks/test_expressions.py::test_expressions_f
CodSpeed Performance Gauge
0%
765.1 µs762.4 µs
test_expressions_count
tests/benchmarks/test_expressions.py::test_expressions_count
CodSpeed Performance Gauge
0%
857 µs855 µs
test_create_many_fields
tests/benchmarks/test_create.py::test_create_many_fields
CodSpeed Performance Gauge
0%
750.5 µs749.3 µs
test_get_few_fields
tests/benchmarks/test_get.py::test_get_few_fields
CodSpeed Performance Gauge
0%
733.6 µs732.4 µs
test_get_many_fields
tests/benchmarks/test_get.py::test_get_many_fields
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_bulk_create_many_fields
tests/benchmarks/test_bulk_create.py::test_bulk_create_many_fields
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_bulk_create_few_fields
tests/benchmarks/test_bulk_create.py::test_bulk_create_few_fields
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_filter_many_filters
tests/benchmarks/test_filter.py::test_filter_many_filters
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_field_attribute_lookup_get_for_dialect
tests/benchmarks/test_field_attribute_lookup.py::test_field_attribute_lookup_get_for_dialect
CodSpeed Performance Gauge
0%
58.7 µs58.8 µs
test_filter_few_fields
tests/benchmarks/test_filter.py::test_filter_few_fields
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
develop
1d4d60b
+0.08%
Update CHANGELOG.rst
f47dec6
7 months ago
by alistairmaclean
© 2025 CodSpeed Technology
Home Terms Privacy Docs