Skip to content

Commit

Permalink
feat: update to new automate (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjedlicska committed May 17, 2024
1 parent c0fecb1 commit 2eec40a
Show file tree
Hide file tree
Showing 5 changed files with 344 additions and 333 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"configurations": [
{
"name": "Speckle Automate function",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
Expand Down
16 changes: 8 additions & 8 deletions example.function_inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"speckleToken": "YOUR SPEKCLE TOKEN",
"functionInputs": {
"whisperMessage": "you are doing something weird",
"forbiddenSpeckleType": ""
"forbiddenSpeckleType": "wall"
},
"automationRunData": {
"project_id": "project id",
"model_id": "model id",
"branch_name": "branch name",
"version_id": "version id",
"speckle_server_url": "https://latest.speckle.systems",
"automation_id": "automation id",
"automation_revision_id": "automation revision id",
"automation_run_id": "automation run id",
"function_id": "function id",
"function_name": "function name",
"function_logo": null
"function_run_id": "function run id",
"triggers": [
{
"payload": { "modelId": "model id", "versionId": "version id" },
"triggerType": "versionCreation"
}
]
}
}
Loading

0 comments on commit 2eec40a

Please sign in to comment.