Skip to content

Commit 7c13d83

Browse files
committed
add timeout to ModelIngestionCreateInput
1 parent ba86aac commit 7c13d83

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/speckleifc/manual_import.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def _manual_import() -> None:
3636
file_name=None,
3737
file_size_bytes=None,
3838
),
39+
max_idle_timeout_seconds=2700, # 45mins
3940
)
4041
)
4142
project = client.project.get(PROJECT_ID)

src/specklepy/core/api/inputs/model_ingestion_inputs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ModelIngestionCreateInput(GraphQLBaseModel):
1414
project_id: str
1515
progress_message: str
1616
source_data: SourceDataInput
17+
max_idle_timeout_seconds: int | None
1718

1819

1920
class ModelIngestionStartProcessingInput(GraphQLBaseModel):

0 commit comments

Comments
 (0)