I write some logic functions (includes DBSession operations) in one module
will be invoked by many controllers.
Is it threads safe?
------------------------------
api.py
def upload_avatar(...)
...
...
account.py
class AccountController(Controller):
def upload_avatar(self, **kw):
....
api.upload_avatar(...)
...
---------------------------------
thanks
Yours
Faithfully
Jeffrey Hsu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---