Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62ee1a4b0a | |||
| d21373873c | |||
| e3716f6206 | |||
| f6917b0761 | |||
| 04764b17eb | |||
| dbe3d759f6 | |||
| f6ff484e66 |
@@ -181,7 +181,7 @@ class AutomationContext:
|
||||
else []
|
||||
)
|
||||
if resource_ids:
|
||||
link_resources.append(*resource_ids)
|
||||
link_resources.extend(resource_ids)
|
||||
if not link_resources:
|
||||
raise Exception(
|
||||
"We do not have enough resource ids to compose a context view"
|
||||
@@ -261,6 +261,7 @@ class AutomationContext:
|
||||
"resultVersionIds": self._automation_result.result_versions,
|
||||
"objectResults": object_results,
|
||||
}
|
||||
print(f"Reporting run status with content: {params}")
|
||||
self.speckle_client.httpclient.execute(query, params)
|
||||
|
||||
def store_file_result(self, file_path: Union[Path, str]) -> None:
|
||||
@@ -405,8 +406,8 @@ class AutomationContext:
|
||||
else:
|
||||
id_list = [object_ids]
|
||||
print(
|
||||
f"Object {', '.join(id_list)} was marked with {level.value.upper()}",
|
||||
f"/{category} cause: {message}",
|
||||
f"Created new {level.value.upper()}"
|
||||
f" category: {category} caused by: {message}"
|
||||
)
|
||||
self._automation_result.object_results.append(
|
||||
ResultCase(
|
||||
|
||||
Reference in New Issue
Block a user