Skip to content

Commit

Permalink
docstrings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Apr 6, 2020
1 parent 76f2854 commit 669051e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maggma/stores/advanced_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class MongograntStore(MongoStore):
"""Initialize a Store with a mongogrant "<role>:<host>/<db>." spec.
"""Initialize a Store with a mongogrant "`<role>`:`<host>`/`<db>`." spec.
Some class methods of MongoStore, e.g. from_db_file and from_collection,
are not supported.
Expand All @@ -38,7 +38,7 @@ def __init__(
):
"""
Args:
mongogrant_spec: of the form <role>:<host>/<db>, where
mongogrant_spec: of the form `<role>`:`<host>`/`<db>`, where
role is one of {"read", "readWrite"} or aliases {"ro", "rw"};
host is a db host (w/ optional port) or alias; and db is a db
on that host, or alias. See mongogrant documentation.
Expand Down

0 comments on commit 669051e

Please sign in to comment.