Commit 3e76bedb authored by Victor Colombo's avatar Victor Colombo Committed by GitHub

Merge branch 'master' into vcolombo/refactor-define-fact-wait-request

parents 031cb3be d2a813e2
# TBD
### Fixes
- Fix bug with input parsing of participants
### Changes
- Updated `run(input_args)` to `run(args)`
- Refactor code to use `wait` and `request` commands
......
......@@ -35,11 +35,9 @@ def parse_input(input_args):
participants = []
for participant in input_args.participants:
new_participant = default_participant()
for sub_attr in dir(participant):
sub_value = getattr(participant, sub_attr)
# if its inserted we use the value inserted
if hasattr(participant, sub_attr):
new_participant[sub_attr] = sub_value
for sub_attr, sub_value in participant.items():
# if the value is set in input we set it in participant
new_participant[sub_attr] = sub_value
participants.append(new_participant)
result["participants"] = participants
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment