From c99b41604db2866063e3981878cbb3403278f7ff Mon Sep 17 00:00:00 2001 From: Vegard Stikbakke Date: Fri, 13 Mar 2020 22:08:05 +0100 Subject: [PATCH] Fix typo in docs: paramters -> parameters (#84) Just a docs update, so no body here. --- google/cloud/storage/_signing.py | 4 ++-- google/cloud/storage/bucket.py | 2 +- tests/unit/test__signing.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google/cloud/storage/_signing.py b/google/cloud/storage/_signing.py index 9c9ad9242..c479c9792 100644 --- a/google/cloud/storage/_signing.py +++ b/google/cloud/storage/_signing.py @@ -220,7 +220,7 @@ def canonicalize_v2(method, resource, query_parameters, headers): :type query_parameters: dict :param query_parameters: - (Optional) Additional query paramtersto be included as part of the + (Optional) Additional query parameters to be included as part of the signed URLs. See: https://cloud.google.com/storage/docs/xml-api/reference-headers#query @@ -352,7 +352,7 @@ def generate_signed_url_v2( :type query_parameters: dict :param query_parameters: - (Optional) Additional query paramtersto be included as part of the + (Optional) Additional query parameters to be included as part of the signed URLs. See: https://cloud.google.com/storage/docs/xml-api/reference-headers#query diff --git a/google/cloud/storage/bucket.py b/google/cloud/storage/bucket.py index 4a96313d4..3079c12e9 100644 --- a/google/cloud/storage/bucket.py +++ b/google/cloud/storage/bucket.py @@ -2452,7 +2452,7 @@ def generate_signed_url( :type query_parameters: dict :param query_parameters: - (Optional) Additional query paramtersto be included as part of the + (Optional) Additional query parameters to be included as part of the signed URLs. See: https://cloud.google.com/storage/docs/xml-api/reference-headers#query diff --git a/tests/unit/test__signing.py b/tests/unit/test__signing.py index c2c8eba54..86d702cc7 100644 --- a/tests/unit/test__signing.py +++ b/tests/unit/test__signing.py @@ -339,7 +339,7 @@ def test_w_headers_and_resumable(self): canonical.headers, ["x-goog-extension:foobar", "x-goog-resumable:start"] ) - def test_w_query_paramters(self): + def test_w_query_parameters(self): method = "GET" resource = "/bucket/blob" query_parameters = {"foo": "bar", "baz": "qux"}