mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 02:10:38 +02:00
Use lazy logging
This commit is contained in:
parent
119bf445ea
commit
2852f2cb13
1 changed files with 2 additions and 2 deletions
|
|
@ -391,7 +391,7 @@ class AzureProvider(OAuthProxy):
|
|||
Returns:
|
||||
Deduplicated list of scopes formatted for Azure token endpoint
|
||||
"""
|
||||
logger.debug(f"Base scopes from storage: {scopes}")
|
||||
logger.debug("Base scopes from storage: %s", scopes)
|
||||
|
||||
# Filter out any additional_authorize_scopes that may have been stored
|
||||
# (they shouldn't be in storage, but clean them up if they are)
|
||||
|
|
@ -410,5 +410,5 @@ class AzureProvider(OAuthProxy):
|
|||
# Use dict.fromkeys() for O(n) deduplication with order preservation
|
||||
deduplicated_scopes = list(dict.fromkeys(prefixed_scopes))
|
||||
|
||||
logger.debug(f"Scopes for Azure token endpoint: {deduplicated_scopes}")
|
||||
logger.debug("Scopes for Azure token endpoint: %s", deduplicated_scopes)
|
||||
return deduplicated_scopes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue