cronfield
Returns the provided Cronspec value or a wildcard asterisk if the input is None.
def cronfield(
s: Cronspec | None
) - > Cronspec
Normalizes a cron specification field by providing a default wildcard value when no specific value is provided.
Parameters
| Name | Type | Description |
|---|---|---|
| s | `Cronspec | None` |
Returns
| Type | Description |
|---|---|
Cronspec | The original cron specification string if provided, otherwise a wildcard string representing all possible values. |