FelixTheC / strongtyping

Decorator which checks whether the function is called with the correct type of parameters.
https://pypi.org/project/strongtyping/
108 stars 3 forks source link

closes: 102 evaluate arg types of typedicts required and notrequired types instead of origin types #103

Closed FelixTheC closed 2 years ago

FelixTheC commented 2 years ago

Add support for Required | NotRequired from typing-extension

codecov[bot] commented 2 years ago

Codecov Report

Merging #103 (a5e6e9b) into py_3_10 (dfdc787) will increase coverage by 0.23%. The diff coverage is 97.43%.

@@             Coverage Diff             @@
##           py_3_10     #103      +/-   ##
===========================================
+ Coverage    90.26%   90.49%   +0.23%     
===========================================
  Files           26       26              
  Lines         2917     3021     +104     
===========================================
+ Hits          2633     2734     +101     
- Misses         284      287       +3     
Impacted Files Coverage Δ
strongtyping/strong_typing.py 92.35% <91.17%> (-1.90%) :arrow_down:
strongtyping/strong_typing_utils.py 81.06% <100.00%> (+1.33%) :arrow_up:
strongtyping/tests/test_typedict.py 98.44% <100.00%> (+0.75%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.