LocalFileContentContext
#
- class ansys.tools.variableinterop.file_value.LocalFileContentContext#
Bases:
contextlib.AbstractContextManager
,abc.ABC
Represents the context during which a locally available copy of file value content should exist.
This is intended for use with a synchronous 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 LocalFileContentContext
Property detail#
- property LocalFileContentContext.content_path: anyio.Path#
- Abstractmethod:
Get the local path to the content.