Applies the diff represented by this changeset to a path on the host. Parameters ---------- path: Location of the copied directory (e.g., "logs/"). Returns ------- str The `String` scalar type represents textual data, represen
(self, path: str)
| 1282 | return await _ctx.execute_object_list(DiffStat) |
| 1283 | |
| 1284 | async def export(self, path: str) -> str: |
| 1285 | """Applies the diff represented by this changeset to a path on the host. |
| 1286 | |
| 1287 | Parameters |
| 1288 | ---------- |
| 1289 | path: |
| 1290 | Location of the copied directory (e.g., "logs/"). |
| 1291 | |
| 1292 | Returns |
| 1293 | ------- |
| 1294 | str |
| 1295 | The `String` scalar type represents textual data, represented as |
| 1296 | UTF-8 character sequences. The String type is most often used by |
| 1297 | GraphQL to represent free-form human-readable text. |
| 1298 | |
| 1299 | Raises |
| 1300 | ------ |
| 1301 | ExecuteTimeoutError |
| 1302 | If the time to execute the query exceeds the configured timeout. |
| 1303 | QueryError |
| 1304 | If the API returns an error. |
| 1305 | """ |
| 1306 | _args = [ |
| 1307 | Arg("path", path), |
| 1308 | ] |
| 1309 | _ctx = self._select("export", _args) |
| 1310 | return await _ctx.execute(str) |
| 1311 | |
| 1312 | async def id(self) -> str: |
| 1313 | """A unique identifier for this Changeset. |