From 090b594132a88e6b2abe9fe5edcf82bb814e7f45 Mon Sep 17 00:00:00 2001 From: Nathan Louie Date: Mon, 7 Nov 2022 22:52:22 -0800 Subject: [PATCH] update return type to None --- alembic/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/command.py b/alembic/command.py index 88259bd7..76db9b00 100644 --- a/alembic/command.py +++ b/alembic/command.py @@ -244,7 +244,7 @@ def revision( def check( config: "Config", -) -> Union[Optional["Script"], List[Optional["Script"]]]: +) -> None: """Checks if the revision command with autogenerate has pending upgrade ops to run. :param config: a :class:`.Config` object. -- 2.47.3