Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ ScoreDecimal
Class
ScoreDecimal
tests/serializers/test_jsonl.py:67–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
@isolate_apps(
"serializers"
)
66
def
test_custom_encoder(self):
67
class
ScoreDecimal(models.Model):
68
score = models.DecimalField()
69
70
class
CustomJSONEncoder(json.JSONEncoder):
71
def
default(self, o):
Callers
1
test_custom_encoder
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_custom_encoder
Method · 0.56