Skip to content

Commit 3129413

Browse files
committed
bugfix for missing status value in Processor DTO
1 parent 031bfc3 commit 3129413

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nipyapi/nifi/models/processor_status_snapshot_dto.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ def run_status(self, run_status):
265265
:param run_status: The run_status of this ProcessorStatusSnapshotDTO.
266266
:type: str
267267
"""
268-
allowed_values = ["Running", "Stopped", "Disabled", "Invalid"]
268+
# allowed_values = ["Running", "Stopped", "Disabled", "Invalid"]
269+
# Overide for missing value
270+
allowed_values = ["Running", "Stopped", "Disabled", "Invalid",
271+
"Validating"]
269272
if run_status not in allowed_values:
270273
raise ValueError(
271274
"Invalid value for `run_status` ({0}), must be one of {1}"

0 commit comments

Comments
 (0)