Skip to content

Commit

Permalink
fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Oct 9, 2024
1 parent 282f7a9 commit 3830ad4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions aerospike_helpers/expressions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -312,7 +312,7 @@ def __init__(self, bin: str):
"""Args:
bin (str): Bin name.
:return: (geojson bin)
:return: (GeoJSON bin)
Example::
Expand Down
2 changes: 1 addition & 1 deletion aerospike_helpers/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/data_mapping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ For server 7.1 and higher, map keys can only be of type string, bytes, and integ
:ref:`KeyOrderedDict <aerospike.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
Expand Down
10 changes: 10 additions & 0 deletions doc/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ lua
namespace
geospatial
serialized
serializers
Serializers
deserialized
Aerospike
Expand Down Expand Up @@ -76,3 +77,12 @@ subtransactions
socketTimeout
ttl
inlined
hashmaps
config
deserialize
async
retryable
backoff
msg
func
bcrypt

0 comments on commit 3830ad4

Please sign in to comment.