MCPcopy
hub / github.com/python-attrs/attrs / C

Class C

tests/test_converters.py:329–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327
328 @attr.s
329 class C:
330 x = attrib(
331 converter=optional(pipe(str, Converter(to_bool), bool)),
332 default=None,
333 )
334
335 c1 = C()
336

Callers

nothing calls this directly

Calls 4

attribFunction · 0.90
optionalFunction · 0.90
ConverterClass · 0.90
pipeFunction · 0.50

Tested by

no test coverage detected