Skip to content
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

iCmd, iSh, iPgm, ... should take kwargs instead of options dictionary #4

Open
kadler opened this issue Jun 14, 2016 · 2 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@kadler
Copy link
Member

kadler commented Jun 14, 2016

Original report by Kevin Adler (Bitbucket: kadler, GitHub: kadler).


compare:

#!python

iPgm('foo', 'FOO', {'lib': 'MYLIB', 'function': 'bar' }) # call function 'bar' in MYLIB/FOO

to:

#!python

iPgm('foo', 'FOO', lib='MYLIB', function='bar')

https://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ (this works similarly in Ruby as well, just search for kwargs)

@kadler
Copy link
Member Author

kadler commented Aug 18, 2016

Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).


This is a low priority, but will be considered in future release.

@kadler
Copy link
Member Author

kadler commented Aug 18, 2016

Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).


status

@kadler kadler added major bug Something isn't working and removed major labels Dec 21, 2018
@kadler kadler added this to the 1.8 milestone May 1, 2020
@kadler kadler modified the milestones: 1.8, 2.0 May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant