MakeLiteralForMap
No overview available.
def MakeLiteralForMap(
v: map[string]interface{}
) - > *core.Literal, error
Converts a Go map into a Flyte core.Literal representing a map. This function is used to create literal map values that can be used within Flyte workflows.
Parameters
| Name | Type | Description |
|---|---|---|
| v | map[string]interface{} | The Go map to be converted into a Flyte core.Literal map. The keys are strings and values can be of any type that can be represented as a Flyte literal. |
Returns
| Type | Description |
|---|---|
*core.Literal, error | A pointer to a core.Literal representing the input map, or an error if the conversion fails. |