Merge "[stable-only] Add writer DB context to "add_provisioning_component"" into stable/train
This commit is contained in:
commit
23df8f3575
@ -41,6 +41,7 @@ def add_model_for_resource(resource, model):
|
||||
|
||||
|
||||
@db_api.retry_if_session_inactive()
|
||||
@db_api.CONTEXT_WRITER
|
||||
def add_provisioning_component(context, object_id, object_type, entity):
|
||||
"""Adds a provisioning block by an entity to a given object.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user