Skip to content

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

Open
@kadler

Description

@kadler

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions