MCPcopy Create free account
hub / github.com/django-commons/django-debug-toolbar / verified_data

Method verified_data

debug_toolbar/forms.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 raise ValidationError("Bad signature") from exc
44
45 def verified_data(self):
46 return self.is_valid() and self.cleaned_data["signed"]
47
48 @classmethod
49 def sign(cls, data):

Callers 2

get_signed_dataFunction · 0.95
test_verified_dataMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_verified_dataMethod · 0.76