yera.runtime.blocks.date_picker

Date picker block implementation.

Symbols

def request_input_date_picker — Request a calendar date.

request_input_date_picker

request_input_date_picker(
    label: str,
    default_date: date | str | None = None,
) → str

Request a calendar date.

Parameters

label
type: str

Prompt shown alongside the picker.

default_date
type: date | str | None = None

Optional initial date.

Returns

type: str

Block ID identifying the input request.