Skip to content

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

Open

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)

Activity

  1. kadler commented on Aug 18, 2016

    @kadler
    MemberAuthor

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


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

  2. kadler commented on Aug 18, 2016

    @kadler
    MemberAuthor

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


    status

  3. added
    bugSomething isn't working
    and removed on Dec 21, 2018
  4. added this to the milestone on May 1, 2020
  5. modified the milestones: , 2.0 on May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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