1.16.10
flytekit.interaction.parse_stdin
Directory
Methods
| Method | Description |
|---|---|
parse_stdin_to_literal() |
Parses the user input from stdin and converts it to a literal of the given type. |
Methods
parse_stdin_to_literal()
def parse_stdin_to_literal(
ctx: FlyteContext,
t: typing.Type,
message: typing.Optional[str],
lt: typing.Optional[LiteralType],
) -> LiteralParses the user input from stdin and converts it to a literal of the given type.
| Parameter | Type | Description |
|---|---|---|
ctx |
FlyteContext |
|
t |
typing.Type |
|
message |
typing.Optional[str] |
|
lt |
typing.Optional[LiteralType] |