Mercurial > libervia-web
view src/__init__.py @ 1093:eda7a1c6532a
server: new getAffiliation method:
getAffiliation allows to retrieve affiliation to a pubsub node for logged user. The method handle cache in user's session, avoiding requesting pubsub service when possible.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Jun 2018 13:03:52 +0200 |
parents | 5cefc6ab302f |
children |
line wrap: on
line source
try: from common.constants import Const as C except ImportError: pass # import doesn't work at this stage with pyjamas else: __version__ = C.APP_VERSION