-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat:command changes #2644
base: develop
Are you sure you want to change the base?
feat:command changes #2644
Conversation
@@ -44,6 +44,8 @@ def main(): | |||
parser.add_argument("--debug", help="show debugging log messages on console", action="store_true", default=False) | |||
parser.add_argument("--logfile", help="If set to a name log output goes to that file", dest="logfile", | |||
default=None) | |||
parser.add_argument("-s", "--seed", help="creates demodata for the mswms server", | |||
action="store_true", default=False) |
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.
and what does this?
Have you tried the examples?
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.
and what does this?
Have you tried the examples?
It adds an argument '-s' or '--seed' to enable data seeding using the mswms command.
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.
and how is the method called?
Does it create demodata in a dir as the description says?
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.
no it is not creating
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.
can u give some hint where to do the changes?
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.
look in conftest for an example, this creates also demodata for the tests.
@anj20 do you have time to finish this in the next days? |
Purpose of PR?: Replace the mswms_demodata command with a --seed option for the mswms command, aligning it with the behavior of the seed option in mscolab
Fixes #2631
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Verified that the seed function runs correctly when executed using mswms -seed
Checklist:
<type>: <subject>