{"nodes": [{"id": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "label": "FileRouter.py", "file_type": "code", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L1"}, {"id": "post", "label": "post", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "label": "upload_file()", "file_type": "code", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L24", "_callable": true}, {"id": "uploadfile", "label": "UploadFile", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "get", "label": "get", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "label": "get_files_by_entity()", "file_type": "code", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L72", "_callable": true}, {"id": "delete", "label": "delete", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/api/v1/routers/FileRouter.py"}, {"id": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "label": "delete_file()", "file_type": "code", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L81", "_callable": true}], "edges": [{"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "ulid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_core_database_db_session", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_repositories_file_repository", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_models_fileuploadmodel", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_schemas_file", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_storage_local_provider", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_models_usermodel", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "app_core_permissions_rolechecker", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "target": "post", "relation": "references", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L23", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "target": "uploadfile", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "target": "get", "relation": "references", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L71", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "target": "delete", "relation": "references", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L80", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_py", "target": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L81", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L81", "weight": 1.0}, {"source": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "target": "user", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L81", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "splitext", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L32", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "lower", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L33", "receiver": "ext"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L35", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "read", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L38", "receiver": "file"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L40", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "ULID", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L43", "receiver": "ulid"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "save_file", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L49", "receiver": "storage_driver"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L51"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "FileUpload", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "replace", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L59", "receiver": "ext"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_upload_file", "callee": "create", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L68", "receiver": "file_repository"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_get_files_by_entity", "callee": "get_by_entity", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L78", "receiver": "file_repository"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "callee": "get_active_file", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L86", "receiver": "file_repository"}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "callee": "HTTPException", "is_member_call": false, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_api_v1_routers_filerouter_delete_file", "callee": "mark_deleted", "is_member_call": true, "source_file": "Backend/app/api/v1/routers/FileRouter.py", "source_location": "L94", "receiver": "file_repository"}]}