diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-04 10:27:59 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-05 10:39:39 -0400 |
| commit | fce1d954aa57feca9c163f9d8cf66df5e8ce7b65 (patch) | |
| tree | 7412139205de0379b5e47e549b87c80bfe618da9 /lib/sqlalchemy/util | |
| parent | eeff036db61377b8159757e6cc2a2d83d85bf69e (diff) | |
| download | sqlalchemy-fce1d954aa57feca9c163f9d8cf66df5e8ce7b65.tar.gz | |
implement PG ranges/multiranges agnostically
Ranges now work using a new Range object,
multiranges as lists of Range objects (this is what
asyncpg does. not sure why psycopg has a "Multirange"
type).
psycopg, psycopg2, and asyncpg are currently supported.
It's not clear how to make ranges work with pg8000, likely
needs string conversion; this is straightforward with the
new archicture and can be added later.
Fixes: #8178
Change-Id: Iab8d8382873d5c14199adbe3f09fd0dc17e2b9f1
Diffstat (limited to 'lib/sqlalchemy/util')
| -rw-r--r-- | lib/sqlalchemy/util/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util/__init__.py b/lib/sqlalchemy/util/__init__.py index 756b93bb4..c3dfdadc4 100644 --- a/lib/sqlalchemy/util/__init__.py +++ b/lib/sqlalchemy/util/__init__.py @@ -59,6 +59,7 @@ from .compat import has_refcount_gc as has_refcount_gc from .compat import inspect_getfullargspec as inspect_getfullargspec from .compat import local_dataclass_fields as local_dataclass_fields from .compat import osx as osx +from .compat import py310 as py310 from .compat import py311 as py311 from .compat import py38 as py38 from .compat import py39 as py39 |
