Add vertices_to_run field to VerticesOrderResponse
This commit is contained in:
parent
c2ce214c8a
commit
297f9df89f
6 changed files with 30 additions and 33 deletions
|
|
@ -93,7 +93,7 @@ async def get_vertices(
|
|||
# and return the same structure but only with the ids
|
||||
run_id = uuid.uuid4()
|
||||
graph.set_run_id(run_id)
|
||||
return VerticesOrderResponse(ids=first_layer, run_id=run_id)
|
||||
return VerticesOrderResponse(ids=first_layer, run_id=run_id, vertices_to_run=list(graph.vertices_to_run))
|
||||
|
||||
except Exception as exc:
|
||||
logger.error(f"Error checking build status: {exc}")
|
||||
|
|
|
|||
|
|
@ -228,6 +228,7 @@ class ApiKeyCreateRequest(BaseModel):
|
|||
class VerticesOrderResponse(BaseModel):
|
||||
ids: List[str]
|
||||
run_id: UUID
|
||||
vertices_to_run: List[str]
|
||||
|
||||
|
||||
class ResultDataResponse(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue