Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ParzivalHack/PySpector
/ _parse_json
Function
_parse_json
tests/unit/ast_cache_test.py:29–30 ·
view source on GitHub ↗
(ast_json: str)
Source
from the content-addressed store, hash-verified
27
28
29
def
_parse_json(ast_json: str) -> dict:
30
return
json.loads(ast_json)
31
32
33
def
_make_cache(tmp: Path, max_l1: int = MAX_L1_ENTRIES) -> IncrementalAstCache:
Callers
14
test_empty_module
Method · 0.85
test_single_function_structure
Method · 0.85
test_json_matches_direct_encoder
Method · 0.85
test_non_empty_body_goes_to_children
Method · 0.85
test_empty_body_goes_to_fields
Method · 0.85
test_non_empty_type_ignores_goes_to_children
Method · 0.85
test_empty_type_ignores_goes_to_fields
Method · 0.85
test_module_metadata
Method · 0.85
test_l2_disk_survives_l1_eviction
Method · 0.85
test_l2_stale_on_content_change
Method · 0.85
test_output_is_valid_json
Method · 0.85
test_output_matches_direct_encode
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected