Skip to content
Snippets Groups Projects
Commit efd6ad0b authored by florian's avatar florian
Browse files

Merge branch 'dev' into f-doc

parents cbb0637e 27dda64a
No related branches found
No related tags found
2 merge requests!53Release 0.1,!42F doc
Pipeline #28821 failed
......@@ -36,7 +36,7 @@ from .structure_elements import (StructureElement, Directory, File, Dict, JSONFi
DictFloatElement, DictDictElement,
TextElement, DictTextElement, DictElement, DictListElement)
from typing import Dict as Dict_t, List, Optional, Tuple, Union
from abc import abstractmethod
from abc import ABCMeta, abstractmethod
from string import Template
import yaml_header_tools
......@@ -255,7 +255,7 @@ def create_records(values: GeneralStore,
return keys_modified
class Converter(object):
class Converter(object, metaclass=ABCMeta):
"""
Converters treat StructureElements contained in the hierarchical sturcture.
"""
......
......@@ -1117,6 +1117,7 @@ def parse_args():
help="The subtree of files below the given path will "
"be considered. Use '/' for everything.")
parser.add_argument("-s", "--security-mode", choices=["retrieve", "insert", "update"],
default="retrieve",
help="Determines whether entities may only be read from the server, or "
"whether inserts or even updates may be done.")
parser.add_argument("-n", "--dry-run", action="store_true",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment