Pablo Recio
05/08/2024, 6:51 AMA variable with the name 'meta_before_cursors_prod' already exists.
even though I'm setting the overwrite
param to True
. It even fails in the UI, I had to delete and create it again.Marvin
05/08/2024, 6:51 AMoverwrite
parameter. The pull request #12596 discusses updates to Variable.set
methods which require overwrite=True
for updates, but this is still in draft and hasn't been merged yet.
Regarding the error for the variable with the name 'meta_before_cursors_prod' already existing, it seems like this could be a bug or a feature not fully implemented. Since this PR is in draft, the final behavior might not be available in your current version. It might be helpful to check the status of this pull request and any related issues for updates on whether the feature has been finalized and merged.
As for the other issues I found, none of them seem to relate directly to setting variables with overwrite=True
, so it's likely the first PR I mentioned is the closest to your description. If this does not solve your issue, I would consider reporting a new bug to Prefect, providing the details of the error and the steps you've already taken, such as deleting and creating the variable again in the UI.Bianca Hoch
05/09/2024, 3:27 PMBianca Hoch
05/09/2024, 3:27 PMMihir Thatte
05/09/2024, 8:31 PM