Commit 4601bcf
docs: add get_operation code snippets (#12)
* Add get_operation code snippets
* update comment
* docs: add sync api samples with json request (#13)
* add code snippets for sync and async api
* remove async test samples
* use f-string
* change project_id to input arg
* add noxfile
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* rename noxfile and add requirements
* rm noxfile
* rm noxfile local
* add root noxfile
* Update noxfile.py
* Update noxfile.py
* Update noxfile.py
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
* Apply suggestions from code review
* Update noxfile.py
* Update noxfile.py
* Update noxfile.py
* Update noxfile.py
* Update noxfile.py
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Add commit to trigger kokoro
* add indentation
* add type annotations
Co-authored-by: Jeffrey Rennie <rennie@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* rebase and add type annotations
* fix operation_id type
* Update samples/snippets/get_operation.py
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
* Update samples/snippets/get_operation_test.py
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
* move TODO outside func, create operation in test
* lint fix
* fix asyncmodelconfig
* change model_config to list
* add blank line
* change request to dict
* change parent to project id
* remove model config
* Update samples/snippets/get_operation.py
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
* add TODO back
Co-authored-by: Jeffrey Rennie <rennie@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>1 parent aa64705 commit 4601bcf
File tree
2 files changed
+71
-0
lines changed- optimization/snippets
2 files changed
+71
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments