A tuple element, or the source of decode_to, that may be missing
(Effect's optionalKey).
Attributes#
| Attribute | Type | Description |
|---|---|---|
schema | Codec[A_co, I_co, RD_co, RE_co] |
Functions#
__init__#
__init__(schema) -> None| Parameter | Type | Description |
|---|---|---|
schema | Codec[A_co, I_co, RD_co, RE_co] |
pipe#
pipe[B2](f) -> B2f(self): S.optional_key(s).pipe(S.decode_to(...)).
| Parameter | Type | Description |
|---|---|---|
f | Callable[[OptionalKey[A_co, I_co, RD_co, RE_co]], B2] |
Returns B2
def pipe[B2](self, f: Callable[[OptionalKey[A_co, I_co, RD_co, RE_co]], B2], /) -> B2:
"""``f(self)``: ``S.optional_key(s).pipe(S.decode_to(...))``."""
return f(self)