Files
SuperCharged-Claude-Code-Up…/.venv/lib/python3.11/site-packages/rapidfuzz/__init__.py
uroma 55aafbae9a Fix project isolation: Make loadChatHistory respect active project sessions
- Modified loadChatHistory() to check for active project before fetching all sessions
- When active project exists, use project.sessions instead of fetching from API
- Added detailed console logging to debug session filtering
- This prevents ALL sessions from appearing in every project's sidebar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 14:43:05 +00:00

34 lines
836 B
Python

"""
rapid string matching library
"""
from __future__ import annotations
__author__: str = "Max Bachmann"
__license__: str = "MIT"
__version__: str = "3.14.3"
from rapidfuzz import distance, fuzz, process, utils
__all__ = ["distance", "fuzz", "get_include", "process", "utils"]
def get_include():
"""
Return the directory that contains the RapidFuzz \\*.h header files.
Extension modules that need to compile against RapidFuzz should use this
function to locate the appropriate include directory.
Notes
-----
When using ``distutils``, for example in ``setup.py``.
::
import rapidfuzz_capi
...
Extension('extension_name', ...
include_dirs=[rapidfuzz_capi.get_include()])
...
"""
from pathlib import Path
return str(Path(__file__).parent)