MCPcopy
hub / github.com/Textualize/rich / ExampleDataclass

Class ExampleDataclass

tests/test_pretty.py:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160@dataclass
161class ExampleDataclass:
162 foo: int
163 bar: str
164 ignore: int = field(repr=False)
165 baz: List[str] = field(default_factory=list)
166 last: int = field(default=1, repr=False)
167
168
169@dataclass

Callers 1

test_pretty_dataclassFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_pretty_dataclassFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…