(self)
| 10098 | return CompletionsRequestResult(items) |
| 10099 | |
| 10100 | def to_dict(self) -> dict: |
| 10101 | result: dict = {} |
| 10102 | result["items"] = from_list(lambda x: to_class(SessionCompletionItem, x), self.items) |
| 10103 | return result |
| 10104 | |
| 10105 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 10106 | @dataclass |