Skip to content

Commit 2a6a36b

Browse files
authored
chore: fix typos (#487)
* chore: fix typos * more typos * address review feedback * grammar
1 parent 06d66cc commit 2a6a36b

20 files changed

+42
-42
lines changed

google/api_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"""Google API Core.
1616
17-
This package contains common code and utilties used by Google client libraries.
17+
This package contains common code and utilities used by Google client libraries.
1818
"""
1919

2020
from google.api_core import version as api_core_version

google/api_core/client_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ClientInfo(object):
4848
``'3.9.6'``.
4949
grpc_version (Optional[str]): The gRPC library version.
5050
api_core_version (str): The google-api-core library version.
51-
gapic_version (Optional[str]): The sversion of gapic-generated client
51+
gapic_version (Optional[str]): The version of gapic-generated client
5252
library, if the library was generated by gapic.
5353
client_library_version (Optional[str]): The version of the client
5454
library, generally used if the client library was not generated

google/api_core/datetime_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def to_rfc3339(value, ignore_zone=True):
170170
datetime object is ignored and the datetime is treated as UTC.
171171
172172
Returns:
173-
str: The RFC3339 formated string representing the datetime.
173+
str: The RFC3339 formatted string representing the datetime.
174174
"""
175175
if not ignore_zone and value.tzinfo is not None:
176176
# Convert to UTC and remove the time zone info.

google/api_core/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class RetryError(GoogleAPIError):
7373
7474
Args:
7575
message (str): The exception message.
76-
cause (Exception): The last exception raised when retring the
76+
cause (Exception): The last exception raised when retrying the
7777
function.
7878
"""
7979

google/api_core/extended_operation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(
101101
# optional http_error_code = proto.Field(proto.INT32, number=3)
102102
# optional http_error_msg = proto.Field(proto.STRING, number=4)
103103
#
104-
# the ExtendedOperation subclass would provide property overrrides that map
104+
# the ExtendedOperation subclass would provide property overrides that map
105105
# to these (poorly named) fields.
106106
@property
107107
def name(self):

google/api_core/future/polling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class PollingFuture(base.Future):
6868
The :meth:`done` method should be implemented by subclasses. The polling
6969
behavior will repeatedly call ``done`` until it returns True.
7070
71-
The actuall polling logic is encapsulated in :meth:`result` method. See
71+
The actual polling logic is encapsulated in :meth:`result` method. See
7272
documentation for that method for details on how polling works.
7373
7474
.. note::
@@ -82,7 +82,7 @@ class PollingFuture(base.Future):
8282
``timeout`` argument is specified in :meth:`result` method it will
8383
override the ``polling.timeout`` property.
8484
retry (google.api_core.retry.Retry): DEPRECATED use ``polling`` instead.
85-
If set, it will override ``polling`` paremeter for backward
85+
If set, it will override ``polling`` parameter for backward
8686
compatibility.
8787
"""
8888

@@ -224,8 +224,8 @@ class documentation for the proper definition of timeout and deadline
224224
to set this parameter explicitly.
225225
226226
If ``polling`` is provided (i.e. ``polling is not None``), it will be used
227-
to controll the overall polling behavior and ``polling.timeout`` will
228-
controll Polling Timeout unless it is overridden by ``timeout`` parameter
227+
to control the overall polling behavior and ``polling.timeout`` will
228+
control Polling Timeout unless it is overridden by ``timeout`` parameter
229229
as described above. If not provided, the``polling`` parameter specified
230230
during construction of this future (the ``polling`` argument in the
231231
constructor) will be used instead. Note: since the ``timeout`` argument may

google/api_core/gapic_v1/client_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ClientInfo(client_info.ClientInfo):
3636
``'3.9.6'``.
3737
grpc_version (Optional[str]): The gRPC library version.
3838
api_core_version (str): The google-api-core library version.
39-
gapic_version (Optional[str]): The sversion of gapic-generated client
39+
gapic_version (Optional[str]): The version of gapic-generated client
4040
library, if the library was generated by gapic.
4141
client_library_version (Optional[str]): The version of the client
4242
library, generally used if the client library was not generated

google/api_core/general_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# This import for backward compatibiltiy only.
15+
# This import for backward compatibility only.
1616
from functools import wraps # noqa: F401 pragma: NO COVER

google/api_core/operations_v1/abstract_operations_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def get_operation(
468468
Returns:
469469
google.longrunning.operations_pb2.Operation:
470470
This resource represents a long-
471-
unning operation that is the result of a
471+
running operation that is the result of a
472472
network API call.
473473
474474
"""

google/api_core/operations_v1/operations_client_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""gapic configuration for the googe.longrunning.operations client."""
15+
"""gapic configuration for the google.longrunning.operations client."""
1616

1717
# DEPRECATED: retry and timeout classes are instantiated directly
1818
config = {

0 commit comments

Comments
 (0)