Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dothinking/PyAddin
/ get_caller
Function
get_caller
pyaddin/resources/scripts/utils/context.py:38–40 ·
view source on GitHub ↗
get workbook instance calling this script.
()
Source
from the content-addressed store, hash-verified
36
37
38
def
get_caller() ->
'win32com.WorkBook'
:
39
''
'get workbook instance calling this script.'
''
40
return
get(KEY_CALLER)
41
42
43
def
set_logger(working_path:str):
Callers
nothing calls this directly
Calls
1
get
Function · 0.85
Tested by
no test coverage detected