binobj.typedefs module¶
Definitions of aliases for common type annotations.
- FieldValidator¶
A function that, given a field, returns True if it’s valid and False otherwise.
- MethodFieldValidator¶
A field validator that’s a method in its containing struct.
alias of
Callable
[[Struct
,Field[Any]
,Any
],Optional
[bool
]]
- MutableStrDict¶
Any mutable mapping using strings for the keys.
alias of
MutableMapping
[str
,Any
]