]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
docs: fix typos (contraint, funciton, priorty) in docstrings (#1808) main
authorBojun Chai <bmayday.chai@gmail.com>
Mon, 20 Apr 2026 21:11:28 +0000 (05:11 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Apr 2026 21:11:28 +0000 (23:11 +0200)
Co-authored-by: Bojun Chai <bojunchai@microsoft.com>
alembic/op.pyi
alembic/operations/base.py
alembic/operations/ops.py
alembic/util/langhelpers.py

index 7fadaf5fe67771d918fff171d73e2758f98e21f0..8b347d21da6bdf0b4ec5f3aa0f36c28d6cae0ed7 100644 (file)
@@ -86,7 +86,7 @@ def add_column(
 
     .. note::
 
 
     .. note::
 
-        Not all contraint types may be indicated with this directive.
+        Not all constraint types may be indicated with this directive.
         NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
         is conditionally honored, UNIQUE
         is currently not.
         NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
         is conditionally honored, UNIQUE
         is currently not.
index b9e6107fbaddc35e3d7b3663b7f52d2defcdbd11..67aefdd4c2c7b9f92558e12c5aba9e526d38cab2 100644 (file)
@@ -652,7 +652,7 @@ class Operations(AbstractOperations):
 
             .. note::
 
 
             .. note::
 
-                Not all contraint types may be indicated with this directive.
+                Not all constraint types may be indicated with this directive.
                 NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
                 is conditionally honored, UNIQUE
                 is currently not.
                 NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
                 is conditionally honored, UNIQUE
                 is currently not.
index 7eda50d67205c07b7ea0b26e5cca5851d140d701..c474c07b6f91304d6c43e0a272e739d102432a17 100644 (file)
@@ -2123,7 +2123,7 @@ class AddColumnOp(AlterTableOp):
 
         .. note::
 
 
         .. note::
 
-            Not all contraint types may be indicated with this directive.
+            Not all constraint types may be indicated with this directive.
             NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
             is conditionally honored, UNIQUE
             is currently not.
             NOT NULL, FOREIGN KEY, and CHECK are honored, PRIMARY KEY
             is conditionally honored, UNIQUE
             is currently not.
index cf0df2396a99a7dd058dd965e1c092e0031864ad..c7226a4ce8428cb59f08dcdb5d0b04bea204666c 100644 (file)
@@ -292,7 +292,7 @@ class DispatchPriority(enum.IntEnum):
     """
 
     FIRST = 50
     """
 
     FIRST = 50
-    """Run the funciton in the first batch of functions (highest priority)"""
+    """Run the function in the first batch of functions (highest priority)"""
 
     MEDIUM = 25
     """Run the function at normal priority (this is the default)"""
 
     MEDIUM = 25
     """Run the function at normal priority (this is the default)"""
@@ -354,7 +354,7 @@ class Dispatcher:
 
 
 class PriorityDispatcher:
 
 
 class PriorityDispatcher:
-    """registers lists of functions at multiple levels of priorty and provides
+    """registers lists of functions at multiple levels of priority and provides
     a target to invoke them in priority order.
 
     .. versionadded:: 1.18.0 - PriorityDispatcher replaces the job
     a target to invoke them in priority order.
 
     .. versionadded:: 1.18.0 - PriorityDispatcher replaces the job