Justin Trautmann
09/19/2022, 2:02 PMJustin Trautmann
09/19/2022, 2:03 PMfrom prefect import flow, get_run_logger
@flow(name="param_example")
def main(
*,
bool_true: bool = True, # <-- Default TRUE
bool_false: bool = False, # <-- Default FALSE
) -> None:
logger = get_run_logger()
<http://logger.info|logger.info>(bool_true)
<http://logger.info|logger.info>(bool_false)
Justin Trautmann
09/19/2022, 2:07 PMChristopher Boyd
09/19/2022, 2:31 PMJustin Trautmann
09/19/2022, 2:52 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by