MCPcopy Create free account
hub / github.com/amyasnikov/validity / encode

Method encode

validity/models/test_result.py:14–15  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

12
13class DeepDiffEncoder(JSONEncoder):
14 def encode(self, o) -> str:
15 return json_dumps(o, default_mapping={type({}.values()): list, type({}.keys()): list, object: str})
16
17
18class ComplianceTestResult(BaseReadOnlyModel):

Callers 10

prism.jsFile · 0.80
DataFileFactoryClass · 0.80
ParamsClass · 0.80
test_partial_syncFunction · 0.80
commitMethod · 0.80
pushMethod · 0.80
EncryptedStringClass · 0.80
from_plain_textMethod · 0.80
get_fernetMethod · 0.80
deserializeMethod · 0.80

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected