https://prefect.io logo
Title
m

Muhammad Husnain

01/31/2023, 7:42 AM
Hello everyone. Is it possible that I can add a key value pair in the prefect context dictionary? I have the following code
context = prefect.context.get_run_context().dict()
    context['custom_value'] = "some_value"
    print("prefect_context_dict", context)
The above code does not update the prefect dictionary, even though it should since it is a dictionary? Is it even possible to do that in prefect 2?