Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
3e76bedb
Unverified
Commit
3e76bedb
authored
Dec 12, 2022
by
Victor Colombo
Committed by
GitHub
Dec 12, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into vcolombo/refactor-define-fact-wait-request
parents
031cb3be
d2a813e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
changelog.md
docs/changelog.md
+3
-0
parse_input.star
src/package_io/parse_input.star
+3
-5
No files found.
docs/changelog.md
View file @
3e76bedb
# 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
...
...
src/package_io/parse_input.star
View file @
3e76bedb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment