Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ X
Class
X
tests/test_json.py:224–226 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
222
223
def
test_json_customization(app, client):
224
class
X:
# noqa: B903, for Python2 compatibility
225
def
__init__(self, val):
226
self.val = val
227
228
def
default(o):
229
if
isinstance(o, X):
Callers
1
object_hook
Method · 0.85
Calls
no outgoing calls
Tested by
1
object_hook
Method · 0.68