You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure it is a good idea.
Users of pyipptool should know IPP. Since the protocol mention that requested_attributes is a string containing comma separated tokens. I would prefer to stick with the protocol. For sake of consistency.
For instance:
when requesting the attributes of a printer, if one wishes to only retrieve the name and state, the current way will be:
one approach that would perhaps be more convenient would be the possibility to pass the requested attributes as a tuple, or list ...
we would then internally convert the list/tuple into a string ...
thus allowing users of the function to simply pass a list/tuple for the attributes they wish to retrieve
this obviously requires the user to properly use the function, meaning that passing a string won't work, for instance ...
The text was updated successfully, but these errors were encountered: