James Barkley
04/15/2024, 2:38 PMfrom prefect import variables.Variable which immediately gives an error. Did this change in 2.0?Marvin
04/15/2024, 2:39 PMVariable object that you could import. The use of Variable is not the way to handle variables in Prefect 2.x.
You should refer to the Prefect Variables guide for more detailed instructions on how to work with variables in the current version.
If you're migrating from Prefect 1.0 to Prefect 2.x, it might be useful to check out the migration guide, which provides comprehensive information on what changes to expect and how to adapt your workflows.