dibbler/sqlalchemy/dialects/sybase/mxodbc.py

34 lines
901 B
Python
Raw Normal View History

2017-04-15 18:33:29 +02:00
# sybase/mxodbc.py
# Copyright (C) 2005-2017 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
2010-05-07 19:33:49 +02:00
"""
2017-04-15 18:33:29 +02:00
.. dialect:: sybase+mxodbc
:name: mxODBC
:dbapi: mxodbc
:connectstring: sybase+mxodbc://<username>:<password>@<dsnname>
:url: http://www.egenix.com/
.. note::
This dialect is a stub only and is likely non functional at this time.
2010-05-07 19:33:49 +02:00
"""
2017-04-15 18:33:29 +02:00
from sqlalchemy.dialects.sybase.base import SybaseDialect
from sqlalchemy.dialects.sybase.base import SybaseExecutionContext
2010-05-07 19:33:49 +02:00
from sqlalchemy.connectors.mxodbc import MxODBCConnector
2017-04-15 18:33:29 +02:00
2010-05-07 19:33:49 +02:00
class SybaseExecutionContext_mxodbc(SybaseExecutionContext):
pass
2017-04-15 18:33:29 +02:00
2010-05-07 19:33:49 +02:00
class SybaseDialect_mxodbc(MxODBCConnector, SybaseDialect):
execution_ctx_cls = SybaseExecutionContext_mxodbc
dialect = SybaseDialect_mxodbc