lib.sedna.common.config

Module Contents

Classes

BaseConfig

The base config

Context

The Context provides the capability of obtaining the context

class lib.sedna.common.config.BaseConfig[source]

Bases: ConfigSerializable

The base config

device_category[source]
backend_type[source]
lc_server[source]
original_dataset_url[source]
train_dataset_url[source]
test_dataset_url[source]
data_path_prefix[source]
namespace[source]
worker_name[source]
service_name[source]
job_name[source]
pretrained_model_url[source]
model_url[source]
model_name[source]
log_level[source]
transmitter[source]
agg_data_path[source]
s3_endpoint_url[source]
access_key_id[source]
secret_access_key[source]
parameters[source]
class lib.sedna.common.config.Context[source]

The Context provides the capability of obtaining the context

parameters[source]
classmethod get_parameters(param, default=None)[source]

get the value of the key param in PARAMETERS, if not exist, the default value is returned

classmethod get_algorithm_from_api(algorithm, **param) dict[source]

get the algorithm and parameter from api