Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaterializeInc/materialize
/ whoami
Function
whoami
misc/python/materialize/scratch.py:644–645 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
642
643
644
def
whoami() -> str:
645
return
boto3.client(
"sts"
).get_caller_identity()[
"UserId"
].split(
":"
)[1]
646
647
648
def
get_instance(name: str) -> Instance:
Callers
5
run
Function · 0.90
run
Function · 0.90
run
Function · 0.90
get_instance
Function · 0.85
list_instances
Function · 0.85
Calls
2
split
Method · 0.45
client
Method · 0.45
Tested by
no test coverage detected