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

Class Tester

tests/test_validators.py:1046–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1044
1045 @attr.s
1046 class Tester:
1047 value = attr.ib(validator=min_len(self.MIN_LENGTH))
1048
1049 assert fields(Tester).value.validator.min_length == self.MIN_LENGTH
1050

Callers

nothing calls this directly

Calls 1

min_lenFunction · 0.90

Tested by

no test coverage detected