![]() 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 |
||
---|---|---|
.. | ||
drivers | ||
rpc | ||
seg_types | ||
__init__.py | ||
fakes.py | ||
test_plugin.py | ||
test_rules.py | ||
test_utils.py |