From 2f599c90f374c1670cf9e9fdf4cba7dd8e4e1c6b Mon Sep 17 00:00:00 2001 From: mavaylon1 Date: Fri, 8 Dec 2023 14:26:47 -0800 Subject: [PATCH] doc string --- src/hdmf/common/resources.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hdmf/common/resources.py b/src/hdmf/common/resources.py index e4ce2b9c6..dcf6d5f6a 100644 --- a/src/hdmf/common/resources.py +++ b/src/hdmf/common/resources.py @@ -484,6 +484,8 @@ def get_key(self, **kwargs): If container, relative_path, and field are provided, the Key that corresponds to the given name of the key for the given container, relative_path, and field is returned. + + If there are multipe matches, a list of all matching keys will be returned. """ key_name, container, relative_path, field = popargs('key_name', 'container', 'relative_path', 'field', kwargs) key_idx_matches = self.keys.which(key=key_name)