]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
reformat 8393/head
authorasimfarooq5 <asimfarooq5@gmail.com>
Wed, 17 Aug 2022 13:36:09 +0000 (18:36 +0500)
committerasimfarooq5 <asimfarooq5@gmail.com>
Wed, 17 Aug 2022 13:36:09 +0000 (18:36 +0500)
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/types.py

index d7b280f2a3eace0e5b27247d250210a4c930c1e1..16d7920a21f370bfe49c3bf8f10bea6de451e625 100644 (file)
@@ -1351,6 +1351,7 @@ from .types import CIDR as CIDR
 from .types import INET as INET
 from .types import INTERVAL as INTERVAL
 from .types import MACADDR as MACADDR
+from .types import MACADDR8 as MACADDR8
 from .types import MONEY as MONEY
 from .types import OID as OID
 from .types import PGBit as PGBit  # noqa: F401
@@ -1358,6 +1359,7 @@ from .types import PGCidr as PGCidr  # noqa: F401
 from .types import PGInet as PGInet  # noqa: F401
 from .types import PGInterval as PGInterval  # noqa: F401
 from .types import PGMacAddr as PGMacAddr  # noqa: F401
+from .types import PGMacAddr8 as PGMacAddr8  # noqa: F401
 from .types import PGUuid as PGUuid
 from .types import REGCLASS as REGCLASS
 from .types import TIME as TIME
@@ -1518,10 +1520,6 @@ colspecs = {
 }
 
 
-class MACADDR8(MACADDR):
-    __visit_name__ = "MACADDR8"
-
-
 ischema_names = {
     "_array": _array.ARRAY,
     "hstore": _hstore.HSTORE,
index 81b677187284b1edfbba64429954908fd90cc02f..c65920b643259b88f5e75021e175f728420685cb 100644 (file)
@@ -46,6 +46,13 @@ class MACADDR(sqltypes.TypeEngine[str]):
 PGMacAddr = MACADDR
 
 
+class MACADDR8(MACADDR):
+    __visit_name__ = "MACADDR8"
+
+
+PGMacAddr8 = MACADDR8
+
+
 class MONEY(sqltypes.TypeEngine[str]):
 
     r"""Provide the PostgreSQL MONEY type.