SIENTIAPDE-1478
Refactor Activities and API Integration for PI Web API - Reintroduced the API import in the Activities class for proper integration. - Cleaned up whitespace and formatting in the API class and related tests for improved readability. - Updated test cases to ensure consistent formatting in error messages and configuration structures for PI Web API. - Enhanced connectors_config.py with additional whitespace for better organization.
This commit is contained in:
@@ -154,7 +154,7 @@ class FormatAndExportPrediction:
|
||||
)
|
||||
|
||||
write_transformed_handler = None
|
||||
|
||||
|
||||
opc_metrics = {}
|
||||
|
||||
# write to pi web api
|
||||
@@ -197,7 +197,6 @@ class FormatAndExportPrediction:
|
||||
start_to_close_timeout=timedelta(seconds=180),
|
||||
)
|
||||
|
||||
|
||||
if write_transformed_handler is not None:
|
||||
await write_transformed_handler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user