Space io
space_io
¶
Classes¶
SpaceToolFileIO
¶
Bases: BaseToolFileIO
A base class to handle reading and writing tool results.
Functions¶
read
¶
read(
file_name: str | Path, directory_path: str | Path = ""
) -> SpaceToolResult
Read a space tool result.
Parameters:
-
file_name(str | Path) –The description is missing.
-
directory_path(str | Path, default:'') –The description is missing.
Source code in src/vimseo/io/space_io.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |
read_buffer
¶
read_buffer(buf: BinaryIO | TextIO) -> SpaceToolResult
Read a space tool result.
Source code in src/vimseo/io/space_io.py
65 66 67 68 69 70 71 72 73 74 | |
write
¶
write(
result: SpaceToolResult,
file_base_name: str | Path = "",
directory_path: str | Path = "",
) -> dict
Write a result.
Parameters:
-
result(SpaceToolResult) –The description is missing.
-
file_base_name(str | Path, default:'') –The description is missing.
-
directory_path(str | Path, default:'') –The description is missing.
Source code in src/vimseo/io/space_io.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | |