From 669051e381366720628ecc42c8fe3662f3408e33 Mon Sep 17 00:00:00 2001 From: Shyam Dwaraknath Date: Mon, 6 Apr 2020 15:38:28 -0700 Subject: [PATCH] docstrings fix --- src/maggma/stores/advanced_stores.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maggma/stores/advanced_stores.py b/src/maggma/stores/advanced_stores.py index e6efbf75f..75b22c73a 100644 --- a/src/maggma/stores/advanced_stores.py +++ b/src/maggma/stores/advanced_stores.py @@ -21,7 +21,7 @@ class MongograntStore(MongoStore): - """Initialize a Store with a mongogrant ":/." spec. + """Initialize a Store with a mongogrant "``:``/``." spec. Some class methods of MongoStore, e.g. from_db_file and from_collection, are not supported. @@ -38,7 +38,7 @@ def __init__( ): """ Args: - mongogrant_spec: of the form :/, where + mongogrant_spec: of the form ``:``/``, 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.