-
Notifications
You must be signed in to change notification settings - Fork 8
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
add cli access #25
base: main
Are you sure you want to change the base?
add cli access #25
Conversation
1065178
to
1e13ef5
Compare
tests/test_distributed.py
Outdated
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.
this test is pure elegance, nice!
26de102
to
43b97dd
Compare
ffccb0b
to
c006ebc
Compare
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.
Only minor suggestion is to make the changelog entry a bit more descriptive.
Should we try and get this into the next release? If so we should add this to the community roadmap for the next release
CHANGELOG.md
Outdated
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
|
|||
### Added | |||
|
|||
- add support for CLI calls. ![\25](https://github.com/mllam/mllam-data-prep/pull/25). |
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.
maybe it would be clearer to say "add support for calling cli from python function and add tests for cli with/without dask.distributed
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.
Yeah, I updated it. Please check.
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.
maybe we should just write what the CLI call is now? Is it still python -m ...
?
Maybe the changelog should then say
add new CLI call option
...
(so thatpython -m mllam_data_prep ...
isn't needed)
or something like that?
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.
Perfecto!
Ready to merge then. But we should probably wait and put this on the roadmap before we merge
I forgot to propose this so that it got on the roadmap, sorry @observingClouds! I was going to try and sneak it into any idea what I could be doing wrong? |
For now I suggest we propose this for |
Could it be that you need |
Yes of course! DUH! Sorry and thank you. Ok, this works for me then :) |
This adds CLI access such that one can call mllam-data-prep directly from the command line, like
mllam_data_prep my_awesome_dataset.yaml
Note: Tests currently fail as this depends on #27 to be merged. It also depends on #26.