MCPcopy
hub / github.com/pydantic/pydantic / is_true

Method is_true

pydantic/v1/utils.py:622–623  ·  view source on GitHub ↗
(v: Any)

Source from the content-addressed store, hash-verified

620
621 @staticmethod
622 def is_true(v: Any) -> bool:
623 return v is True or v is ...
624
625 def __repr_args__(self) -> 'ReprArgs':
626 return [(None, self._items)]

Callers 7

is_excludedMethod · 0.95
for_elementMethod · 0.95
_normalize_indexesMethod · 0.95
mergeMethod · 0.45
_coerce_valueMethod · 0.45
_calculate_keysMethod · 0.45
_calculate_keysFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected