Skip to content

Commit 710ad6a

Browse files
authored
Use self.__name__ instead of directly using the name
1 parent e44939d commit 710ad6a

File tree

1 file changed

+1
-1
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+1
-1
lines changed

packages/toolbox-core/src/toolbox_core/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787
parameters=inspect_type_params, return_annotation=str
8888
)
8989
self.__annotations__ = {p.name: p.annotation for p in inspect_type_params}
90-
self.__qualname__ = f"{self.__class__.__qualname__}.{name}"
90+
self.__qualname__ = f"{self.__class__.__qualname__}.{self.__name__}"
9191

9292
# map of parameter name to auth service required by it
9393
self.__required_authn_params = required_authn_params

0 commit comments

Comments
 (0)