From f1e40b9b945469e78404b4d7c1410be61cf694a9 Mon Sep 17 00:00:00 2001 From: lukas leufen <l.leufen@fz-juelich.de> Date: Mon, 25 Nov 2019 12:52:06 +0100 Subject: [PATCH] minor design changed to fulfill pep8 --- src/datastore.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/datastore.py b/src/datastore.py index 348f2854..b357fd34 100644 --- a/src/datastore.py +++ b/src/datastore.py @@ -3,7 +3,6 @@ __date__ = '2019-11-22' from typing import Any, List, Tuple - from abc import ABC @@ -80,6 +79,13 @@ class AbstractDataStore(ABC): """ pass + def list_all_names(self) -> None: + """ + List all names available in the data store. + :return: all names + """ + pass + class DataStoreByVariable(AbstractDataStore): @@ -327,5 +333,3 @@ class DataStoreByScope(AbstractDataStore): if name not in names: names.append(name) return sorted(names) - - -- GitLab