On 05/10/2016 04:14 PM, Brian Cherinka wrote:
Ok, thanks for the response. What's the timeframe for the 1.1 release?
it will bethis year :) hopefully before the summer is over. I
try to get one major version each year, and I'm pretty busy as this is
the first full year in a long
Ok, thanks for the response. What's the timeframe for the 1.1 release? In
the meantime, I will have a look into adding my own class_ attribute, or
using the Comparator.
I tried something like
setattr(datadb.Cube.plateifu, "class_", datadb.Cube.id.class_)
but it didn't seem to work. But
in 1.1 these hybrids will have the class_ attribute like other attributes.
Until then you can probably add your own class_ attribute to the object
which you are returning. Also, using a custom Comparator class (see
the example in the hybrid docs) will also return an instrumented
attribute
I'm trying to build a query system where given a filter parameter name, I
can figure out which DeclarativeBase class it is attached to. I need to do
this for a mix of standard InstrumentedAttributes and Hybrid
Properties/Expressions. I have several Declarative Base classes with
hybrid