You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78ff458
Browse filesBrowse the repository at this point in the historyBrowse files
feat(gapic-generator): add schema support for resumable uploads (#18480)
Changes
- Add `resumable-upload-prefix` option to `Options` (defaults to
`"resumable/upload"`) and pass it to `wrappers.Method`.
- Add `Method.is_resumable_upload`,
`Service.has_resumable_upload_methods`, and
`API.has_resumable_upload_methods`.
- Omit `# type: ignore` when importing
`google.api_core.resumable_transfer` in `gapic/schema/imp.py`.
note: `Method.is_resumable_upload` temporarily checks rpc names for
`UploadMedia` and `CreateYouTubeVideoUpload` until the resumable upload
proto annotation is published.
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: packages/gapic-generator/tests/integration/goldens/showcase/tests/unit/gapic/showcase_v1beta1/test_echo.py
0 commit comments