I just see that will be by a problem of change in API

AttributeError: 'str' object has no attribute '_descriptor'

Kless ha escrito:
> It's being passed from the IsBcrypt constructor, so:
>
>   entity._descriptor.add_mapper_extension(BcryptMapperExtension())
>
>
> On 1 ene, 19:48, Michael Bayer <mike...@zzzcomputing.com> wrote:
> > mapper extensions are established during the mapper() phase:
> >
> > mapper(someclass, sometable, extension=BycryptMapperExtension())
> >
> > On Jan 1, 2009, at 1:35 PM, Kless wrote:
> > > I've been trying create the extension. Here is the code with a test:
> >
> > > �http://paste.pocoo.org/show/97502/- Extension
> > > �http://paste.pocoo.org/show/97503/- Test
> >
> > > I need help to solve this little issue:
> >
> > > entity._descriptor.add_mapper_extension(BcryptMapperExtension())
> > > AttributeError: 'str' object has no attribute '_descriptor'
> >
> > > Does anybody could review the extension code?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to