blazar/climate/utils
Yuriy Taraday ea0c144b13 Refactor context module to make it more flexible
- context data is stored in a dictionary now, so any key is allowed;
- list of allowed key for certain context is stored in special class
  variable;
- methods "current" and "elevated" of ClimateContext class are
  accessible from module level;
- moved to usage of threading.local instead of emulating one in code (as
  long as we use eventlet's monkey-patching, it's specific local() will
  be used).

Change-Id: I3c79c9cd0d16dfb5c61208f2aa71b5c59f3f40f3
2013-11-25 14:10:23 +04:00
..
__init__.py Change api.service to use a class, fix validations in api 2013-10-28 18:23:00 +04:00
service.py Refactor context module to make it more flexible 2013-11-25 14:10:23 +04:00