Hi there,
I started to work with sqlalchemy. thank you to its creater/contributers.

my question:

Am I allowed use a Tableclass as the following:

class DbNewsItem(object):
     """a class to connect a plone newsitem with a db news item
     """

     ploneid = ''
     news = ''

     def __init__(self, pid, **kw):
         # pid we need, the rest of the fields we pass trough the **kw dic
         self.ploneid = pid
         self.__dict__.update(kw)

or do I fool the mapper (or anithing else) with noth explicitely 
assining values to all possible fields?

thanks
robert

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to