-
Notifications
You must be signed in to change notification settings - Fork 10
BMSLD Updates #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
BMSLD Updates #258
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
==========================================
+ Coverage 77.58% 78.82% +1.23%
==========================================
Files 78 80 +2
Lines 4011 4330 +319
==========================================
+ Hits 3112 3413 +301
- Misses 899 917 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Unsure if keeping
|
In this case the first variant is just an ugly way of providing two arguments as one argument to the method. It only makes sense to me because it wouldn't require "unpacking" such things from an input json in the patcher. But as the schema validation guarantees that the keys exists in the dict from the input json, it is definitely better to unpack it in the patcher and use the second variant here because MEDS doesn't know anything about the schema. |
So I should use the less verbose version here then? Or are you saying keep this in OSRR, which probably shouldn't happen? |
Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm gonna finish preparing the Vec2/3/4 pr today which should help with this pr too
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's improve some typing problems. start off like this:
ActorName: TypeAlias = str
ActorGroupName: TypeAlias = str
then adjust the signatures of your API functions to use these types instead of just str
as appropriate. a lot of the functions currently have incorrect signatures, so double check all of them
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Is this PR in a mergeable state or does it still need to be fixed? |
Uh oh!
There was an error while loading. Please reload this page.