class tests(ConfigSection): # List of pyfilesystem URLs holding intial data fixtures_paths = ListParameter(item=StringParameter(), default=["tests/data"]) # List of pyfilesystem URLs holding event classification samples events_paths = ListParameter(item=StringParameter()) # List of pyfilesystem URLs holding beef test cases beef_paths = ListParameter(item=StringParameter())
class metrics(ConfigSection): default_hist = ListParameter( item=FloatParameter(), default=[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] ) enable_mongo_hist = BooleanParameter(default=False) mongo_hist = ListParameter( item=FloatParameter(), default=[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] ) enable_postgres_hist = BooleanParameter(default=False) postgres_hist = ListParameter( item=FloatParameter(), default=[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] ) default_quantiles = ListParameter(item=FloatParameter(), default=[0.5, 0.9, 0.95]) default_quantiles_epsilon = 0.01 default_quantiles_window = 60 default_quantiles_buffer = 100 enable_mongo_quantiles = BooleanParameter(default=False) enable_postgres_quantiles = BooleanParameter(default=False)
class Config(BaseConfig): str_list = ListParameter(item=StringParameter()) default_str_list = ListParameter(item=StringParameter(), default=[1, "2"]) bool_list = ListParameter(item=BooleanParameter())