Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.42 KB

Parameter.md

File metadata and controls

34 lines (28 loc) · 1.42 KB

Parameter

Defines a Worker Parameter

Properties

Name Type Description Notes
type str The type of this Parameter
name str Name
display_name str DisplayName [optional]
description str Description [optional]
required bool Required or not
default_value str DefaultValue [optional]

Example

from lusid_workflow.models.parameter import Parameter
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime

type: StrictStr = "example_type"
name: StrictStr = "example_name"
display_name: Optional[StrictStr] = "example_display_name"
description: Optional[StrictStr] = "example_description"
required: StrictBool = # Replace with your value
required:StrictBool = True
default_value: Optional[StrictStr] = "example_default_value"
parameter_instance = Parameter(type=type, name=name, display_name=display_name, description=description, required=required, default_value=default_value)

Back to Model list • Back to API list • Back to README