Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

docs: add samples from python-docs-samples/tasks #36

Merged
merged 57 commits into from Aug 31, 2020

Commits on Sep 14, 2017

  1. Add samples for Cloud Tasks [(#1068)](GoogleCloudPlatform/python-docs…

    …-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 authored and Jon Wayne Parrott committed Sep 14, 2017
    Copy the full SHA
    d54f501 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fee6b9e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8ded308 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1114 from GoogleCloudPlatform/tasks-tests

    Fix Tasks sample test issues.
    andrewsg committed Sep 14, 2017
    Copy the full SHA
    713506b View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3b2a2b5 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2017

  1. Auto-update dependencies. [(#1116)](GoogleCloudPlatform/python-docs-s…

    dpebot authored and Jon Wayne Parrott committed Sep 15, 2017
    Copy the full SHA
    60f52ff View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1115 from andrewsg/tasks-update

    Add required flag on certain arguments to command-line tools
    andrewsg committed Sep 15, 2017
    Copy the full SHA
    668c9b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2017

  1. Auto-update dependencies. [(#1133)](GoogleCloudPlatform/python-docs-s…

    …amples#1133)
    
    * Auto-update dependencies.
    
    * Fix missing http library
    
    Change-Id: I99faa600f2f3f1f50f57694fc9835d7f35bda250
    dpebot authored and Jon Wayne Parrott committed Sep 21, 2017
    Copy the full SHA
    f8eb901 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2017

  1. Copy the full SHA
    35ad1ab View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2017

  1. Copy the full SHA
    64b115c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1137 from andrewsg/tasks

    Update Task Queue samples for beta
    andrewsg committed Sep 25, 2017
    Copy the full SHA
    06c2917 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2017

  1. Copy the full SHA
    86b7722 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Auto-update dependencies. [(#1217)](GoogleCloudPlatform/python-docs-s…

    dpebot authored and Jon Wayne Parrott committed Nov 15, 2017
    Copy the full SHA
    f6e4072 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. Copy the full SHA
    c292cfe View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Copy the full SHA
    2477d24 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2017

  1. Copy the full SHA
    adf58f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Auto-update dependencies. [(#1309)](GoogleCloudPlatform/python-docs-s…

    dpebot authored and Jon Wayne Parrott committed Jan 10, 2018
    Copy the full SHA
    2dcc80e View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2018

  1. Copy the full SHA
    e47269c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. Copy the full SHA
    3e9bd49 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Copy the full SHA
    e428872 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Copy the full SHA
    2f16229 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Auto-update dependencies. [(#1359)](GoogleCloudPlatform/python-docs-s…

    dpebot authored and Jon Wayne Parrott committed Feb 26, 2018
    Copy the full SHA
    04a28d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2018

  1. Auto-update dependencies.

    dpebot committed Apr 2, 2018
    Copy the full SHA
    4b004d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2018

  1. Update Cloud Tasks Samples [(#1529)](GoogleCloudPlatform/python-docs-…

    …samples#1529)
    
    * passing create task
    
    * Passing tests
    
    * updates to region tags
    averikitsch authored and andrewsg committed Jun 18, 2018
    Copy the full SHA
    330ee9c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. Copy the full SHA
    b343440 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

  1. update Tasks Sample for App Engine [(#1541)](GoogleCloudPlatform/pyth…

    …on-docs-samples#1541)
    
    * update gcloud command for creating queues
    
    * deploys and runs
    
    * update license
    
    * passing tests
    averikitsch committed Jun 27, 2018
    Copy the full SHA
    f058659 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2018

  1. Resolved conflicts.

    michaelawyu committed Jun 29, 2018
    Copy the full SHA
    0ffcde9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8462b1b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Copy the full SHA
    8b2e59d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8064084 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2018

  1. update gcloud command for Cloud Tasks [(#1566)](GoogleCloudPlatform/p…

    …ython-docs-samples#1566)
    
    * update gcloud command
    
    * update pull queue command
    
    * update pull queue command
    averikitsch authored and andrewsg committed Jul 17, 2018
    Copy the full SHA
    d19a210 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. Update Cloud Tasks Push Queue Sample [(#1698)](GoogleCloudPlatform/py…

    …thon-docs-samples#1698)
    
    * deleted pull queues
    
    * updated samples
    
    * fix dependency versions
    averikitsch committed Sep 12, 2018
    Copy the full SHA
    d361fc2 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. [Cloud Tasks] Move samples to new folder [(#2114)](GoogleCloudPlatfor…

    …m/python-docs-samples#2114)
    
    * Move samples to keep consistent with other langauges
    
    * Ad system tests as well
    averikitsch committed Apr 17, 2019
    Copy the full SHA
    adf9218 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. [Cloud Tasks] Add task with authentication sample [(#2113)](GoogleClo…

    …udPlatform/python-docs-samples#2113)
    
    * Add task with authentication sample
    
    * Fix linting
    
    * Fix linting
    
    * Fix spacing
    
    * Update tests with service account
    
    * Move samples and update READMEs
    
    * Update version and linting
    averikitsch committed Apr 18, 2019
    Copy the full SHA
    775acfe View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Update task sample comments [(#2156)](GoogleCloudPlatform/python-docs…

    …-samples#2156)
    
    * Update task comments
    
    * Update readme
    
    * Update queue name
    averikitsch committed May 15, 2019
    Copy the full SHA
    c20580e View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. Copy the full SHA
    fe33547 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Copy the full SHA
    ca75b8f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Add Migration Guide Snippets for Cloud Tasks [(#2316)](GoogleCloudPla…

    …tform/python-docs-samples#2316)
    
    * Migration guide
    
    * remove app and update migraitonn
    
    * snippets for migration guide - tests added
    
    * lint
    
    * remove print statements
    
    * Styling changes
    
    * Travis trigger
    averikitsch committed Aug 6, 2019
    Copy the full SHA
    74e4dd6 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2019

  1. Update create_http_task.py [(#2187)](GoogleCloudPlatform/python-docs-…

    …samples#2187)
    
    Updates `create_http_task.py` to have missing `in_seconds` variable
    avoorhees authored and gguuss committed Oct 1, 2019
    Copy the full SHA
    23532a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Copy the full SHA
    5604ee4 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Update Cloud Tasks library version [(#2516)](GoogleCloudPlatform/pyth…

    …on-docs-samples#2516)
    
    * Update to new library
    
    * update library version
    averikitsch committed Nov 7, 2019
    Copy the full SHA
    3a44474 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. Copy the full SHA
    2e1c777 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Copy the full SHA
    0e1161c View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. Copy the full SHA
    770a699 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency googleapis-common-protos to v1.51.0 [(…

    …#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).
    renovate-bot committed Mar 30, 2020
    Copy the full SHA
    ef6bd1d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…

    …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 <bot@renovateapp.com>
    kurtisvg and renovate-bot committed Apr 2, 2020
    Copy the full SHA
    9bb3c4e View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. Remove dependency googleapis-common-protos [(#3955)](GoogleCloudPlatf…

    …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 <8822365+busunkim96@users.noreply.github.com>
    renovate-bot and busunkim96 committed Jun 4, 2020
    Copy the full SHA
    0287007 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Copy the full SHA
    50c345e View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. [tasks] testing: use fixtures for the queue [(#4049)](GoogleCloudPlat…

    …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.
    Takashi Matsuo committed Jun 10, 2020
    Copy the full SHA
    d7067eb View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2020

  1. add python snippets and tests for creating, listing, and deleting que…

    …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 <akitsch@google.com>
    Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
    3 people committed Jun 12, 2020
    Copy the full SHA
    1c5088c View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. docs(tasks): service_account_email parameter example [(#4183)](Google…

    …CloudPlatform/python-docs-samples#4183)
    
    * docs(tasks): serviceAccountEmail parameter example
    
    * docs(tasks): parameter name camel => snake case
    
    * docs(tasks): comment order = function param order
    grayside committed Jun 26, 2020
    Copy the full SHA
    936362d View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2020

  1. chore(deps): update dependency pytest to v5.4.3 [(#4279)](GoogleCloud…

    …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 <coleleah@google.com>
    renovate-bot and leahecole committed Jul 12, 2020
    Copy the full SHA
    4089865 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2020

  1. Copy the full SHA
    05ce0c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2020

  1. tasks: added json content-type request [(#4473)](GoogleCloudPlatform/…

    …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
    jlsneto committed Aug 11, 2020
    Copy the full SHA
    bc21141 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Copy the full SHA
    ca3e56e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    bb3fdb2 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    64baf4b View commit details
    Browse the repository at this point in the history