RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
config.py File Reference

Provides a helper classes for dealing with the tool configuration. More...

Classes

class  cli.config.CommonConfigurationParameters
 This class defines the minimal set of configuration parameters for an RTC Toolkit command line tool. More...
 
class  cli.config.ConfigSourceLocation
 Enumeration of possible locations from which the configuration parameter is being used. More...
 
class  cli.config.ConfigurationValue
 A data class that holds a configuration parameter value and additional associated metadata. More...
 
class  cli.config.ConfigurationManager
 This class is used to load configuration from the Persistent Configuration Repository, taking into account the Service Discovery and command line options parsed by the click module. More...
 

Namespaces

namespace  cli
 
namespace  cli.config
 

Functions

 cli.config.convert_to_log_level (level)
 Converts the level argument into a valid LogLevel enumeration or raises an error for invalid log level strings.
 
 cli.config.convert_to_uri (value)
 Converts the argument to a Uri object or raises an error for invalid values.
 
 cli.config._pickle_uri (obj)
 Return Uri constructor and arguments to the constructor to recreate a copy of 'obj'.
 
 cli.config._pickle_data_point_path (obj)
 Return DataPointPath constructor and arguments to the constructor to recreate a copy of 'obj'.
 

Detailed Description

Provides a helper classes for dealing with the tool configuration.