Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-dialogflow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.2
Choose a base ref
...
head repository: googleapis/python-dialogflow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.0
Choose a head ref
  • 13 commits
  • 374 files changed
  • 7 contributors

Commits on Apr 16, 2021

  1. chore: prevent normalization of semver versioning (#277)

    * chore: prevent normalization of semver versioning
    
    * chore: update workaround to make sic work
    dandhlee authored Apr 16, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8958e56 View commit details

Commits on Apr 27, 2021

  1. chore(revert): revert preventing normalization (#279)

    reverts previous commit for preventing normalization of versioning
    dandhlee authored Apr 27, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4a218d8 View commit details

Commits on May 7, 2021

  1. chore(deps): update dependency google-cloud-dialogflow to v2.1.2 (#285)

    [![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-dialogflow](https://togithub.com/googleapis/dialogflow-python-client-v2) | `==2.1.0` -> `==2.1.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-dialogflow/2.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-dialogflow/2.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-dialogflow/2.1.2/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-dialogflow/2.1.2/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/dialogflow-python-client-v2</summary>
    
    ### [`v2.1.2`](https://togithub.com/googleapis/dialogflow-python-client-v2/blob/master/CHANGELOG.md#&#8203;212-httpswwwgithubcomgoogleapispython-dialogflowcomparev211v212-2021-04-13)
    
    [Compare Source](https://togithub.com/googleapis/dialogflow-python-client-v2/compare/v2.1.1...v2.1.2)
    
    ### [`v2.1.1`](https://togithub.com/googleapis/dialogflow-python-client-v2/blob/master/CHANGELOG.md#&#8203;211-httpswwwgithubcomgoogleapispython-dialogflowcomparev210v211-2021-04-12)
    
    [Compare Source](https://togithub.com/googleapis/dialogflow-python-client-v2/compare/v2.1.0...v2.1.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-dialogflow).
    renovate-bot authored May 7, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4fb62e3 View commit details

Commits on May 10, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    798845b View commit details

Commits on May 11, 2021

  1. chore(deps): update dependency pytest to v6.2.4 (#287)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==6.1.2` -> `==6.2.4` | [![age](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/compatibility-slim/6.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/confidence-slim/6.1.2)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>pytest-dev/pytest</summary>
    
    ### [`v6.2.4`](https://togithub.com/pytest-dev/pytest/releases/6.2.4)
    
    [Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.3...6.2.4)
    
    # pytest 6.2.4 (2021-05-04)
    
    ## Bug Fixes
    
    -   [#&#8203;8539](https://togithub.com/pytest-dev/pytest/issues/8539): Fixed assertion rewriting on Python 3.10.
    
    ### [`v6.2.3`](https://togithub.com/pytest-dev/pytest/releases/6.2.3)
    
    [Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.2...6.2.3)
    
    # pytest 6.2.3 (2021-04-03)
    
    ## Bug Fixes
    
    -   [#&#8203;8414](https://togithub.com/pytest-dev/pytest/issues/8414): pytest used to create directories under `/tmp` with world-readable
        permissions. This means that any user in the system was able to read
        information written by tests in temporary directories (such as those created by
        the `tmp_path`/`tmpdir` fixture). Now the directories are created with
        private permissions.
    
        pytest used silenty use a pre-existing `/tmp/pytest-of-<username>` directory,
        even if owned by another user. This means another user could pre-create such a
        directory and gain control of another user\\'s temporary directory. Now such a
        condition results in an error.
    
    ### [`v6.2.2`](https://togithub.com/pytest-dev/pytest/releases/6.2.2)
    
    [Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.1...6.2.2)
    
    # pytest 6.2.2 (2021-01-25)
    
    ## Bug Fixes
    
    -   [#&#8203;8152](https://togithub.com/pytest-dev/pytest/issues/8152): Fixed "(&lt;Skipped instance>)" being shown as a skip reason in the verbose test summary line when the reason is empty.
    -   [#&#8203;8249](https://togithub.com/pytest-dev/pytest/issues/8249): Fix the `faulthandler` plugin for occasions when running with `twisted.logger` and using `pytest --capture=no`.
    
    ### [`v6.2.1`](https://togithub.com/pytest-dev/pytest/releases/6.2.1)
    
    [Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.0...6.2.1)
    
    # pytest 6.2.1 (2020-12-15)
    
    ## Bug Fixes
    
    -   [#&#8203;7678](https://togithub.com/pytest-dev/pytest/issues/7678): Fixed bug where `ImportPathMismatchError` would be raised for files compiled in
        the host and loaded later from an UNC mounted path (Windows).
    -   [#&#8203;8132](https://togithub.com/pytest-dev/pytest/issues/8132): Fixed regression in `approx`: in 6.2.0 `approx` no longer raises
        `TypeError` when dealing with non-numeric types, falling back to normal comparison.
        Before 6.2.0, array types like tf.DeviceArray fell through to the scalar case,
        and happened to compare correctly to a scalar if they had only one element.
        After 6.2.0, these types began failing, because they inherited neither from
        standard Python number hierarchy nor from `numpy.ndarray`.
    
        `approx` now converts arguments to `numpy.ndarray` if they expose the array
        protocol and are not scalars. This treats array-like objects like numpy arrays,
        regardless of size.
    
    ### [`v6.2.0`](https://togithub.com/pytest-dev/pytest/releases/6.2.0)
    
    [Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.1.2...6.2.0)
    
    ##### pytest 6.2.0 (2020-12-12)
    
    ##### Breaking Changes
    
    -   [#&#8203;7808](https://togithub.com/pytest-dev/pytest/issues/7808): pytest now supports python3.6+ only.
    
    ##### Deprecations
    
    -   [#&#8203;7469](https://togithub.com/pytest-dev/pytest/issues/7469): Directly constructing/calling the following classes/functions is now deprecated:
    
        -   `_pytest.cacheprovider.Cache`
        -   `_pytest.cacheprovider.Cache.for_config()`
        -   `_pytest.cacheprovider.Cache.clear_cache()`
        -   `_pytest.cacheprovider.Cache.cache_dir_from_config()`
        -   `_pytest.capture.CaptureFixture`
        -   `_pytest.fixtures.FixtureRequest`
        -   `_pytest.fixtures.SubRequest`
        -   `_pytest.logging.LogCaptureFixture`
        -   `_pytest.pytester.Pytester`
        -   `_pytest.pytester.Testdir`
        -   `_pytest.recwarn.WarningsRecorder`
        -   `_pytest.recwarn.WarningsChecker`
        -   `_pytest.tmpdir.TempPathFactory`
        -   `_pytest.tmpdir.TempdirFactory`
    
        These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.
    
    -   [#&#8203;7530](https://togithub.com/pytest-dev/pytest/issues/7530): The `--strict` command-line option has been deprecated, use `--strict-markers` instead.
    
        We have plans to maybe in the future to reintroduce `--strict` and make it an encompassing flag for all strictness
        related options (`--strict-markers` and `--strict-config` at the moment, more might be introduced in the future).
    
    -   [#&#8203;7988](https://togithub.com/pytest-dev/pytest/issues/7988): The `@pytest.yield_fixture` decorator/function is now deprecated. Use pytest.fixture instead.
    
        `yield_fixture` has been an alias for `fixture` for a very long time, so can be search/replaced safely.
    
    ##### Features
    
    -   [#&#8203;5299](https://togithub.com/pytest-dev/pytest/issues/5299): pytest now warns about unraisable exceptions and unhandled thread exceptions that occur in tests on Python>=3.8.
        See unraisable for more information.
    -   [#&#8203;7425](https://togithub.com/pytest-dev/pytest/issues/7425): New pytester fixture, which is identical to testdir but its methods return pathlib.Path when appropriate instead of `py.path.local`.
    
        This is part of the movement to use pathlib.Path objects internally, in order to remove the dependency to `py` in the future.
    
        Internally, the old Testdir &lt;\_pytest.pytester.Testdir> is now a thin wrapper around Pytester &lt;\_pytest.pytester.Pytester>, preserving the old interface.
    
    -   [#&#8203;7695](https://togithub.com/pytest-dev/pytest/issues/7695): A new hook was added, pytest_markeval_namespace which should return a dictionary.
        This dictionary will be used to augment the "global" variables available to evaluate skipif/xfail/xpass markers.
    
        Pseudo example
    
        `conftest.py`:
    
        ```{.sourceCode .python}
        def pytest_markeval_namespace():
            return {"color": "red"}
        ```
    
        `test_func.py`:
    
        ```{.sourceCode .python}
        @&#8203;pytest.mark.skipif("color == 'blue'", reason="Color is not red")
        def test_func():
            assert False
        ```
    
    -   [#&#8203;8006](https://togithub.com/pytest-dev/pytest/issues/8006): It is now possible to construct a ~pytest.MonkeyPatch object directly as `pytest.MonkeyPatch()`,
        in cases when the monkeypatch fixture cannot be used. Previously some users imported it
        from the private \_pytest.monkeypatch.MonkeyPatch namespace.
    
        Additionally, MonkeyPatch.context &lt;pytest.MonkeyPatch.context> is now a classmethod,
        and can be used as `with MonkeyPatch.context() as mp: ...`. This is the recommended way to use
        `MonkeyPatch` directly, since unlike the `monkeypatch` fixture, an instance created directly
        is not `undo()`-ed automatically.
    
    ##### Improvements
    
    -   [#&#8203;1265](https://togithub.com/pytest-dev/pytest/issues/1265): Added an `__str__` implementation to the ~pytest.pytester.LineMatcher class which is returned from `pytester.run_pytest().stdout` and similar. It returns the entire output, like the existing `str()` method.
    -   [#&#8203;2044](https://togithub.com/pytest-dev/pytest/issues/2044): Verbose mode now shows the reason that a test was skipped in the test's terminal line after the "SKIPPED", "XFAIL" or "XPASS".
    -   [#&#8203;7469](https://togithub.com/pytest-dev/pytest/issues/7469) The types of builtin pytest fixtures are now exported so they may be used in type annotations of test functions.
        The newly-exported types are:
    
        -   `pytest.FixtureRequest` for the request fixture.
        -   `pytest.Cache` for the cache fixture.
        -   `pytest.CaptureFixture[str]` for the capfd and capsys fixtures.
        -   `pytest.CaptureFixture[bytes]` for the capfdbinary and capsysbinary fixtures.
        -   `pytest.LogCaptureFixture` for the caplog fixture.
        -   `pytest.Pytester` for the pytester fixture.
        -   `pytest.Testdir` for the testdir fixture.
        -   `pytest.TempdirFactory` for the tmpdir_factory fixture.
        -   `pytest.TempPathFactory` for the tmp_path_factory fixture.
        -   `pytest.MonkeyPatch` for the monkeypatch fixture.
        -   `pytest.WarningsRecorder` for the recwarn fixture.
    
        Constructing them is not supported (except for MonkeyPatch); they are only meant for use in type annotations.
        Doing so will emit a deprecation warning, and may become a hard-error in pytest 7.0.
    
        Subclassing them is also not supported. This is not currently enforced at runtime, but is detected by type-checkers such as mypy.
    
    -   [#&#8203;7527](https://togithub.com/pytest-dev/pytest/issues/7527): When a comparison between namedtuple &lt;collections.namedtuple> instances of the same type fails, pytest now shows the differing field names (possibly nested) instead of their indexes.
    -   [#&#8203;7615](https://togithub.com/pytest-dev/pytest/issues/7615): Node.warn &lt;\_pytest.nodes.Node.warn> now permits any subclass of Warning, not just PytestWarning &lt;pytest.PytestWarning>.
    -   [#&#8203;7701](https://togithub.com/pytest-dev/pytest/issues/7701): Improved reporting when using `--collected-only`. It will now show the number of collected tests in the summary stats.
    -   [#&#8203;7710](https://togithub.com/pytest-dev/pytest/issues/7710): Use strict equality comparison for non-numeric types in pytest.approx instead of
        raising TypeError.
    
        This was the undocumented behavior before 3.7, but is now officially a supported feature.
    
    -   [#&#8203;7938](https://togithub.com/pytest-dev/pytest/issues/7938): New `--sw-skip` argument which is a shorthand for `--stepwise-skip`.
    -   [#&#8203;8023](https://togithub.com/pytest-dev/pytest/issues/8023): Added `'node_modules'` to default value for norecursedirs.
    -   [#&#8203;8032](https://togithub.com/pytest-dev/pytest/issues/8032): doClassCleanups &lt;unittest.TestCase.doClassCleanups> (introduced in unittest in Python and 3.8) is now called appropriately.
    
    ##### Bug Fixes
    
    -   [#&#8203;4824](https://togithub.com/pytest-dev/pytest/issues/4824): Fixed quadratic behavior and improved performance of collection of items using autouse fixtures and xunit fixtures.
    -   [#&#8203;7758](https://togithub.com/pytest-dev/pytest/issues/7758): Fixed an issue where some files in packages are getting lost from `--lf` even though they contain tests that failed. Regressed in pytest 5.4.0.
    -   [#&#8203;7911](https://togithub.com/pytest-dev/pytest/issues/7911): Directories created by by tmp_path and tmpdir are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites.
    -   [#&#8203;7913](https://togithub.com/pytest-dev/pytest/issues/7913): Fixed a crash or hang in pytester.spawn &lt;\_pytest.pytester.Pytester.spawn> when the readline module is involved.
    -   [#&#8203;7951](https://togithub.com/pytest-dev/pytest/issues/7951): Fixed handling of recursive symlinks when collecting tests.
    -   [#&#8203;7981](https://togithub.com/pytest-dev/pytest/issues/7981): Fixed symlinked directories not being followed during collection. Regressed in pytest 6.1.0.
    -   [#&#8203;8016](https://togithub.com/pytest-dev/pytest/issues/8016): Fixed only one doctest being collected when using `pytest --doctest-modules path/to/an/__init__.py`.
    
    ##### Improved Documentation
    
    -   [#&#8203;7429](https://togithub.com/pytest-dev/pytest/issues/7429): Add more information and use cases about skipping doctests.
    -   [#&#8203;7780](https://togithub.com/pytest-dev/pytest/issues/7780): Classes which should not be inherited from are now marked `final class` in the API reference.
    -   [#&#8203;7872](https://togithub.com/pytest-dev/pytest/issues/7872): `_pytest.config.argparsing.Parser.addini()` accepts explicit `None` and `"string"`.
    -   [#&#8203;7878](https://togithub.com/pytest-dev/pytest/issues/7878): In pull request section, ask to commit after editing changelog and authors file.
    
    ##### Trivial/Internal Changes
    
    -   [#&#8203;7802](https://togithub.com/pytest-dev/pytest/issues/7802): The `attrs` dependency requirement is now >=19.2.0 instead of >=17.4.0.
    -   [#&#8203;8014](https://togithub.com/pytest-dev/pytest/issues/8014): .pyc files created by pytest's assertion rewriting now conform to the newer PEP-552 format on Python>=3.7.
        (These files are internal and only interpreted by pytest itself.)
    
    </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-dialogflow).
    renovate-bot authored May 11, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c4795c5 View commit details

Commits on May 12, 2021

  1. chore: add SECURITY.md (#282)

    chore: add SECURITY.md
    google-cloud-policy-bot[bot] authored May 12, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ecd8f2c View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cb5ac7d View commit details

Commits on May 14, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1a0ac16 View commit details
  2. chore: Update Owl bot begin-after-commit-hash (#291)

    PR #290 included changes to the generated client but the conventional commit messages were not included in the PR. This PR updates the `begin-after-commit-hash` that owl-bot uses to pull changes from googleapis-gen to match [this commit](https://github.com/googleapis/googleapis-gen/search?q=0a3c7d272d697796db75857bac73905c68e498c3&type=commits).
    
    The following changes are already in master:
    
    feat: added more Environment RPCs
    feat: added Versions service
    feat: added Fulfillment service
    feat: added TextToSpeechSettings.
    feat: added location in some resource patterns
    fix: removed incorrect resource annotation for UpdateEnvironmentRequest.
    fix: add async client to %name_%version/init.py
    chore: add autogenerated snippets
    chore: remove auth, policy, and options from the reserved names list
    feat: support self-signed JWT flow for service accounts
    chore: enable GAPIC metadata generation
    chore: sort subpackages in %namespace/%name/init.py
    parthea authored May 14, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b39fc0 View commit details

Commits on May 15, 2021

  1. fix(deps): add packaging requirement (#293)

    Add packaging requirement. packaging.version
                  is used for a version comparison in transports/base.py and is needed after the upgrade to gapic-generator-python 0.46.3
    busunkim96 authored May 15, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a9f970c View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1f71e77 View commit details

Commits on May 16, 2021

  1. chore: new owl bot post processor docker image (#295)

    gcr.io/repo-automation-bots/owlbot-python:latest@sha256:4c981a6b6f2b8914a448d7b3a01688365be03e3ed26dfee399a6aa77fb112eaa
    gcf-owl-bot[bot] authored May 16, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c720f41 View commit details

Commits on May 17, 2021

  1. chore: release 2.2.0 (#292)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored May 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    47d0ce6 View commit details
Showing 374 changed files with 39,583 additions and 12,519 deletions.
3 changes: 3 additions & 0 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
digest: sha256:4c981a6b6f2b8914a448d7b3a01688365be03e3ed26dfee399a6aa77fb112eaa
26 changes: 26 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/dialogflow/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/$1/$2

begin-after-commit-hash: 0a3c7d272d697796db75857bac73905c68e498c3

2 changes: 1 addition & 1 deletion .github/header-checker-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "samples/**/constraints-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
4 changes: 2 additions & 2 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools
export PYTHONUNBUFFERED=1

# Move into the package, build the distribution and upload.
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google_cloud_pypi_password")
TWINE_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secret_manager/google-cloud-pypi-token")
cd github/python-dialogflow
python3 setup.py sdist bdist_wheel
twine upload --username gcloudpypi --password "${TWINE_PASSWORD}" dist/*
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*
14 changes: 2 additions & 12 deletions .kokoro/release/common.cfg
Original file line number Diff line number Diff line change
@@ -23,18 +23,8 @@ env_vars: {
value: "github/python-dialogflow/.kokoro/release.sh"
}

# Fetch PyPI password
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "google_cloud_pypi_password"
}
}
}

# Tokens needed to report release status back to GitHub
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem,google-cloud-pypi-token"
}
16 changes: 15 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
@@ -12,6 +26,6 @@ repos:
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
rev: 3.9.2
hooks:
- id: flake8
1 change: 1 addition & 0 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
"issue_tracker": "https://issuetracker.google.com/savedsearches/5300385",
"release_level": "ga",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/python-dialogflow",
"distribution_name": "google-cloud-dialogflow",
"api_id": "dialogflow.googleapis.com",
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,26 @@

[1]: https://pypi.org/project/dialogflow/#history

## [2.2.0](https://www.github.com/googleapis/python-dialogflow/compare/v2.1.2...v2.2.0) (2021-05-16)


### Features

* added Fulfillment service ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* added location in some resource patterns ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* added location-aware HTTP path binding for ListIntents ([#294](https://www.github.com/googleapis/python-dialogflow/issues/294)) ([1f71e77](https://www.github.com/googleapis/python-dialogflow/commit/1f71e7788eb996e118767b83818227931750902e))
* added more Environment RPCs ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* added TextToSpeechSettings. ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* added Versions service ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* support self-signed JWT flow for service accounts ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))


### Bug Fixes

* add async client to %name_%version/init.py ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))
* **deps:** add packaging requirement ([#293](https://www.github.com/googleapis/python-dialogflow/issues/293)) ([a9f970c](https://www.github.com/googleapis/python-dialogflow/commit/a9f970c98e62c362f8aa71c26b14d68eaeccbbbd))
* removed incorrect resource annotation for UpdateEnvironmentRequest. ([1b39fc0](https://www.github.com/googleapis/python-dialogflow/commit/1b39fc00108af7b00cd8fbc3975a2bcf403b5749))

### [2.1.2](https://www.github.com/googleapis/python-dialogflow/compare/v2.1.1...v2.1.2) (2021-04-13)


16 changes: 1 addition & 15 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -160,21 +160,7 @@ Running System Tests
auth settings and change some configuration in your project to
run all the tests.

- System tests will be run against an actual project and
so you'll need to provide some environment variables to facilitate
authentication to your project:

- ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file;
Such a file can be downloaded directly from the developer's console by clicking
"Generate new JSON key". See private key
`docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key>`__
for more details.

- Once you have downloaded your json keys, set the environment variable
``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file::

$ export GOOGLE_APPLICATION_CREDENTIALS="/Users/<your_username>/path/to/app_credentials.json"

- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.

*************
Test Coverage
7 changes: 7 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Security Policy

To report a security issue, please use [g.co/vulnz](https://g.co/vulnz).

The Google Security Team will respond within 5 working days of your report on g.co/vulnz.

We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue.
13 changes: 12 additions & 1 deletion docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
div#python2-eol {
border-color: red;
border-width: medium;
}
}

/* Ensure minimum width for 'Parameters' / 'Returns' column */
dl.field-list > dt {
min-width: 100px
}

/* Insert space between methods for readability */
dl.method {
padding-top: 10px;
padding-bottom: 10px
}

/* Insert empty space between classes */
dl.class {
padding-bottom: 50px
}
13 changes: 13 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# google-cloud-dialogflow documentation build configuration file
#
1 change: 0 additions & 1 deletion docs/dialogflow_v2/agents.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Agents
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.agents.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/answer_records.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ AnswerRecords
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.answer_records.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/contexts.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Contexts
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.contexts.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/conversation_profiles.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ ConversationProfiles
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.conversation_profiles.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/conversations.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Conversations
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.conversations.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/documents.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Documents
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.documents.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/entity_types.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ EntityTypes
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.entity_types.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/environments.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Environments
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.environments.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/dialogflow_v2/fulfillments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fulfillments
------------------------------

.. automodule:: google.cloud.dialogflow_v2.services.fulfillments
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/intents.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Intents
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.intents.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/knowledge_bases.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ KnowledgeBases
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.knowledge_bases.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2/participants.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Participants
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.participants.pagers
:members:
:inherited-members:
2 changes: 2 additions & 0 deletions docs/dialogflow_v2/services.rst
Original file line number Diff line number Diff line change
@@ -11,8 +11,10 @@ Services for Google Cloud Dialogflow v2 API
documents
entity_types
environments
fulfillments
intents
knowledge_bases
participants
session_entity_types
sessions
versions
1 change: 0 additions & 1 deletion docs/dialogflow_v2/session_entity_types.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ SessionEntityTypes
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2.services.session_entity_types.pagers
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/dialogflow_v2/versions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Versions
--------------------------

.. automodule:: google.cloud.dialogflow_v2.services.versions
:members:
:inherited-members:

.. automodule:: google.cloud.dialogflow_v2.services.versions.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/agents.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Agents
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.agents.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/answer_records.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ AnswerRecords
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.answer_records.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/contexts.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Contexts
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.contexts.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/conversation_profiles.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ ConversationProfiles
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.conversation_profiles.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/conversations.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Conversations
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.conversations.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/documents.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Documents
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.documents.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/entity_types.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ EntityTypes
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.entity_types.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/dialogflow_v2beta1/environments.rst
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ Environments
:members:
:inherited-members:


.. automodule:: google.cloud.dialogflow_v2beta1.services.environments.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/dialogflow_v2beta1/fulfillments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fulfillments
------------------------------

.. automodule:: google.cloud.dialogflow_v2beta1.services.fulfillments
:members:
:inherited-members:
Loading