MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

1236 """the SQL Server REAL datatype."""
1237
1238 def __init__(self, **kw):
1239 # REAL is a synonym for FLOAT(24) on SQL server.
1240 # it is only accepted as the word "REAL" in DDL, the numeric
1241 # precision value is not allowed to be present
1242 kw.setdefault("precision", 24)
1243 super().__init__(**kw)
1244
1245
1246class 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