openmedialibrary_platform_w.../Lib/site-packages/sqlalchemy/dialects/sybase/mxodbc.py

34 lines
901 B
Python
Raw Permalink Normal View History

2016-01-31 14:44:46 +00:00
# sybase/mxodbc.py
2019-01-20 10:35:31 +00:00
# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors
2016-01-31 14:44:46 +00:00
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""
.. 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.
"""
from sqlalchemy.dialects.sybase.base import SybaseDialect
from sqlalchemy.dialects.sybase.base import SybaseExecutionContext
from sqlalchemy.connectors.mxodbc import MxODBCConnector
class SybaseExecutionContext_mxodbc(SybaseExecutionContext):
pass
class SybaseDialect_mxodbc(MxODBCConnector, SybaseDialect):
execution_ctx_cls = SybaseExecutionContext_mxodbc
dialect = SybaseDialect_mxodbc