Deceivious07/19/2023, 12:52 PM
How do i disable validation for
while keeping the validation for
Jake Kaplan07/19/2023, 1:09 PM
to be whatever you'd like or remove it entirely
from prefect import flow from typing import Any @flow def flow(a: int, b: Any): print(a, b) if __name__ == '__main__': flow(1, 'b') flow(1, 5)
Deceivious07/19/2023, 1:40 PM
Jake Kaplan07/19/2023, 1:44 PM
@flow def flow(a: int, b: DontCoerce[str]): ...
Deceivious07/19/2023, 1:55 PM
to be a Enum type of which the values are computed are baked into the deployment using the open api params. But when i run the flow, the
param was being checked and failing.
to str while only modifying the deplyment open api params without any issues.