Files
tfm_ainventory/graphify-out/cache/8b711ebde5203fb56751d5acba4e241bf83153a79ab30e71b12b48457b522596.json

1 line
36 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "label": "horizontal_shard.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L1"}, {"id": "horizontal_shard_shardchooser", "label": "ShardChooser", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L80"}, {"id": "protocol", "label": "Protocol", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "horizontal_shard_shardchooser_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L81"}, {"id": "horizontal_shard_identitychooser", "label": "IdentityChooser", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L89"}, {"id": "horizontal_shard_identitychooser_call", "label": ".__call__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L90"}, {"id": "horizontal_shard_shardedquery", "label": "ShardedQuery", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L102"}, {"id": "horizontal_shard_shardedquery_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L111"}, {"id": "horizontal_shard_shardedquery_set_shard", "label": ".set_shard()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L119"}, {"id": "horizontal_shard_shardedsession", "label": "ShardedSession", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L134"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "horizontal_shard_shardedsession_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L139"}, {"id": "horizontal_shard_shardedsession_identity_lookup", "label": "._identity_lookup()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L251"}, {"id": "horizontal_shard_shardedsession_choose_shard_and_assign", "label": "._choose_shard_and_assign()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L300"}, {"id": "horizontal_shard_shardedsession_connection_callable", "label": ".connection_callable()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L321"}, {"id": "horizontal_shard_shardedsession_get_bind", "label": ".get_bind()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L351"}, {"id": "horizontal_shard_shardedsession_bind_shard", "label": ".bind_shard()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L367"}, {"id": "horizontal_shard_set_shard_id", "label": "set_shard_id", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L373"}, {"id": "ormoption", "label": "ORMOption", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "horizontal_shard_set_shard_id_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L404"}, {"id": "horizontal_shard_execute_and_instances", "label": "execute_and_instances()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L423"}, {"id": "horizontal_shard_rationale_103", "label": "Query class used with :class:`.ShardedSession`. .. legacy:: The :class:`.Sh", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L103"}, {"id": "horizontal_shard_rationale_120", "label": "Return a new query, limited to a single shard ID. All subsequent operat", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L120"}, {"id": "horizontal_shard_rationale_155", "label": "Construct a ShardedSession. :param shard_chooser: A callable which, pas", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L155"}, {"id": "horizontal_shard_rationale_262", "label": "override the default :meth:`.Session._identity_lookup` method so that we", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L262"}, {"id": "horizontal_shard_rationale_328", "label": "Provide a :class:`_engine.Connection` to use in the unit of work flush p", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L328"}, {"id": "horizontal_shard_rationale_374", "label": "a loader option for statements to apply a specific shard id to the primary q", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L374"}, {"id": "horizontal_shard_rationale_407", "label": "Construct a :class:`_horizontal.set_shard_id` option. :param shard_id:", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L407"}, {"id": "horizontal_shard_rationale_455", "label": "# TODO: if we had an ORMOption that gets applied at ORM statement", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L455"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L28", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L31", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L32", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L33", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L35", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L36", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L39", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L40", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L43", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_interfaces_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L45", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_mapper_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L46", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_query_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L47", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L48", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L49", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L50", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_util_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L51", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_util_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L52", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_engine_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L55", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_engine_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L56", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_engine_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L57", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_engine_result_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L58", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_engine_result_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L59", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L60", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L61", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_bulk_persistence_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L62", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_context_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L63", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L64", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_session_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L66", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_orm_state_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L67", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_sql_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L68", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_sql_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L69", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_sql_elements_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L70", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_shardchooser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L80", "weight": 1.0}, {"source": "horizontal_shard_shardchooser", "target": "protocol", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L80", "weight": 1.0}, {"source": "horizontal_shard_shardchooser", "target": "horizontal_shard_shardchooser_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L81", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_identitychooser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L89", "weight": 1.0}, {"source": "horizontal_shard_identitychooser", "target": "protocol", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L89", "weight": 1.0}, {"source": "horizontal_shard_identitychooser", "target": "horizontal_shard_identitychooser_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L90", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_shardedquery", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L102", "weight": 1.0}, {"source": "horizontal_shard_shardedquery", "target": "horizontal_shard_shardedquery_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L111", "weight": 1.0}, {"source": "horizontal_shard_shardedquery", "target": "horizontal_shard_shardedquery_set_shard", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L119", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_shardedsession", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L134", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "session", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L134", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L139", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_identity_lookup", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L251", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_choose_shard_and_assign", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L300", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_connection_callable", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L321", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_get_bind", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L351", "weight": 1.0}, {"source": "horizontal_shard_shardedsession", "target": "horizontal_shard_shardedsession_bind_shard", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L367", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_set_shard_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L373", "weight": 1.0}, {"source": "horizontal_shard_set_shard_id", "target": "ormoption", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L373", "weight": 1.0}, {"source": "horizontal_shard_set_shard_id", "target": "horizontal_shard_set_shard_id_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L404", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "target": "horizontal_shard_execute_and_instances", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L423", "weight": 1.0}, {"source": "horizontal_shard_shardedquery_init", "target": "horizontal_shard_set_shard_id_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L112", "weight": 1.0}, {"source": "horizontal_shard_shardedsession_init", "target": "horizontal_shard_set_shard_id_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L183", "weight": 1.0}, {"source": "horizontal_shard_shardedsession_init", "target": "horizontal_shard_shardedsession_bind_shard", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L249", "weight": 1.0}, {"source": "horizontal_shard_shardedsession_connection_callable", "target": "horizontal_shard_shardedsession_choose_shard_and_assign", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L334", "weight": 1.0}, {"source": "horizontal_shard_shardedsession_connection_callable", "target": "horizontal_shard_shardedsession_get_bind", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L341", "weight": 1.0}, {"source": "horizontal_shard_shardedsession_get_bind", "target": "horizontal_shard_shardedsession_choose_shard_and_assign", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L361", "weight": 1.0}, {"source": "horizontal_shard_rationale_103", "target": "horizontal_shard_shardedquery", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L103", "weight": 1.0}, {"source": "horizontal_shard_rationale_120", "target": "horizontal_shard_shardedquery_set_shard", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L120", "weight": 1.0}, {"source": "horizontal_shard_rationale_155", "target": "horizontal_shard_shardedsession_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L155", "weight": 1.0}, {"source": "horizontal_shard_rationale_262", "target": "horizontal_shard_shardedsession_identity_lookup", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L262", "weight": 1.0}, {"source": "horizontal_shard_rationale_328", "target": "horizontal_shard_shardedsession_connection_callable", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L328", "weight": 1.0}, {"source": "horizontal_shard_rationale_374", "target": "horizontal_shard_set_shard_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L374", "weight": 1.0}, {"source": "horizontal_shard_rationale_407", "target": "horizontal_shard_set_shard_id_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L407", "weight": 1.0}, {"source": "horizontal_shard_rationale_455", "target": "backend_venv_lib_python3_12_site_packages_sqlalchemy_ext_horizontal_shard_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L455", "weight": 1.0}], "raw_calls": [{"caller_nid": "horizontal_shard_shardedquery_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L112"}, {"caller_nid": "horizontal_shard_shardedquery_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L113"}, {"caller_nid": "horizontal_shard_shardedquery_set_shard", "callee": "execution_options", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L131"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L183"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "listen", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L185"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "warn_deprecated", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L192"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "ArgumentError", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L216"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "warn_deprecated", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L222"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "ArgumentError", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L228"}, {"caller_nid": "horizontal_shard_shardedsession_init", "callee": "ArgumentError", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L242"}, {"caller_nid": "horizontal_shard_shardedsession_identity_lookup", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L272"}, {"caller_nid": "horizontal_shard_shardedsession_identity_lookup", "callee": "identity_chooser", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L281"}, {"caller_nid": "horizontal_shard_shardedsession_identity_lookup", "callee": "dict", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L286"}, {"caller_nid": "horizontal_shard_shardedsession_identity_lookup", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L288"}, {"caller_nid": "horizontal_shard_shardedsession_choose_shard_and_assign", "callee": "inspect", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L307"}, {"caller_nid": "horizontal_shard_shardedsession_choose_shard_and_assign", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L315"}, {"caller_nid": "horizontal_shard_shardedsession_choose_shard_and_assign", "callee": "shard_chooser", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L316"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "in_transaction", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L336"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "get_transaction", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L337"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "connection", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L339"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L345"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "connect", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L346"}, {"caller_nid": "horizontal_shard_shardedsession_connection_callable", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L348"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L443"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L458"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "iter_for_shard", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L472"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "execute_chooser", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L475"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "iter_for_shard", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L476"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L477"}, {"caller_nid": "horizontal_shard_execute_and_instances", "callee": "merge", "source_file": "backend/venv/lib/python3.12/site-packages/sqlalchemy/ext/horizontal_shard.py", "source_location": "L478"}]}