This is so simple, yet quite amazing: ```from typi...
# show-and-tell
s
This is so simple, yet quite amazing:
Copy code
from typing import Literal
from prefect import flow

AllowedStrings = Literal["A", "B"]

@flow
def example(str_input: AllowedStrings):
    print(str_input)

example("C")
--->
Copy code
11:15:58.598 | INFO    | prefect.engine - Created flow run 'blond-auk' for flow 'example'
11:15:58.598 | ERROR   | Flow run 'blond-auk' - Validation of flow parameters failed with error: ParameterTypeError: Flow run received invalid parameters:
 - str_input: unexpected value; permitted: 'A', 'B'
🙏 5
its beautiful 1
🙌 2
gratitude thank you 2
👍 8