Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keen/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def get_access_key(self, key):
"""
Returns details on a particular access key. A master key must be set first.

:param key: the 'key' value of the access key to retreive data from
:param key: the 'key' value of the access key to retrieve data from
"""
url = "{0}/{1}/projects/{2}/keys/{3}".format(self.base_url, self.api_version, self.project_id,
key)
Expand Down
2 changes: 1 addition & 1 deletion keen/saved_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def update(self, query_name, saved_query_attributes):
# for 'group_by', 'interval' or 'timezone', but those aren't accepted values when updating.
old_query = old_saved_query[query_attr_name] # expected

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