Skip to content

feat add overloads for field types to improve type safety - #1491

Merged
collerek merged 8 commits into
ormar-orm:masterfrom
MaximSrour:update-stub-types-to-improve-type-safety
Jan 28, 2026
Merged

feat add overloads for field types to improve type safety#1491
collerek merged 8 commits into
ormar-orm:masterfrom
MaximSrour:update-stub-types-to-improve-type-safety

fix: consolidate superfluous LargeBinary type defs in stub file

f71d08a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 28, 2026 in 0s

100.00% (+0.00%) compared to 02e6d49

View this Pull Request on Codecov

100.00% (+0.00%) compared to 02e6d49

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (02e6d49) to head (f71d08a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1491   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          207       207           
  Lines        14872     14878    +6     
=========================================
+ Hits         14872     14878    +6     
Files with missing lines Coverage Δ
ormar/fields/model_fields.py 100.00% <100.00%> (ø)
tests/test_encryption/test_encrypted_columns.py 100.00% <100.00%> (ø)
...exclude_include_dict/test_dumping_model_to_dict.py 100.00% <100.00%> (ø)
...test_exclude_include_dict/test_excludable_items.py 100.00% <100.00%> (ø)
...e_include_dict/test_excluding_fields_in_fastapi.py 100.00% <100.00%> (ø)
...include_dict/test_excluding_fields_with_default.py 100.00% <100.00%> (ø)
...e_include_dict/test_excluding_subset_of_columns.py 100.00% <100.00%> (ø)
..._exclude_include_dict/test_pydantic_dict_params.py 100.00% <100.00%> (ø)
tests/test_fastapi/test_json_field_fastapi.py 100.00% <100.00%> (ø)
tests/test_fastapi/test_recursion_error.py 100.00% <100.00%> (ø)
... and 31 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.