Skip to content

Commit 4a01412

Browse files
committed
docs: Fix a few typos
There are small typos in: - keen/api.py - keen/saved_queries.py Fixes: - Should read `retrieve` rather than `retreive`. - Should read `hierarchy` rather than `heirarchy`.
1 parent 0cd9421 commit 4a01412

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

keen/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def get_access_key(self, key):
300300
"""
301301
Returns details on a particular access key. A master key must be set first.
302302
303-
:param key: the 'key' value of the access key to retreive data from
303+
:param key: the 'key' value of the access key to retrieve data from
304304
"""
305305
url = "{0}/{1}/projects/{2}/keys/{3}".format(self.base_url, self.api_version, self.project_id,
306306
key)

keen/saved_queries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def update(self, query_name, saved_query_attributes):
128128
# for 'group_by', 'interval' or 'timezone', but those aren't accepted values when updating.
129129
old_query = old_saved_query[query_attr_name] # expected
130130

131-
# Shallow copy since we want the entire object heirarchy to start with.
131+
# Shallow copy since we want the entire object hierarchy to start with.
132132
for (key, value) in six.iteritems(old_query):
133133
if value:
134134
new_saved_query[query_attr_name][key] = value

0 commit comments

Comments
 (0)