ErrLookup › sqlalchemy/alembic

sqlalchemy/alembic

A database migrations tool for SQLAlchemy. · Python · 82 source files

Analyzed at 44fb345033 on 2026-08-04. 66 documented errors.

Code / MessageTypeSeverityTags
can't return inspector as this AutogenContext has no databas
validation error autogenerate, connection, offline-mode, reflection
Duplicate table keys across multiple MetaData objects: %s
validation error autogenerate, metadata, configuration
Autogenerate rendering of SQL Expression language constructs
exception error autogenerate, rendering, sql-expression, execute
Can only return single object for UpgradeOps traverse
validation error autogenerate, rewriter, process-revision-directives
Can only return single object for DowngradeOps traverse
validation error autogenerate, rewriter, process-revision-directives
'%s' is not a valid value for %s; expected 'space', 'newline
validation error configuration, alembic-ini, path-separator
SQL parameters not allowed with as_sql
validation error offline-mode, sql-params, as-sql
Can't send params and multiparams at the same time
validation error execution, parameters, internal
List expected
validation error bulk-insert, parameters, type-check
List of dictionaries expected
validation error bulk-insert, parameters, type-check
Individual alter column constructs not supported by MySQL
exception error mysql, mariadb, alter-column, batch-mode
No generic 'DROP CONSTRAINT' in MySQL - please specify const
exception error mysql, mariadb, constraints, drop-constraint
No support for ALTER of constraints in SQLite dialect. Pleas
exception error sqlite, constraints, batch-mode
SQLAlchemy 1.4.18+ required
exception error run-async, sqlalchemy-version, dependency
Cannot call run_async in SQL mode
exception error run-async, offline-mode, connection
Cannot call run_async with a sync engine
validation error run-async, sync-engine, async
The %s method does not apply to a batch table alter operatio
exception error batch-mode, operations, no-op
recreate may be one of 'auto', 'always', or 'never'.
validation error batch-mode, configuration, validation
Can't create table in batch mode
exception error batch-mode, create-table, operations
Can't drop table in batch mode
exception error alembic, batch-mode, ddl, migrations, api-misuse
Constraint must have a name
validation error alembic, batch-mode, constraints, migrations
No such constraint: '%s'
validation error alembic, batch-mode, constraints, migrations, data-integrity
No such index: '%s'
validation error alembic, batch-mode, indexes, migrations
constraint cannot be produced; original constraint is not pr
validation error alembic, operations, constraints, migrations, internals
operation is not reversible; original column is not present
validation error alembic, operations, columns, migrations, internals
This MigrationScript instance has a multiple-entry list for
validation error alembic, autogenerate, migrations, internals
This MigrationScript instance has a multiple-entry list for
validation error alembic, autogenerate, migrations, internals
'type' can be one of %s
validation error alembic, constraints, migrations, internals, validation
SQLAlchemy 2.0 required
exception error alembic, sqlalchemy-version, dependencies, migrations
No context has been configured yet.
exception error alembic, configuration, env-setup, migrations
Connection, url, or dialect_name is required.
exception error alembic, configuration, env-setup, migrations, database-connection
A plugin named {name} is already registered
validation error alembic, plugins, entry-points, configuration
Invalid plugin expression {name!r}
validation error alembic, plugins, configuration, validation
Cycle is detected in revisions (%s)
exception critical alembic, revisions, migration-graph, data-integrity, configuration
Dependency cycle is detected in revisions (%s)
exception critical alembic, revisions, migration-graph, dependencies, data-integrity
Branch name '%s' in revision %s already used by revision %s
exception error alembic, revisions, branch-labels, migration-graph, configuration
revision %s not in map
exception error revision-map, internal-api, alembic
Multiple heads are present for given argument '%s'; %s
exception error multiple-heads, branching, alembic
No such branch: '%s'
exception error branch-label, revision-resolution, alembic
No such revision or branch '%s'%s
exception error revision-resolution, partial-id, alembic
Multiple revisions start with '%s': %s...
exception error revision-resolution, partial-id, ambiguous, alembic
Revision %s is not a member of branch '%s'
exception error branch-label, lineage, revision-resolution, alembic
revision identifier %r is not a string; ensure database driv
exception error database-driver, type-mismatch, version-table, alembic
Dependency resolution failed; broken map
exception error revision-map, integrity, internal, alembic
Requested revision %s overlaps with other requested revision
exception error revision-map, overlapping-targets, internal, alembic
Ambiguous walk
exception error relative-revision, walk, ambiguous, branching, alembic
Relative revision %s didn't produce %d migrations
exception error relative-revision, downgrade, invalid-syntax, alembic
Walked too far
exception error relative-revision, downgrade, walk, alembic
Ambiguous upgrade from multiple current revisions
exception error relative-revision, upgrade, ambiguous, multiple-heads, alembic
Not a valid downgrade target from current heads
exception error downgrade, branch-label, lineage, alembic
Revision %s is not an ancestor of revision %s
exception error alembic, migration, downgrade, revision-graph, branch
Character(s) '%s' not allowed in revision identifier '%s'
exception error alembic, migration, revision-id, validation, naming
Self-loop is detected in revisions (%s)
exception error alembic, migration, revision-graph, cycle, validation
Dependency self-loop is detected in revisions (%s)
exception error alembic, migration, revision-graph, cycle, dependencies, validation
{path} is not in the same subtree as {other}
validation error alembic, path, filesystem, compat, cross-platform
Error executing editor (%s)
exception error alembic, editor, subprocess, environment, command
No suitable editor found. Please set the "EDITOR" or "VISUAL
exception error alembic, editor, environment, path, command
Can't invoke function '%s', as the proxy object has not yet
exception error alembic, operations, proxy, migration-context, api-misuse
missing required positional argument: %s
exception error alembic, operations, legacy-api, arguments, signature
Can not set dispatch function for object {target!r}: key alr
exception error alembic, dispatcher, registration, duplicate, internal-api
no dispatch function for object: %s
exception error alembic, dispatcher, lookup, missing-handler, internal-api
Don't know how to comma-format %r
exception error alembic, messaging, type-mismatch, formatting, internal-api
Template rendering failed; see %s for a template-oriented tr
exception error alembic, mako, template, migration-generation, command
Can't find Python file %s
exception error alembic, file-loading, import, path, configuration
String or text() construct expected
exception error alembic, sqlalchemy, index, type-mismatch, ddl
Script supports at least python {lower_python} but less than
exception error alembic, tooling, stubs, python-version, maintainer