Avatar for the tortoise user
tortoise
tortoise-orm
BlogDocsChangelog

fix: replace deprecated `asyncio.get_event_loop()` with modern approach

#1865Merged
Comparing
Abdeldjalil-H:fix/event-loop-warning
(
0a7fffd
) with
develop
(
960b1c1
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_expressions_count
tests/benchmarks/test_expressions.py::test_expressions_count
CodSpeed Performance Gauge
0%
859.4 µs
855.9 µs
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 µs
58.5 µs
test_create_many_fields
tests/benchmarks/test_create.py::test_create_many_fields
CodSpeed Performance Gauge
0%
747 µs
745.9 µs
test_get_many_fields
tests/benchmarks/test_get.py::test_get_many_fields
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_bulk_create_many_fields
tests/benchmarks/test_bulk_create.py::test_bulk_create_many_fields
CodSpeed Performance Gauge
0%
10.7 ms
10.7 ms
test_filter_few_fields
tests/benchmarks/test_filter.py::test_filter_few_fields
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_filter_many_filters
tests/benchmarks/test_filter.py::test_filter_many_filters
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
test_bulk_create_few_fields
tests/benchmarks/test_bulk_create.py::test_bulk_create_few_fields
CodSpeed Performance Gauge
0%
2.5 ms
2.5 ms
test_get_few_fields
tests/benchmarks/test_get.py::test_get_few_fields
CodSpeed Performance Gauge
0%
731.5 µs
734 µs
test_create_few_fields
tests/benchmarks/test_create.py::test_create_few_fields
CodSpeed Performance Gauge
0%
487.2 µs
489.2 µs
test_expressions_f
tests/benchmarks/test_expressions.py::test_expressions_f
CodSpeed Performance Gauge
-1%
762.4 µs
767.2 µs

Commits

Click on a commit to change the comparison range
Base
develop
960b1c1
0%
fix: replace deprecated asyncio.get_event_loop() with modern approach Replace deprecated get_event_loop() with get_running_loop() and fallback to new_event_loop() to fix the "no current event loop" warning in Python 3.10+
d153f72
4 months ago
by Abdeldjalil-H
0%
add missing line
8252e46
4 months ago
by Abdeldjalil-H
0%
update changelog
0a7fffd
4 months ago
by Abdeldjalil-H
© 2025 CodSpeed Technology
Home Terms PrivacyDocs