From ea998a9d3ece056253b65139eb3637e9df40d8c8 Mon Sep 17 00:00:00 2001 From: "Sterling G. Baird" Date: Tue, 9 Apr 2024 13:46:29 -0400 Subject: [PATCH] Update my_gh_sample_transfer_workflow.py --- scripts/prefect_scripts/my_gh_sample_transfer_workflow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/prefect_scripts/my_gh_sample_transfer_workflow.py b/scripts/prefect_scripts/my_gh_sample_transfer_workflow.py index 07bd5f2..fa25b71 100644 --- a/scripts/prefect_scripts/my_gh_sample_transfer_workflow.py +++ b/scripts/prefect_scripts/my_gh_sample_transfer_workflow.py @@ -2,6 +2,8 @@ # https://prefecthq.github.io/prefect-slack/ # https://github.com/PrefectHQ/interactive_workflow_examples +from typing import Optional + from prefect import flow, get_run_logger, pause_flow_run, settings from prefect.blocks.notifications import SlackWebhook from prefect.context import get_run_context @@ -14,7 +16,7 @@ class UserInput(RunInput): github_username: str - comments: str + comments: Optional[str] = None flag_for_review: bool