AsyncLocalFileContentContext
#
- class ansys.tools.variableinterop.file_value.AsyncLocalFileContentContext#
Bases:
contextlib.AbstractAsyncContextManager
,abc.ABC
Represents the context during which a locally available copy of file value content should exist.
This is intended for use with an async implementation.
Overview#
Call this method before exiting to prevent deleting the file on exit. |
Get the local path to the content. |
Import detail#
from ansys.tools.variableinterop.file_value import AsyncLocalFileContentContext
Property detail#
- property AsyncLocalFileContentContext.content_path: anyio.Path#
- Abstractmethod:
Get the local path to the content.