diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-25 22:00:58 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-25 22:00:58 +0000 |
| commit | 756370e0b43a20ae30ed03cb30762756c97fb258 (patch) | |
| tree | b7a77d9c63db47d55d27dbebe3df7f45c38c0126 /lib/sqlalchemy/dialects | |
| parent | 8056006f067f98cffcbdc274a1c7921f00a67ab9 (diff) | |
| download | sqlalchemy-756370e0b43a20ae30ed03cb30762756c97fb258.tar.gz | |
- The assert_unicode flag is deprecated. SQLAlchemy will raise
a warning in all cases where it is asked to encode a non-unicode
Python string, and will do nothing for DBAPIs that already
accept Python unicode objects.
Diffstat (limited to 'lib/sqlalchemy/dialects')
| -rw-r--r-- | lib/sqlalchemy/dialects/mssql/base.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/base.py b/lib/sqlalchemy/dialects/mssql/base.py index facb16490..1ce3cbde8 100644 --- a/lib/sqlalchemy/dialects/mssql/base.py +++ b/lib/sqlalchemy/dialects/mssql/base.py @@ -489,16 +489,6 @@ class VARCHAR(_StringType, sqltypes.VARCHAR): If False, may be overridden by :attr:`sqlalchemy.engine.base.Dialect.convert_unicode`. - :param assert_unicode: - - If None (the default), no assertion will take place unless - overridden by :attr:`sqlalchemy.engine.base.Dialect.assert_unicode`. - - If 'warn', will issue a runtime warning if a ``str`` - instance is used as a bind value. - - If true, will raise an :exc:`sqlalchemy.exc.InvalidRequestError`. - :param collation: Optional, a column-level collation for this string value. Accepts a Windows Collation Name or a SQL Collation Name. @@ -546,16 +536,6 @@ class CHAR(_StringType, sqltypes.CHAR): If False, may be overridden by :attr:`sqlalchemy.engine.base.Dialect.convert_unicode`. - :param assert_unicode: - - If None (the default), no assertion will take place unless - overridden by :attr:`sqlalchemy.engine.base.Dialect.assert_unicode`. - - If 'warn', will issue a runtime warning if a ``str`` - instance is used as a bind value. - - If true, will raise an :exc:`sqlalchemy.exc.InvalidRequestError`. - :param collation: Optional, a column-level collation for this string value. Accepts a Windows Collation Name or a SQL Collation Name. |
