File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- https://github.com/intersystems-community/intersystems-irispython/releases/download/3.7.7 /intersystems_iris-3.7.7 -py3-none-any.whl
1
+ https://github.com/intersystems-community/intersystems-irispython/releases/download/3.7.8 /intersystems_iris-3.7.8 -py3-none-any.whl
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ def check_constraints(cls):
105
105
"LONGVARCHAR" : LONGVARCHAR ,
106
106
"NUMERIC" : NUMERIC ,
107
107
"SMALLINT" : SMALLINT ,
108
- "TIME" : TIME ,
109
- "TIMESTAMP" : TIMESTAMP ,
108
+ "TIME" : IRISTime ,
109
+ "TIMESTAMP" : IRISTimeStamp ,
110
110
"TINYINT" : TINYINT ,
111
111
"VARBINARY" : VARBINARY ,
112
112
"VARCHAR" : VARCHAR ,
@@ -925,8 +925,8 @@ def on_connect(conn):
925
925
cursor .execute ("%CHECKPRIV SELECT ON %Dictionary.PropertyDefinition" )
926
926
self ._dictionary_access = cursor .sqlcode == 0
927
927
928
- if not self .supports_vectors :
929
- util .warn ("No native support for VECTOR or not activated by license" )
928
+ # if not self.supports_vectors:
929
+ # util.warn("No native support for VECTOR or not activated by license")
930
930
if not self ._dictionary_access :
931
931
util .warn (
932
932
"""
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ def process(value):
58
58
59
59
60
60
class IRISTimeStamp (sqltypes .DateTime ):
61
+ __visit_name__ = "timestamp"
62
+
61
63
def bind_processor (self , dialect ):
62
64
def process (value : datetime .datetime ):
63
65
if value is not None :
@@ -84,6 +86,8 @@ def process(value):
84
86
85
87
86
88
class IRISDateTime (sqltypes .DateTime ):
89
+ __visit_name__ = "datetime"
90
+
87
91
def bind_processor (self , dialect ):
88
92
def process (value ):
89
93
if value is not None :
@@ -106,6 +110,8 @@ def process(value):
106
110
107
111
108
112
class IRISTime (sqltypes .DateTime ):
113
+ __visit_name__ = "time"
114
+
109
115
def bind_processor (self , dialect ):
110
116
def process (value ):
111
117
if value is not None :
You can’t perform that action at this time.
0 commit comments