1 line
37 KiB
JSON
1 line
37 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "label": "strategies.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L1"}, {"id": "strategies_ratelimiter", "label": "RateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L21"}, {"id": "abc", "label": "ABC", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "strategies_ratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L22"}, {"id": "strategies_hit", "label": "hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L27"}, {"id": "strategies_test", "label": "test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L41"}, {"id": "strategies_get_window_stats", "label": "get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L55"}, {"id": "strategies_ratelimiter_clear", "label": ".clear()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L68"}, {"id": "strategies_movingwindowratelimiter", "label": "MovingWindowRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L72"}, {"id": "strategies_movingwindowratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L77"}, {"id": "strategies_movingwindowratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L87"}, {"id": "strategies_movingwindowratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L103"}, {"id": "strategies_movingwindowratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L123"}, {"id": "strategies_fixedwindowratelimiter", "label": "FixedWindowRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L142"}, {"id": "strategies_fixedwindowratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L147"}, {"id": "strategies_fixedwindowratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L168"}, {"id": "strategies_fixedwindowratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L184"}, {"id": "strategies_slidingwindowcounterratelimiter", "label": "SlidingWindowCounterRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L205"}, {"id": "strategies_slidingwindowcounterratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L210"}, {"id": "strategies_slidingwindowcounterratelimiter_weighted_count", "label": "._weighted_count()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L220"}, {"id": "strategies_slidingwindowcounterratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L232"}, {"id": "strategies_slidingwindowcounterratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L252"}, {"id": "strategies_slidingwindowcounterratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L275"}, {"id": "strategies_slidingwindowcounterratelimiter_clear", "label": ".clear()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L321"}, {"id": "strategies_rationale_1", "label": "Asynchronous rate limiting strategies", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L1"}, {"id": "strategies_rationale_28", "label": "Consume the rate limit :param item: the rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L28"}, {"id": "strategies_rationale_42", "label": "Check if the rate limit can be consumed :param item: the rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L42"}, {"id": "strategies_rationale_58", "label": "Query the reset time and remaining amount for the limit :param item: th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L58"}, {"id": "strategies_rationale_73", "label": "Reference: :ref:`strategies:moving window`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L73"}, {"id": "strategies_rationale_88", "label": "Consume the rate limit :param item: the rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L88"}, {"id": "strategies_rationale_104", "label": "Check if the rate limit can be consumed :param item: the rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L104"}, {"id": "strategies_rationale_126", "label": "returns the number of requests remaining within this limit. :param item", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L126"}, {"id": "strategies_rationale_143", "label": "Reference: :ref:`strategies:fixed window`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L143"}, {"id": "strategies_rationale_148", "label": "Consume the rate limit :param item: the rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L148"}, {"id": "strategies_rationale_169", "label": "Check if the rate limit can be consumed :param item: the rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L169"}, {"id": "strategies_rationale_187", "label": "Query the reset time and remaining amount for the limit :param item: th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L187"}, {"id": "strategies_rationale_206", "label": "Reference: :ref:`strategies:sliding window counter`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L206"}, {"id": "strategies_rationale_227", "label": "Return the approximated by weighting the previous window count and adding the cu", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L227"}, {"id": "strategies_rationale_233", "label": "Consume the rate limit :param item: The rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L233"}, {"id": "strategies_rationale_253", "label": "Check if the rate limit can be consumed :param item: The rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L253"}, {"id": "strategies_rationale_278", "label": "Query the reset time and remaining amount for the limit. :param item: T", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L278"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "math", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "deprecated_sphinx", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_limits_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_storage_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_util_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_aio_storage_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_aio_storage_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_ratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L21", "weight": 1.0}, {"source": "strategies_ratelimiter", "target": "abc", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L21", "weight": 1.0}, {"source": "strategies_ratelimiter", "target": "strategies_ratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_hit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_test", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_get_window_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L55", "weight": 1.0}, {"source": "strategies_ratelimiter", "target": "strategies_ratelimiter_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L68", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_movingwindowratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L72", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L72", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L77", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L87", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L103", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L123", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_fixedwindowratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L142", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L142", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L147", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L168", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L184", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "target": "strategies_slidingwindowcounterratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L205", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L205", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L210", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L220", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L232", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L252", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L275", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L321", "weight": 1.0}, {"source": "strategies_ratelimiter_clear", "target": "strategies_slidingwindowcounterratelimiter_clear", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L69", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter_init", "target": "strategies_slidingwindowcounterratelimiter_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L85", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter_test", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L269", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter_get_window_stats", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L300", "weight": 1.0}, {"source": "strategies_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_limits_aio_strategies_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L1", "weight": 1.0}, {"source": "strategies_rationale_28", "target": "strategies_ratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L28", "weight": 1.0}, {"source": "strategies_rationale_42", "target": "strategies_ratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L42", "weight": 1.0}, {"source": "strategies_rationale_58", "target": "strategies_ratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L58", "weight": 1.0}, {"source": "strategies_rationale_73", "target": "strategies_movingwindowratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L73", "weight": 1.0}, {"source": "strategies_rationale_88", "target": "strategies_movingwindowratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L88", "weight": 1.0}, {"source": "strategies_rationale_104", "target": "strategies_movingwindowratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L104", "weight": 1.0}, {"source": "strategies_rationale_126", "target": "strategies_movingwindowratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L126", "weight": 1.0}, {"source": "strategies_rationale_143", "target": "strategies_fixedwindowratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L143", "weight": 1.0}, {"source": "strategies_rationale_148", "target": "strategies_fixedwindowratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L148", "weight": 1.0}, {"source": "strategies_rationale_169", "target": "strategies_fixedwindowratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L169", "weight": 1.0}, {"source": "strategies_rationale_187", "target": "strategies_fixedwindowratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L187", "weight": 1.0}, {"source": "strategies_rationale_206", "target": "strategies_slidingwindowcounterratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L206", "weight": 1.0}, {"source": "strategies_rationale_227", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L227", "weight": 1.0}, {"source": "strategies_rationale_233", "target": "strategies_slidingwindowcounterratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L233", "weight": 1.0}, {"source": "strategies_rationale_253", "target": "strategies_slidingwindowcounterratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L253", "weight": 1.0}, {"source": "strategies_rationale_278", "target": "strategies_slidingwindowcounterratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L278", "weight": 1.0}], "raw_calls": [{"caller_nid": "strategies_ratelimiter_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L23"}, {"caller_nid": "strategies_ratelimiter_clear", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L69"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L79"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L79"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L81"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L85"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "acquire_entry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L99"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L99"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L100"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L100"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "get_moving_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L114"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L114"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L115"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L117"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_moving_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L134"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L134"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L136"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L136"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L137"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L139"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "incr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L160"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L161"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L162"}, {"caller_nid": "strategies_fixedwindowratelimiter_test", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L181"}, {"caller_nid": "strategies_fixedwindowratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L181"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L195"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L197"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L197"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L199"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L199"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L201"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L211"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L211"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L214"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L218"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_weighted_count", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L230"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "acquire_sliding_window_entry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L243"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L243"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L246"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L248"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "get_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L264"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L264"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L266"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L266"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L292"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L292"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L293"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L293"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L296"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "floor", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L299"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "time", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L306"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L309"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L311"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L319"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "min", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L319"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "clear_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L322"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L322"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L324"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/aio/strategies.py", "source_location": "L324"}]} |