()
| 12 | |
| 13 | |
| 14 | def from_disk() -> None: |
| 15 | print("uploading file from disk") |
| 16 | |
| 17 | upload = client.uploads.upload_file_chunked( |
| 18 | file=file, |
| 19 | mime_type="txt", |
| 20 | purpose="batch", |
| 21 | ) |
| 22 | rich.print(upload) |
| 23 | |
| 24 | |
| 25 | def from_in_memory() -> None: |
no test coverage detected