Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/python-bigquery-reservation #10261

Merged
merged 54 commits into from
Jul 24, 2023

Commits on Jul 20, 2023

  1. chore: add reservation quickstart and test (#25)

    * chore: add quickstart and test
    
    This PR introduces code for a reservation quickstart, but does not
    include the wiring for augmenting kokoro/nox/etc to include it in
    testing.  This will be addressed in subsequent changes.
    
    * blacken
    
    * use new samples template
    
    * use samples template
    
    * move imports to sample
    
    * add type hints
    
    * add type hints
    
    * format strings
    
    * revert noxfile
    
    * use env var from noxfile
    
    Co-authored-by: Tim Swast <swast@google.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    df69248 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8a29d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3a5913 View commit details
    Browse the repository at this point in the history
  4. chore(deps): update dependency pytest to v6.2.3 (#96)

    Co-authored-by: Tim Swast <swast@google.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a101a20 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    132d579 View commit details
    Browse the repository at this point in the history
  6. chore(deps): update dependency google-cloud-bigquery-reservation to v…

    …1.2.0 (#127)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-cloud-bigquery-reservation](https://github.com/googleapis/python-bigquery-reservation) | `==1.1.0` -> `==1.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-bigquery-reservation</summary>
    
    ### [`v1.2.0`](https://github.com/googleapis/python-bigquery-reservation/blob/master/CHANGELOG.md#&#8203;120-httpswwwgithubcomgoogleapispython-bigquery-reservationcomparev110v120-2021-06-30)
    
    [Compare Source](https://github.com/googleapis/python-bigquery-reservation/compare/v1.1.0...v1.2.0)
    
    ##### Features
    
    -   add always_use_jwt_access ([#&#8203;123](https://www.github.com/googleapis/python-bigquery-reservation/issues/123)) ([3123e99](https://www.github.com/googleapis/python-bigquery-reservation/commit/3123e99e8e288dcfb3627f77610c90060654bee4))
    -   support self-signed JWT flow for service accounts ([4d52ed9](https://www.github.com/googleapis/python-bigquery-reservation/commit/4d52ed91ae9eaa7ec6091138c134e682c9434853))
    
    ##### Bug Fixes
    
    -   add async client to %name\_%version/init.py ([4d52ed9](https://www.github.com/googleapis/python-bigquery-reservation/commit/4d52ed91ae9eaa7ec6091138c134e682c9434853))
    -   disable always_use_jwt_access ([32b279f](https://www.github.com/googleapis/python-bigquery-reservation/commit/32b279f0666a55c66e87c347ed7e913c2a9267a7))
    -   disable always_use_jwt_access ([#&#8203;126](https://www.github.com/googleapis/python-bigquery-reservation/issues/126)) ([32b279f](https://www.github.com/googleapis/python-bigquery-reservation/commit/32b279f0666a55c66e87c347ed7e913c2a9267a7))
    -   exclude docs and tests from package ([#&#8203;117](https://www.github.com/googleapis/python-bigquery-reservation/issues/117)) ([4f90792](https://www.github.com/googleapis/python-bigquery-reservation/commit/4f90792c26c8e47aad5a52267c713723e661efa3))
    -   require google-api-core >= 1.22.2 ([#&#8203;90](https://www.github.com/googleapis/python-bigquery-reservation/issues/90)) ([3f0fff7](https://www.github.com/googleapis/python-bigquery-reservation/commit/3f0fff779d880df0648b7bcf59df01c4cacd4ca3))
    
    ##### Documentation
    
    -   omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#&#8203;1127](https://www.github.com/googleapis/python-bigquery-reservation/issues/1127)) ([#&#8203;120](https://www.github.com/googleapis/python-bigquery-reservation/issues/120)) ([7d65f87](https://www.github.com/googleapis/python-bigquery-reservation/commit/7d65f877f6814aed37f68116b52e200585587c58)), closes [#&#8203;1126](https://www.github.com/googleapis/python-bigquery-reservation/issues/1126)
    -   Update the README to reflect that this library is GA ([#&#8203;112](https://www.github.com/googleapis/python-bigquery-reservation/issues/112)) ([7bca7a9](https://www.github.com/googleapis/python-bigquery-reservation/commit/7bca7a9b6d73d8c8ee522c8ac930192fad49da57))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **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#github/googleapis/python-bigquery-reservation).
    renovate-bot authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    8521bfd View commit details
    Browse the repository at this point in the history
  7. chore(deps): update dependency google-cloud-bigquery-reservation to v…

    …1.2.1 (#135)
    
    Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a75eca4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0482206 View commit details
    Browse the repository at this point in the history
  9. docs: samples for managing reservations (#144)

    TODO: Testing these samples requires a capacity commitment. I created on manually on my dev project, but I think we'll want to programmatically create one in our CI project(s).
    
    Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
    - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-reservation/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
    - [ ] Ensure the tests and linter pass
    - [ ] Code coverage does not decrease (if any source code was changed)
    - [ ] Appropriate docs were updated (if necessary)
    
    Fixes #56  🦕
    tswast authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    10221ef View commit details
    Browse the repository at this point in the history
  10. chore: migrate default branch from master to main (#153)

    * chore: migrate default branch from master to main
    
    * Blacken owlbot.py
    
    * 🦉 Updates from OwlBot
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    84b5217 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    993c7c1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    aa15a8a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    89766f2 View commit details
    Browse the repository at this point in the history
  14. chore(deps): update dependency google-cloud-bigquery-reservation to v…

    …1.3.1 (#168)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-cloud-bigquery-reservation](https://github.com/googleapis/python-bigquery-reservation) | `==1.3.0` -> `==1.3.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.3.1/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery-reservation/1.3.1/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-bigquery-reservation</summary>
    
    ### [`v1.3.1`](https://github.com/googleapis/python-bigquery-reservation/blob/master/CHANGELOG.md#&#8203;131-httpswwwgithubcomgoogleapispython-bigquery-reservationcomparev130v131-2021-09-24)
    
    [Compare Source](https://github.com/googleapis/python-bigquery-reservation/compare/v1.3.0...v1.3.1)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **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#github/googleapis/python-bigquery-reservation).
    renovate-bot authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    36c969a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1641bc0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cd638d7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7a86ef4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8333f86 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d66e9a0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7a0b79c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a6e54c0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    41c20a9 View commit details
    Browse the repository at this point in the history
  23. test: cleanup capacity commitments leftover from failed samples tests (

    …#224)
    
    * test: cleanup capacity commitments leftover from failed samples tests
    
    * 🦉 Updates from OwlBot
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * try session scope
    
    * handle failed commitments in cleanup
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    2c1fd8c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    767bfad View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    171f354 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3620b84 View commit details
    Browse the repository at this point in the history
  27. chore(python): use black==22.3.0 (#243)

    Source-Link: googleapis/synthtool@6fab84a
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
    gcf-owl-bot[bot] authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    8c60da5 View commit details
    Browse the repository at this point in the history
  28. chore(python): add nox session to sort python imports (#257)

    Source-Link: googleapis/synthtool@1b71c10
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    7f55093 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    5f8fadf View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    3aa0324 View commit details
    Browse the repository at this point in the history
  31. chore(deps): update all dependencies (#276)

    * chore(deps): update all dependencies
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * revert
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    3bdef5e View commit details
    Browse the repository at this point in the history
  32. chore(deps): update all dependencies (#289)

    * chore(deps): update all dependencies
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * revert
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d1d1255 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    32a5fd1 View commit details
    Browse the repository at this point in the history
  34. chore(deps): update dependency pytest to v7.1.3 (#304)

    * chore(deps): update all dependencies
    
    * revert
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e0a96f6 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    aefb07b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    23e3da0 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    2385a0f View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    d0180e0 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    80ae473 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    e1a9a6b View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    5935dc0 View commit details
    Browse the repository at this point in the history
  42. feat: enable "rest" transport in Python for services supporting numer…

    …ic enums (#339)
    
    * feat: enable "rest" transport in Python for services supporting numeric enums
    
    PiperOrigin-RevId: 508143576
    
    Source-Link: googleapis/googleapis@7a702a9
    
    Source-Link: googleapis/googleapis-gen@6ad1279
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: enable "rest" transport in Python for services supporting numeric enums
    
    PiperOrigin-RevId: 508143576
    
    Source-Link: googleapis/googleapis@7a702a9
    
    Source-Link: googleapis/googleapis-gen@6ad1279
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * update samples and system test to use REST
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    7110a38 View commit details
    Browse the repository at this point in the history
  43. chore(deps): update dependency google-cloud-bigquery-reservation to v…

    …1.10.0 (#341)
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    65de231 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    479ac49 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    75a2dcd View commit details
    Browse the repository at this point in the history
  46. chore(deps): update dependency pytest to v7.3.1 (#354)

    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    2 people authored and dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    b8131db View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    ebaabcf View commit details
    Browse the repository at this point in the history
  48. update .githug/CODEOWNERS

    dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    cb61b03 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    88c746d View commit details
    Browse the repository at this point in the history
  50. remove unused imports

    dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    8d2cf7d View commit details
    Browse the repository at this point in the history
  51. remove unused imports

    dizcology committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    658f48c View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    035a688 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    270ad34 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    677a4a1 View commit details
    Browse the repository at this point in the history