MCPcopy Index your code
hub / github.com/fastapi/fastapi / close

Method close

fastapi/datastructures.py:124–130  ·  view source on GitHub ↗

Close the file. To be awaitable, compatible with async, this is run in threadpool.

(self)

Source from the content-addressed store, hash-verified

122 return await super().seek(offset)
123
124 async def close(self) -> None:
125 """
126 Close the file.
127
128 To be awaitable, compatible with async, this is run in threadpool.
129 """
130 return await super().close()
131
132 @classmethod
133 def _validate(cls, __input_value: Any, _: Any) -> "UploadFile":

Callers 15

test_upload_fileFunction · 0.95
websocketFunction · 0.45
dependency_aFunction · 0.45
dependency_bFunction · 0.45
dependency_cFunction · 0.45
dependency_aFunction · 0.45
dependency_bFunction · 0.45
dependency_cFunction · 0.45
get_dbFunction · 0.45
__exit__Method · 0.45
get_userFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_upload_fileFunction · 0.76