cf6ffb78f6
Maintaining the context is important for keeping the request ID and subsequently operator/developer sanity while debugging. The resource_type is also helpful to have since a function could be subscribed for multiple resources. This maintains and deprecates the existing 'subscribe' method for backwards compatibility with callbacks that don't support receiving the context and resource type. A new 'register' method is added for callbacks to use that are compatible with receiving the context. Change-Id: I06c8302951c99039b532acd9f2a68d5b989fdab5 |
||
---|---|---|
.. | ||
rpc | ||
v2 | ||
views | ||
__init__.py | ||
api_common.py | ||
extensions.py | ||
versions.py |