{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "label": "search.py", "file_type": "code", "source_file": "app/api/v1/search.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "label": "search()", "file_type": "code", "source_file": "app/api/v1/search.py", "source_location": "L18", "_callable": true}, {"id": "currentuser", "label": "CurrentUser", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "sourceregistrydep", "label": "SourceRegistryDep", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "trackrepodep", "label": "TrackRepoDep", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "externalsearchresponse", "label": "ExternalSearchResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "label": "search_library()", "file_type": "code", "source_file": "app/api/v1/search.py", "source_location": "L46", "_callable": true}, {"id": "artistrepodep", "label": "ArtistRepoDep", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "albumrepodep", "label": "AlbumRepoDep", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "librarysearchresponse", "label": "LibrarySearchResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/v1/search.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_rationale_1", "label": "Search endpoints: global and library-scoped.", "file_type": "rationale", "source_file": "app/api/v1/search.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_rationale_25", "label": "Search every available fetch source and merge the hits (\u00a7A4 discover). A so", "file_type": "rationale", "source_file": "app/api/v1/search.py", "source_location": "L25"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L3", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_deps", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L5", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_schemas_album", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L6", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_schemas_artist", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_schemas_external_search", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_schemas_search", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_schemas_track", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_v1_albums", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L11", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "app_api_v1_tracks", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L12", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "target": "sourceregistrydep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "target": "trackrepodep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "target": "externalsearchresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "trackrepodep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "artistrepodep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "albumrepodep", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "currentuser", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "librarysearchresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "target": "externalsearchresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L42", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "target": "librarysearchresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L101", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L1", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_rationale_25", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/v1/search.py", "source_location": "L25", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "searchables", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L34", "receiver": "registry"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "is_available", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L35", "receiver": "backend"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "append", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L37", "receiver": "searched"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "get_by_source", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L40", "receiver": "track_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "append", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L41", "receiver": "results"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search", "callee": "from_entity", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L41", "receiver": "ExternalSearchResultOut"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "strip", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L55", "receiver": "t"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "split", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L55", "receiver": "types"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "get_many", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L74", "receiver": "artist_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "get_many", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L75", "receiver": "album_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "_build_track_out", "is_member_call": false, "source_file": "app/api/v1/search.py", "source_location": "L76", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "get_many", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L82", "receiver": "artist_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "track_count_many", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L83", "receiver": "album_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "_build_album_out", "is_member_call": false, "source_file": "app/api/v1/search.py", "source_location": "L84", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "album_count", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L89", "receiver": "artist_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "track_count", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L90", "receiver": "artist_repo"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "append", "is_member_call": true, "source_file": "app/api/v1/search.py", "source_location": "L91", "receiver": "artists_out"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_v1_search_search_library", "callee": "ArtistOut", "is_member_call": false, "source_file": "app/api/v1/search.py", "source_location": "L92", "receiver": null}]}