]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(doc) add documentation for postgresql dialect time and timestamp types (run black) 8185/head
authorDaniel Hall <daniel.hall@moesol.com>
Tue, 28 Jun 2022 18:55:44 +0000 (11:55 -0700)
committerDaniel Hall <daniel.hall@moesol.com>
Tue, 28 Jun 2022 18:55:44 +0000 (11:55 -0700)
lib/sqlalchemy/dialects/postgresql/types.py

index eea88ddc9b5e5b5fc4462b9e2d31219c74ca60d8..81b677187284b1edfbba64429954908fd90cc02f 100644 (file)
@@ -118,6 +118,7 @@ class TIMESTAMP(sqltypes.TIMESTAMP):
     """Provide the PostgreSQL TIMESTAMP type."""
 
     __visit_name__ = "TIMESTAMP"
+
     def __init__(self, timezone=False, precision=None):
         """Construct a TIMESTAMP.
 
@@ -136,6 +137,7 @@ class TIME(sqltypes.TIME):
     """PostgreSQL TIME type."""
 
     __visit_name__ = "TIME"
+
     def __init__(self, timezone=False, precision=None):
         """Construct a TIME.