From 3830ad4c73f150d3ef6306dd79fa538233a84890 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:25:15 -0700 Subject: [PATCH] fix spelling errors --- aerospike_helpers/expressions/base.py | 6 +++--- aerospike_helpers/metrics/__init__.py | 2 +- doc/data_mapping.rst | 2 +- doc/spelling_wordlist.txt | 10 ++++++++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/aerospike_helpers/expressions/base.py b/aerospike_helpers/expressions/base.py index 870b6f437..c5b2ba765 100644 --- a/aerospike_helpers/expressions/base.py +++ b/aerospike_helpers/expressions/base.py @@ -301,8 +301,8 @@ def __init__(self, bin: str): class GeoBin(_BaseExpr): - """Create an expression that returns a bin as a geojson. Returns the unknown-value - if the bin is not a geojson. + """Create an expression that returns a bin as a GeoJSON. Returns the unknown-value + if the bin is not a GeoJSON. """ _op = _ExprOp.BIN @@ -312,7 +312,7 @@ def __init__(self, bin: str): """Args: bin (str): Bin name. - :return: (geojson bin) + :return: (GeoJSON bin) Example:: diff --git a/aerospike_helpers/metrics/__init__.py b/aerospike_helpers/metrics/__init__.py index 612633e90..e0339f25c 100644 --- a/aerospike_helpers/metrics/__init__.py +++ b/aerospike_helpers/metrics/__init__.py @@ -65,7 +65,7 @@ class Node: error_count (int): Command error count since node was initialized. If the error is retryable, multiple errors per command may occur. timeout_count (int): Command timeout count since node was initialized. - If the timeout is retryable (ie socketTimeout), multiple timeouts per command may occur. + If the timeout is retryable (i.e socketTimeout), multiple timeouts per command may occur. metrics (:py:class:`NodeMetrics`): Node metrics """ pass diff --git a/doc/data_mapping.rst b/doc/data_mapping.rst index dfd43a50c..e38a1cae7 100644 --- a/doc/data_mapping.rst +++ b/doc/data_mapping.rst @@ -69,7 +69,7 @@ For server 7.1 and higher, map keys can only be of type string, bytes, and integ :ref:`KeyOrderedDict ` is a special case. Like :class:`dict`, :class:`~aerospike.KeyOrderedDict` maps to the Aerospike map data type. \ However, the map will be sorted in key order before being sent to the server (see :ref:`aerospike_map_order`). -It is possible to nest these datatypes. For example a list may contain a dictionary, or a dictionary may contain a list +It is possible to nest these data types. For example a list may contain a dictionary, or a dictionary may contain a list as a value. .. _integer: https://aerospike.com/docs/server/guide/data-types/scalar-data-types#integer diff --git a/doc/spelling_wordlist.txt b/doc/spelling_wordlist.txt index 6a03b1afe..c54140847 100644 --- a/doc/spelling_wordlist.txt +++ b/doc/spelling_wordlist.txt @@ -3,6 +3,7 @@ lua namespace geospatial serialized +serializers Serializers deserialized Aerospike @@ -76,3 +77,12 @@ subtransactions socketTimeout ttl inlined +hashmaps +config +deserialize +async +retryable +backoff +msg +func +bcrypt