MCPcopy Create free account
hub / github.com/Nativu5/Gemini-FastAPI / get_temp_dir

Function get_temp_dir

app/server/middleware.py:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83
84def get_temp_dir():
85 temp_dir = tempfile.TemporaryDirectory()
86 try:
87 yield Path(temp_dir.name)
88 finally:
89 temp_dir.cleanup()
90
91
92def verify_api_key(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected