Challenge
Swapped arguments
…line, find which parameter got which value, fix it with keyword arguments, then make calls that can't be swapped.
5 results
Challenge
…line, find which parameter got which value, fix it with keyword arguments, then make calls that can't be swapped.
Challenge
…from "Log formatter function" with **fields, so any extra keyword arguments are added to the line as key=value pairs, then pass whole dicts of fields into it with ** at the call.
Challenge
…confirm=True is passed by name: a bare * makes confirm keyword-only and required, then an is True check refuses values that are merely truthy, such as "yes".
Challenge
…loose values and with a list unpacked by *, then add a keyword-only decimals option after *values and return None when there are no values.
Challenge
Give send_command(cmd, retries=3, timeout=5.0) default values so callers only pass what differs, call it three different ways, then add a new priority parameter without breaking any existing call.