]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
update return type to None
authorNathan Louie <nxlouie@umich.edu>
Tue, 8 Nov 2022 06:52:22 +0000 (22:52 -0800)
committerNathan Louie <nxlouie@umich.edu>
Tue, 8 Nov 2022 06:52:22 +0000 (22:52 -0800)
alembic/command.py

index 88259bd7907c35db2ae59845d192b4aaf8d305e1..76db9b00af63bd7166f3c388cea624167e060a29 100644 (file)
@@ -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.