File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ def update_wrapper_globals(
138138 If ``wrapper`` and ``wrapped`` share a global name that's also used in ``wrapped``\'s typehints,
139139 and is not in ``ignored_conflict_names``.
140140 """
141- wrapped = typing .cast (types .FunctionType , wrapped )
142- wrapper = typing .cast (types .FunctionType , wrapper )
141+ wrapped = typing .cast (" types.FunctionType" , wrapped )
142+ wrapper = typing .cast (" types.FunctionType" , wrapper )
143143
144144 annotation_global_names = (
145145 ann .split ("." , maxsplit = 1 )[0 ] for ann in wrapped .__annotations__ .values () if isinstance (ann , str )
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def get_logger(name: str | None = None) -> CustomLogger:
4848 Returns:
4949 An instance of the :obj:`CustomLogger` class.
5050 """
51- return typing .cast (CustomLogger , logging .getLogger (name ))
51+ return typing .cast (" CustomLogger" , logging .getLogger (name ))
5252
5353
5454# Setup trace level logging so that we can use it within pydis_core.
You can’t perform that action at this time.
0 commit comments