MCPcopy 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
644def whoami() -> str:
645 return boto3.client("sts").get_caller_identity()["UserId"].split(":")[1]
646
647
648def get_instance(name: str) -> Instance:

Callers 5

runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
get_instanceFunction · 0.85
list_instancesFunction · 0.85

Calls 2

splitMethod · 0.45
clientMethod · 0.45

Tested by

no test coverage detected