LabModelParam
Lab model param spec. When used, the end user will be able to select a lab from the list of labs available in the system. The config stores only the lab model id.
The accessible value in task is a LabDTOWithCredentials containing the lab info and its resolved credentials data.
PRIVATE_VISIBILITY: LiteralPROTECTED_VISIBILITY: LiteralPUBLIC_VISIBILITY: Literaladditional_info: dict | Noneai_catalog_member: booldefault_value: Optionalhuman_name: str | Noneinvalid_reason: str | Noneis_valid: booloptional: boolshort_description: str | Nonevisibility: Literalbool - FalseLiteral - publicstr | Nonestr | NoneRetrieve the LabModel by id and return its DTO with credentials.
Anygws_core.lab.lab_model.lab_dto.LabDTOWithCredentials | NoneAnyParamSpecDTOParamSpecSimpleDTOExtract the id from LabModel, dict, or string.
Anystr | NoneMaps this type's AI-relevant additional_info constraint keys to a
human explanation. Default: none. Override on types that expose
constraints (min/max, lengths, multiple, ...).
dictA representative, valid instance of this type used as the example in
:meth:describe_for_ai. Override to show meaningful constraints
(e.g. min/max). The default is a bare instance with a human_name.
ParamSpecOne-line description of what this field type is for. Override per type.
strSelf-describe this param type for an AI form-builder.
Returns the type tag, a one-line summary, the meaning of each
AI-relevant additional_info key, and a real example spec serialized
exactly as ConfigSpecs.from_json expects. Built from
:meth:ai_example_spec / :meth:ai_summary / :meth:ai_additional_info_doc
so a type only overrides the small pieces it cares about. Keeping this on
the type (not in the AI service) means a new param type ships its own
catalog entry.
str - example_fieldParamSpecAiDescriptionDTOSelfThe :class:ParamSpecCategory this type was registered with by the
@param_spec_decorator. None if the class was never decorated.
gws_core.config.param.param_spec_decorator.ParamSpecCategory | NoneParamSpecTypeParamSpecDTObool - FalseSelf