Re: [Sqlalchemy-tickets] [sqlalchemy] #2952: "cascading" declared_attr ?
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-02-10 22:35:06
|
#2952: "cascading" declared_attr ?
-----------------------------------+-------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: enhancement | Status: new
Priority: high | Milestone: 0.9.xx
Component: declarative | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: not decided upon |
-----------------------------------+-------------------------------
Comment (by zzzeek):
note that I don't like this name too much. It would be nicer if
declared_attr could be the namespace, like:
{{{
@declared_attr(all_subclasses=True)
def id(cls):
...
@declared_attr.all_subclasses # ?
def id(cls):
...
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2952#comment:1>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|