[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - Custom dialects that implement :class:`.GenericTy
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-01-17 01:04:45
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/f3a892a3ef66/ Changeset: f3a892a3ef66 Branch: None User: zzzeek Date: 2015-01-17 01:03:33+00:00 Summary: - Custom dialects that implement :class:`.GenericTypeCompiler` can now be constructed such that the visit methods receive an indication of the owning expression object, if any. Any visit method that accepts keyword arguments (e.g. ``**kw``) will in most cases receive a keyword argument ``type_expression``, referring to the expression object that the type is contained within. For columns in DDL, the dialect's compiler class may need to alter its ``get_column_specification()`` method to support this as well. The ``UserDefinedType.get_col_spec()`` method will also receive ``type_expression`` if it provides ``**kw`` in its argument signature. fixes #3074 Affected #: 13 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |