CHIMEFRB / workflow

🌊 Working in flowstate.
0 stars 0 forks source link

BUG: chimefrb.workflow.lifecycle.execute 'Argument' object has no attribute 'is_flag' #99

Closed chrisfandrade16 closed 2 weeks ago

chrisfandrade16 commented 1 month ago

If your Work object defines a function and that function is an underlying Click CLI command, some custom code is written to check for any @click.option that has is_flag as True. But, if your Click CLI command also has some @click.argument, it will break and throw this error as it tries to check for is_flag, because is_flag only applies to a @click.option and not a @click.argument.