crash.software
Projects
Pull Requests
Issues
Builds
GPT_Vuln-analyzer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
GPT_Vuln-analyzer
Files
🤬
Sign In
93a66c74
ROOT
/
vuln_analyzer
/
lib
/
python3.11
/
site-packages
/
attr
/
validators.py
Search
History
715 lines
|
ISO-8859-1
|
20 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
operator
re
contextmanager
get_run_validators
set_run_validators
_AndValidator
and_
attrib
attrs
default_if_none
NotCallableError
Pattern
set_disabled
(disabled)
get_disabled
()
disabled
()
_InstanceOfValidator
type
__call__
(self,inst,attr,value)
__repr__
(self)
instance_of
(type)
_MatchesReValidator
pattern
match_func
__call__
(self,inst,attr,value)
__repr__
(self)
matches_re
(regex,flags=0,func=None)
_ProvidesValidator
interface
__call__
(self,inst,attr,value)
__repr__
(self)
provides
(interface)
_OptionalValidator
validator
__call__
(self,inst,attr,value)
__repr__
(self)
optional
(validator)
_InValidator
options
__call__
(self,inst,attr,value)
__repr__
(self)
in_
(options)
_IsCallableValidator
__call__
(self,inst,attr,value)
__repr__
(self)
is_callable
()
_DeepIterable
member_validator
iterable_validator
__call__
(self,inst,attr,value)
__repr__
(self)
deep_iterable
(member_validator,iterable_validator=None)
_DeepMapping
key_validator
value_validator
mapping_validator
__call__
(self,inst,attr,value)
__repr__
(self)
deep_mapping
(key_validator,value_validator,mapping_validator=None)
_NumberValidator
bound
compare_op
compare_func
__call__
(self,inst,attr,value)
__repr__
(self)
lt
(val)
le
(val)
ge
(val)
gt
(val)
_MaxLengthValidator
max_length
__call__
(self,inst,attr,value)
__repr__
(self)
max_len
(length)
_MinLengthValidator
min_length
__call__
(self,inst,attr,value)
__repr__
(self)
min_len
(length)
_SubclassOfValidator
type
__call__
(self,inst,attr,value)
__repr__
(self)
_subclass_of
(type)
_NotValidator
validator
msg
exc_types
__call__
(self,inst,attr,value)
__repr__
(self)
not_
(validator,*,msg=None,exc_types=(ValueError,TypeError))
All occurrences
Please wait...
Page is in error, reload to recover