MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/dialects/mssql/base.py:1220–1225  ·  view source on GitHub ↗
(self, **kw)

Source from the content-addressed store, hash-verified

1218 """the SQL Server REAL datatype."""
1219
1220 def __init__(self, **kw):
1221 # REAL is a synonym for FLOAT(24) on SQL server.
1222 # it is only accepted as the word "REAL" in DDL, the numeric
1223 # precision value is not allowed to be present
1224 kw.setdefault("precision", 24)
1225 super().__init__(**kw)
1226
1227
1228class DOUBLE_PRECISION(sqltypes.DOUBLE_PRECISION):

Callers 8

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

setdefaultMethod · 0.45

Tested by

no test coverage detected