I accedently posted the message premature, an was in the process of completing 
it. The answer seems suitable.. Thanks!!



-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[EMAIL PROTECTED] Namens Michael Bayer
Verzonden: Monday, October 06, 2008 5:19 PM
Aan: sqlalchemy
Onderwerp: [sqlalchemy] Re: inhirit columnnames from another class


not sure if this is what youre asking but it sounds like this:

http://groups.google.com/group/sqlalchemy/browse_thread/thread/5c629ce3e27916c7#


On Oct 6, 11:02 am, JASH <[EMAIL PROTECTED]> wrote:
> Hi !
>
> I am a huge fan of declerative base but now I run into a problem...
>
> Say I have a class that stores files in a database:
>
> Base = decclarative_base()
> class Document(Base):
>         Id                 = Column(Integer, primary_key=True)
>         Filename      = Column(String(255), Unique = True)
>         Contents      = Column(someblob .....)
>
> Now I want to add a class davproperties to inhirit some Columns needed
> to get it working with my pythonic webdav server I wrote for use with
> mod_python
>
> class davproperties()
>         getcontentype Column


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to