GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: add samples from python-docs-samples/tasks by arithmetic1728 · Pull Request #36 · googleapis/python-tasks

This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Conversation

@arithmetic1728

@arithmetic1728 arithmetic1728 commented Aug 31, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

samples are being moved from https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/tasks

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
andrewsg and others added 30 commits September 14, 2017 14:47
@andrewsg Jon Wayne Parrott
Add samples for Cloud Tasks [(#1068)](GoogleCloudPlatform/python-docs…
d54f501
…-samples#1068)

* Add samples for Cloud Tasks

* Respond to tasks sample review

* Update app engine queues samples

* Address review feedback

* Address review issues and convert pull queue sample to not use API key auth

* Reform pull queues to match appengine queues changes to auth, command line input, readme

* flake8 and fix comment
@andrewsg
Fix Tasks sample test issues.
fee6b9e
@andrewsg
Remove queue.yaml, now unused
8ded308
@andrewsg
Merge pull request #1114 from GoogleCloudPlatform/tasks-tests
713506b
Fix Tasks sample test issues.
@andrewsg
Add required flag on certain arguments to command-line tools
3b2a2b5
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1116)](GoogleCloudPlatform/python-docs-s…
60f52ff
…amples#1116)
@andrewsg
Merge pull request #1115 from andrewsg/tasks-update
668c9b2
Add required flag on certain arguments to command-line tools
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1133)](GoogleCloudPlatform/python-docs-s…
f8eb901
…amples#1133)

* Auto-update dependencies.

* Fix missing http library

Change-Id: I99faa600f2f3f1f50f57694fc9835d7f35bda250
@andrewsg
Update Task Queue samples for beta
35ad1ab
@andrewsg
Use full import to get client
64b115c
@andrewsg
Merge pull request #1137 from andrewsg/tasks
06c2917
Update Task Queue samples for beta
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1186)](GoogleCloudPlatform/python-docs-s…
86b7722
…amples#1186)
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1217)](GoogleCloudPlatform/python-docs-s…
f6e4072
…amples#1217)
michaelawyu Jon Wayne Parrott
Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleC…
c292cfe
…loudPlatform/python-docs-samples#1254)
@andrewsg Jon Wayne Parrott
Add comments and region tags to Cloud Tasks samples [(#1271)](GoogleC…
2477d24
…loudPlatform/python-docs-samples#1271)
@andrewsg
Standardize on CamelCase, reword confusing endpoint name [(#1288)](Go…
adf58f8
…ogleCloudPlatform/python-docs-samples#1288)
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1309)](GoogleCloudPlatform/python-docs-s…
2dcc80e
…amples#1309)
@andrewsg
Rename pull to lease and fix name/parent confusion [(#1311)](GoogleCl…
e47269c
…oudPlatform/python-docs-samples#1311)
@ellenevans @andrewsg
Updated region tags for pull queue samples [(#1329)](GoogleCloudPlatf…
3e9bd49
…orm/python-docs-samples#1329)
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1320)](GoogleCloudPlatform/python-docs-s…
e428872
…amples#1320)
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1355)](GoogleCloudPlatform/python-docs-s…
2f16229
…amples#1355)
@dpebot Jon Wayne Parrott
Auto-update dependencies. [(#1359)](GoogleCloudPlatform/python-docs-s…
04a28d5
…amples#1359)
@dpebot
Auto-update dependencies.
4b004d2
@averikitsch @andrewsg
Update Cloud Tasks Samples [(#1529)](GoogleCloudPlatform/python-docs-…
330ee9c
…samples#1529)

* passing create task

* Passing tests

* updates to region tags
@averikitsch @andrewsg
update region tags [(#1532)](GoogleCloudPlatform/python-docs-samples#…
b343440
…1532)
@averikitsch
update Tasks Sample for App Engine [(#1541)](GoogleCloudPlatform/pyth…
f058659
…on-docs-samples#1541)

* update gcloud command for creating queues

* deploys and runs

* update license

* passing tests
@michaelawyu
Resolved conflicts.
0ffcde9
@michaelawyu
Merge branch 'dpebot-repositorygardener' despite flaky dataproc tests
8462b1b
@averikitsch @andrewsg
Fix run command [(#1563)](GoogleCloudPlatform/python-docs-samples#1563)
8b2e59d
@nnegrey @andrewsg
Updated library for TTS GA [(#1552)](GoogleCloudPlatform/python-docs-…
8064084
…samples#1552)
gguuss and others added 18 commits October 7, 2019 18:45
@gguuss @crwilcox
Adds updates for samples profiler ... vision [(#2439)](GoogleCloudPla…
5604ee4
…tform/python-docs-samples#2439)
@averikitsch
Update Cloud Tasks library version [(#2516)](GoogleCloudPlatform/pyth…
3a44474
…on-docs-samples#2516)

* Update to new library

* update library version
@SKAUL05 @gguuss
Adds Task name while creating Task [(#2543)](GoogleCloudPlatform/pyth…
2e1c777
…on-docs-samples#2543)
Sarath Kaul @gguuss
Task Name in Creating HTTP Task with Token [(#2700)](GoogleCloudPlatf…
0e1161c
…orm/python-docs-samples#2700)
@renovate-bot
chore(deps): update dependency google-cloud-tasks to v1.5.0 [(#3168)](G…
770a699
…oogleCloudPlatform/python-docs-samples#3168)
@renovate-bot
chore(deps): update dependency googleapis-common-protos to v1.51.0 [(…
ef6bd1d
…#3171)](GoogleCloudPlatform/python-docs-samples#3171)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [googleapis-common-protos](https://togithub.com/googleapis/googleapis) | minor | `==1.6.0` -> `==1.51.0` |

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
9bb3c4e
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
@renovate-bot @busunkim96
Remove dependency googleapis-common-protos [(#3955)](GoogleCloudPlatf…
0287007
…orm/python-docs-samples#3955)

* Update dependency googleapis-common-protos to v1.52.0

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

Co-authored-by: Bu Sun Kim <[email protected]>
@kurtisvg
Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](GoogleClo…
50c345e
…udPlatform/python-docs-samples#4022)
Takashi Matsuo
[tasks] testing: use fixtures for the queue [(#4049)](GoogleCloudPlat…
d7067eb
…form/python-docs-samples#4049)

fixes #4045
fixes #4044

I don't know why these tests started to fail, but anyways we'd better
use fixtures and temporary queues.
@aarjo @averikitsch Takashi Matsuo
add python snippets and tests for creating, listing, and deleting que…
1c5088c
…ues [(#4012)](GoogleCloudPlatform/python-docs-samples#4012)

* add python snippets and tests for creating, listing, and deleting queues

* fix grammar

* update licenses

* apply suggested fixes and format with black

* refine delete_queue_test with fixture for setup

* utilize fixtures and match format of create_http_task_test

* utilize fixtures in list_queues_test and create_queue_test

* make create_queue_test call the right function

* still attempt to delete queue after test runs in case of failure

* attempt to delete queue in case of failure, using try/except approach

* add print when NotFound is caught

* fix import

Co-authored-by: Averi Kitsch <[email protected]>
Co-authored-by: Takashi Matsuo <[email protected]>
@grayside
docs(tasks): service_account_email parameter example [(#4183)](Google…
936362d
…CloudPlatform/python-docs-samples#4183)

* docs(tasks): serviceAccountEmail parameter example

* docs(tasks): parameter name camel => snake case

* docs(tasks): comment order = function param order
@renovate-bot @leahecole
chore(deps): update dependency pytest to v5.4.3 [(#4279)](GoogleCloud…
4089865
…Platform/python-docs-samples#4279)

* chore(deps): update dependency pytest to v5.4.3

* specify pytest for python 2 in appengine

Co-authored-by: Leah Cole <[email protected]>
@renovate-bot
Update dependency pytest to v6 [(#4390)](GoogleCloudPlatform/python-d…
05ce0c5
…ocs-samples#4390)
@jlsneto
tasks: added json content-type request [(#4473)](GoogleCloudPlatform/…
bc21141
…python-docs-samples#4473)

- added json payload compatibility
- fix imports and code block used on https://cloud.google.com/tasks/docs/creating-http-target-tasks#python

## Description

Fixes #<ISSUE-NUMBER>

Note: It's a good idea to open an issue first for discussion.

## Checklist
- [ ] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md)
- [ ] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#readme-file)
- [ ] **Tests** pass:   `nox -s py-3.6` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] **Lint** pass:   `nox -s lint` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones)
- [ ] Please **merge** this PR for me once it is approved.
- [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/CODEOWNERS) with the codeowners for this sample
@arithmetic1728
Merge branch 'snippets-samples' into add-snippets-samples
ca3e56e
@arithmetic1728
docs: add samples from python-docs-samples/tasks
bb3fdb2
@arithmetic1728
chore: update templates
64baf4b
@google-cla

google-cla Bot commented Aug 31, 2020

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added the cla: no This human has *not* signed the Contributor License Agreement. label Aug 31, 2020
@arithmetic1728
arithmetic1728 marked this pull request as ready for review August 31, 2020 21:08
@arithmetic1728

arithmetic1728 commented Aug 31, 2020

Copy link
Copy Markdown
Contributor Author

Will re-run kokoro after cl/329358685 is submitted.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@arithmetic1728 arithmetic1728 added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Aug 31, 2020
@arithmetic1728
arithmetic1728 requested a review from busunkim96 August 31, 2020 21:11
busunkim96
busunkim96 approved these changes Aug 31, 2020
View reviewed changes

@busunkim96 busunkim96 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC @averikitsch

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arithmetic1728 arithmetic1728 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 31, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 31, 2020
@arithmetic1728
arithmetic1728 merged commit 9d022f7 into master Aug 31, 2020
@arithmetic1728
arithmetic1728 deleted the add-snippets-samples branch August 31, 2020 23:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

17 participants

@arithmetic1728 @busunkim96 @yoshi-kokoro @andrewsg @dpebot @ellenevans @averikitsch @michaelawyu @nnegrey @avoorhees @gguuss @SKAUL05 @renovate-bot @kurtisvg @aarjo @grayside @jlsneto
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.