EmptyFileValue#
- class EmptyFileValue#
Bases: LocalFileValue
Represents an empty file value.
Overview#
Write the fileβs contents to a new file. |
|
Read the contents of the file as a string. |
Get the path to the file that this |
Import detail#
from ansys.tools.variableinterop.file_value import EmptyFileValue
Property detail#
- property EmptyFileValue.actual_content_file_name: os.PathLike | None#
Get the path to the file that this
FileValue
instance wraps.- Returns:
Optional
[PathLike
]PathLike to the file.
Method detail#
- abstract async EmptyFileValue.write_file(file_name: os.PathLike) None #
Write the fileβs contents to a new file.
- Parameters:
- file_name
PathLike
Path to the file to create.
- file_name
- Returns: