Returns a list of files and directories at the given path. Parameters ---------- path: Location of the directory to look at (e.g., "/src"). Returns ------- list[str] The `String` scalar type represents textual data, represente
(self, *, path: str | None = None)
| 4500 | return Container(_ctx) |
| 4501 | |
| 4502 | async def entries(self, *, path: str | None = None) -> list[str]: |
| 4503 | """Returns a list of files and directories at the given path. |
| 4504 | |
| 4505 | Parameters |
| 4506 | ---------- |
| 4507 | path: |
| 4508 | Location of the directory to look at (e.g., "/src"). |
| 4509 | |
| 4510 | Returns |
| 4511 | ------- |
| 4512 | list[str] |
| 4513 | The `String` scalar type represents textual data, represented as |
| 4514 | UTF-8 character sequences. The String type is most often used by |
| 4515 | GraphQL to represent free-form human-readable text. |
| 4516 | |
| 4517 | Raises |
| 4518 | ------ |
| 4519 | ExecuteTimeoutError |
| 4520 | If the time to execute the query exceeds the configured timeout. |
| 4521 | QueryError |
| 4522 | If the API returns an error. |
| 4523 | """ |
| 4524 | _args = [ |
| 4525 | Arg("path", path, None), |
| 4526 | ] |
| 4527 | _ctx = self._select("entries", _args) |
| 4528 | return await _ctx.execute(list[str]) |
| 4529 | |
| 4530 | async def exists( |
| 4531 | self, |