Lookup the field at the given path, and return its value. Parameters ---------- path: Path of the field to lookup, encoded as an array of field names
(self, path: list[str])
| 10495 | return await _ctx.execute(JSON) |
| 10496 | |
| 10497 | def field(self, path: list[str]) -> Self: |
| 10498 | """Lookup the field at the given path, and return its value. |
| 10499 | |
| 10500 | Parameters |
| 10501 | ---------- |
| 10502 | path: |
| 10503 | Path of the field to lookup, encoded as an array of field names |
| 10504 | """ |
| 10505 | _args = [ |
| 10506 | Arg("path", path), |
| 10507 | ] |
| 10508 | _ctx = self._select("field", _args) |
| 10509 | return JSONValue(_ctx) |
| 10510 | |
| 10511 | async def fields(self) -> list[str]: |
| 10512 | """List fields of the encoded object |