Skip to content

Commit

Permalink
supports_native_.... decimal/uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
m32 committed Aug 24, 2024
1 parent 75cfae0 commit 283b66f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ for more verbose output:
or:
python3 -m pytest --log-info=sqlalchemy.engine --log-debug=pytds --log-debug=sqlalchemy.engine

results: 64 failed, 686 passed, 767 skipped, 1 warning
results with SQLAlchemy==2.0.31
50 failed, 706 passed, 777 skipped, 1 warning

IMPORTANT:

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ requirement_cls=sqlalchemy_pytds.requirements:Requirements
profile_file=.profiles.txt

[db]
default=mssql+pytds://sa:Admin1!1@127.0.0.1/testing
default=mssql+pytds://sa:SaAdmin1%%40@127.0.0.1/testing
sqlite=sqlite:///:memory:
2 changes: 1 addition & 1 deletion sqlalchemy_pytds/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.0.0'
__version__ = '1.0.1'

from sqlalchemy.dialects import registry

Expand Down
2 changes: 2 additions & 0 deletions sqlalchemy_pytds/dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class MSDialect_pytds(PyTDSConnector, MSDialect):
supports_statement_cache = True
supports_sane_rowcount_returning = True
supports_sane_multi_rowcount = False
supports_native_decimal = True
supports_native_uuid = True

def __init__(self, server_side_cursors=False, **params):
super(MSDialect_pytds, self).__init__(**params)
Expand Down

0 comments on commit 283b66f

Please sign in to comment.