{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "label": "history_repository.py", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "label": "_to_entity()", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L13", "_callable": true}, {"id": "playhistorymodel", "label": "PlayHistoryModel", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/db/repositories/history_repository.py"}, {"id": "playhistoryentry", "label": "PlayHistoryEntry", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/db/repositories/history_repository.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "label": "SqlAlchemyHistoryRepository", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L24", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_init", "label": ".__init__()", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L25", "_callable": true}, {"id": "asyncsession", "label": "AsyncSession", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/db/repositories/history_repository.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "label": ".add()", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "_callable": true}, {"id": "uuid", "label": "UUID", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/db/repositories/history_repository.py"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/db/repositories/history_repository.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "label": ".list()", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L49", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "label": ".count()", "file_type": "code", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L65", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_rationale_1", "label": "Play history repository \u2014 adapter over ``AsyncSession``.", "file_type": "rationale", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "datetime", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L3", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "uuid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L4", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L6", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "sqlalchemy_ext_asyncio", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "app_domain_entities_history", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "app_infrastructure_db_models_play_history", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "target": "playhistorymodel", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "target": "playhistoryentry", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L24", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L25", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_init", "target": "asyncsession", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L25", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "datetime", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "playhistoryentry", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "target": "playhistoryentry", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L65", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "target": "uuid", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L65", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "target": "playhistoryentry", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L14", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "playhistorymodel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L37", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L47", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_to_entity", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L63", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "callee": "flush", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L45", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_add", "callee": "refresh", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L46", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "scalars", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L51", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "execute", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L52", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "offset", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "limit", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "order_by", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "where", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "select", "is_member_call": false, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "PlayHistoryModel", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L53"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_list", "callee": "desc", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L55", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "scalar_one", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L66", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "execute", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L67", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "where", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L68", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "select_from", "is_member_call": true, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L68", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "PlayHistoryModel", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L69"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_db_repositories_history_repository_sqlalchemyhistoryrepository_count", "callee": "select", "is_member_call": false, "source_file": "app/infrastructure/db/repositories/history_repository.py", "source_location": "L68", "receiver": null}]}