Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3827 +/- ##
==========================================
+ Coverage 89.43% 89.44% +0.01%
==========================================
Files 904 904
Lines 105382 105378 -4
==========================================
+ Hits 94246 94258 +12
+ Misses 11136 11120 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@eminyouskn - None of the Jenkins failures are your fault. We are having issues with BARON/GAMS on Jenkins. |
mrmundt
left a comment
There was a problem hiding this comment.
Is it becoming a "new python standard" to move from Optional(Blah, Blah) to Blah | Blah?
|
@mrmundt I think starting with Python 3.10, the vertical bar ( |
|
@eminyouskn - Neat neat. Since we have dropped Python 3.9 support then, this is fine! Can of worms: We have never defined a type hinting standard in Pyomo... (not volunteering) |
Fixes # .
Summary/Motivation:
As part of #3788, this PR follows the suggested type hints for the Knitro module.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: