Custom input specification. Represents an that is generated from custom reference code. If a single input is this type, all inputs should be this type. Requires Definition.custom_inputs_entrypoint to be set.
| 65 | |
| 66 | |
| 67 | class CustomInput(BaseModelWithDocstrings): |
| 68 | """Custom input specification. |
| 69 | |
| 70 | Represents an that is generated from custom reference code. If a single input is this type, all inputs should be this type. Requires Definition.custom_inputs_entrypoint to be set. |
| 71 | """ |
| 72 | |
| 73 | type: Literal["custom"] = "custom" |
| 74 | """The input type identifier for inputs generated by the reference code.""" |
| 75 | |
| 76 | |
| 77 | InputSpec = Union[RandomInput, SafetensorsInput, ScalarInput, CustomInput] |
nothing calls this directly
no outgoing calls
no test coverage detected