]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
fix: report the MultirangeInfo object exposed by psycopg.types.multirange
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 3 Jan 2023 19:40:38 +0000 (19:40 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 3 Jan 2023 19:40:38 +0000 (19:40 +0000)
psycopg/psycopg/_typeinfo.py

index 2f1a24d93ff542162349f8dba7bd01a9eeee422a..df0968aca411438346f14a9fda4bab380dba1df3 100644 (file)
@@ -201,8 +201,7 @@ WHERE t.oid = %(name)s::regtype
 class MultirangeInfo(TypeInfo):
     """Manage information about a multirange type."""
 
-    # TODO: expose to multirange module once added
-    # __module__ = "psycopg.types.multirange"
+    __module__ = "psycopg.types.multirange"
 
     def __init__(
         self,