update to file based function inputs

This commit is contained in:
Gergő Jedlicska
2023-12-13 17:58:44 +01:00
parent 3dd2c0679d
commit c340479002
3 changed files with 23 additions and 6 deletions
+2
View File
@@ -1,6 +1,8 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,pycharm
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,python,pycharm
function_inputs.json
**/.env
**/.envrc
+1 -6
View File
@@ -12,12 +12,7 @@
"console": "integratedTerminal",
"justMyCode": true,
"envFile": "${workspaceFolder}/.env",
"args": [
"run",
"{\"projectId\": \"843d07eb10\", \"modelId\": \"base design\", \"versionId\": \"2a32ccfee1\", \"speckleServerUrl\": \"https://latest.speckle.systems\"}",
// make sure to use camelCase for variable names
"{\"forbiddenSpeckleType\": \"Objects.Geometry.Brep\"}"
]
"args": ["run", "function_inputs.json"]
}
]
}
+20
View File
@@ -0,0 +1,20 @@
{
"speckleToken": "YOUR SPEKCLE TOKEN",
"functionInputs": {
"whisperMessage": "you are doing something weird",
"forbiddenSpeckleType": ""
},
"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
}
}