facet-python 0.46.0

Generate Python type definitions from facet type metadata
Documentation
1
2
3
4
5
6
7
8
---
source: facet-python/src/lib.rs
expression: py
---
type Priority = Literal["Low"] | Literal["Medium"] | Literal["High"]

class TaskMap(TypedDict, total=False):
    tasks: Required[dict[Priority, str]]