Is there a good way to pass a true / false flag fr...
# ask-community
n
Is there a good way to pass a true / false flag from the website to an asset? EX id like to be able to backfill and pass an overwrite flag if needed:
Copy code
@asset(partitions_def=partitions_def)
def some_task(context):
    some_s3_task(context.partition_key,  overwrite=False)
    return True
c
you would probably want to do this via config
n
So the process would be set overwrite to True in the config, then backfill the specific dates, then set overwrite back to false?
c
I am forgetting if we allow you to specify config using the backfill UI, but if we do not allow that, then yes
n
Yeah it looks like you can only view the config from the UI locally, from the examples on the docs it looks like you can change them from the cloud website.