This commit is contained in:
Taylor Wilsdon
2026-02-01 10:54:59 -05:00
parent 9e5832053c
commit b2c7cf55f5
2 changed files with 9 additions and 4 deletions

View File

@@ -212,6 +212,11 @@ def get_current_scopes():
Returns scopes for currently enabled tools.
Uses globally set enabled tools or all tools if not set.
.. deprecated::
This function is a thin wrapper around get_scopes_for_tools() and exists
for backwards compatibility. Prefer using get_scopes_for_tools() directly
for new code, which allows explicit control over the tool list parameter.
Returns:
List of unique scopes for the enabled tools plus base scopes.
"""