add file based loading
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Use the automation_context module to wrap your function in an Autamate context helper
|
||||
"""
|
||||
|
||||
from pydantic import Field
|
||||
from pydantic import Field, SecretStr
|
||||
from speckle_automate import (
|
||||
AutomateBase,
|
||||
AutomationContext,
|
||||
@@ -21,6 +21,8 @@ class FunctionInputs(AutomateBase):
|
||||
https://docs.pydantic.dev/latest/usage/models/
|
||||
"""
|
||||
|
||||
# an example how to use secret values
|
||||
whisper_message: SecretStr = Field(title="This is a secret message")
|
||||
forbidden_speckle_type: str = Field(
|
||||
title="Forbidden speckle type",
|
||||
description=(
|
||||
|
||||
Reference in New Issue
Block a user