ServerFactory#

class ansys.dpf.core.server_factory.ServerFactory#

Factory for server type choice depending on current configuration.

Overview#

get_server_type_from_config

Return server type determined from the server configuration.

get_remote_server_type_from_config

Return remote server type determined from the server configuration.

Import detail#

from ansys.dpf.core.server_factory import ServerFactory

Method detail#

static ServerFactory.get_server_type_from_config(config: ServerConfig = None, ansys_path: str = None, docker_config: DockerConfig = None)#

Return server type determined from the server configuration.

static ServerFactory.get_remote_server_type_from_config(config: ServerConfig = None)#

Return remote server type determined from the server configuration.