(self)
| 1100 | return CompletionsRequestRequest(offset, text) |
| 1101 | |
| 1102 | def to_dict(self) -> dict: |
| 1103 | result: dict = {} |
| 1104 | result["offset"] = from_int(self.offset) |
| 1105 | result["text"] = from_str(self.text) |
| 1106 | return result |
| 1107 | |
| 1108 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 1109 | @dataclass |