-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Nipyapi version: 0.19.1
NiFi version: 1.16.0
NiFi-Registry version:
Python version: 3.7
Operating System: Windows/Linux
I am attempting to automate the update/modification of several Parameter Context parameters using the supplied NiPyAPI calls.
I setup a list of ParameterEntity (parameter) then do the following:
# interate the list of parameters
for parameter in parameter_list:
# get the object to be updated
parameter_context_object = nipyapi.parameters.get_parameter_context(Name_Of_Parameter_Context, identifier_type='name')
# update the Parameter Context object
nipyapi.parameters.upsert_parameter_to_context(parameter_context_object, parameter)
When I execute the code I get the following exception on the initial call of the loop: Timed Out waiting for _update_complete to complete
It seems to (partially) work as it does update the first parameter. I searched for alternatives and documentation but thus far haven't found anything.
At this point I'm blocked. Any suggestion or alternatives?
Note: I've also looked into using the nipyapi.utils.wait_to_complete
api call but it made no difference.