]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Correct typo in documention, closes #872 873/head
authorAdam Parkin <adam.parkin@yougov.com>
Mon, 12 Jul 2021 19:39:19 +0000 (12:39 -0700)
committerAdam Parkin <adam.parkin@yougov.com>
Mon, 12 Jul 2021 19:39:19 +0000 (12:39 -0700)
docs/build/autogenerate.rst

index 4a5b27ac2d233466c1799539dad1c0b4144e90e6..ba2540c73535598e22c7d337e6c22b9f9d6b0970 100644 (file)
@@ -356,7 +356,7 @@ full example of omitting tables with schema support may look like::
     target_metadata = MyModel.metadata
 
     def include_name(name, type_, parent_names):
-        if type == "schema":
+        if type_ == "schema":
             return name in [None, "schema_one", "schema_two"]
         elif type_ == "table":
             # use schema_qualified_table_name directly