ReportConfig¶
-
class
nbreport.repo.ReportConfig(path, data=None)¶ Bases:
objectConfiguration for a report repository or instance (the
nbreport.yamlfile).Parameters: - path :
pathlib.Pathorstr Path to the
nbreport.yamlconfiguration file.- data :
dict, optional Initial data to insert into the configuration.
Methods
items()Iterate over key-value pairs in the configuration file. keys()Get the sequence of keys at the top-level of the configuration file. update(configs)Update a configuration with the given key-value pairs. Methods Summary
items()Iterate over key-value pairs in the configuration file. keys()Get the sequence of keys at the top-level of the configuration file. update(configs)Update a configuration with the given key-value pairs. Methods Documentation
-
items()¶ Iterate over key-value pairs in the configuration file.
Yields: - key :
str Key.
- value : obj
Value
- key :
-
keys()¶ Get the sequence of keys at the top-level of the configuration file.
Returns: - sequence of `str`
Sequence of keys.
- path :