yr.Config.__init__

yr.Config.__init__#

Config.__init__(function_id: str = '', cpp_function_id: str = '', server_address: str = '', ds_address: str = '', is_driver: bool = True, log_level: str | int = 'WARNING', invoke_timeout: int = 900, local_mode: bool = False, code_dir: str = '', connection_nums: int = 100, recycle_time: int = 2, job_id: str = '', tls_config: ~yr.config.UserTLSConfig | None = None, auto: bool = False, deployment_config: ~yr.config.DeploymentConfig | None = None, rt_server_address: str = '', log_dir: str = './', log_file_size_max: int = 0, log_file_num_max: int = 0, log_flush_interval: int = 5, runtime_id: str = 'driver', max_task_instance_num: int = -1, load_paths: list = <factory>, rpc_timeout: int = 1800, enable_mtls: bool = False, private_key_path: str = '', certificate_file_path: str = '', verify_file_path: str = '', server_name: str = '', ns: str = '', enable_metrics: bool = False, custom_envs: ~typing.Dict[str, str] = <factory>, master_addr_list: list = <factory>, working_dir: str = '', enable_ds_encrypt: bool = False, ds_public_key_path: str = '', runtime_public_key_path: str = '', runtime_private_key_path: str = '') None#