Update sqlalchemy requirement from ~=1.4.22 to ~=2.0.0
Created by: dependabot[bot]
Updates the requirements on sqlalchemy to permit the latest version.
Release notes
Sourced from sqlalchemy's releases.
2.0.0
Released: January 26, 2023
orm
[orm] [bug] Improved the notification of warnings that are emitted within the configure mappers or flush process, which are often invoked as part of a different operation, to add additional context to the message that indicates one of these operations as the source of the warning within operations that may not be obviously related.
References: #7305
orm extensions
[feature] [orm extensions] Added new option to horizontal sharding API
_horizontal.set_shard_id
which sets the effective shard identifier to query against, for both the primary query as well as for all secondary loaders including relationship eager loaders as well as relationship and column lazy loaders.References: #7226
[usecase] [orm extensions] Added new feature to
AutomapBase
for autoload of classes across multiple schemas which may have overlapping names, by providing aAutomapBase.prepare.modulename_for_table
parameter which allows customization of the__module__
attribute of newly generated classes, as well as a new collectionAutomapBase.by_module
, which stores a dot-separated namespace of module names linked to classes based on the__module__
attribute.Additionally, the
AutomapBase.prepare()
method may now be invoked any number of times, with or without reflection enabled; only newly added tables that were not previously mapped will be processed on each call. Previously, theMetaData.reflect()
method would need to be called explicitly each time.References: #5145
sql
[sql] [bug] Fixed stringify for a the
CreateSchema
DDL construct, which would fail with anAttributeError
when stringified without a dialect.This change is also backported to: 1.4.47
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)