Hello Guys,

 

I'm looking to send an object from SQLAlchemy across a ZSI web service as a
complex type. To do this ZSI requires that datetime's in the objects be in
Python Time Tuples as documented in the 'time' module.

 

It looks as if by default SQLAlchemy uses datetime.datetime objects for
columns defined like: 

 

created = Column(DateTime, default=func.now())

 

Is there any way in which I can configure SQLAlchemy to return me time
tuples instead? Or perhaps a cheeky way I can convert from datetime.datetime
to time.time?

 

Cheers all,

 

Heston


--~--~---------~--~----~------------~-------~--~----~
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