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
Arguments -t/--top-number and -m/--min-status fall back to default values when the options are not present on the command line. However, when they are passed without a following argument, None is stored and causes the following error:
TypeError: unsupported operand type for long(): 'NoneType'
Use the const keyword argument to argparse.add_argument, storing the option's default value to handle those cases.
The text was updated successfully, but these errors were encountered:
Arguments
-t/--top-number
and-m/--min-status
fall back to default values when the options are not present on the command line. However, when they are passed without a following argument,None
is stored and causes the following error:Use the
const
keyword argument toargparse.add_argument
, storing the option's default value to handle those cases.The text was updated successfully, but these errors were encountered: