exa.core.provider.provider.init_station_control_runtime#
- init_station_control_runtime(station_control_url, *, experiment_configuration_path='__FROM STATION CONTROL__', username='', token=None, tokens_file=None, client_signature=None)#
Initialize the global ExaRuntime using Station Control backend and Experiment Configuration.
- Parameters:
station_control_url (str) – URL for accessing the Station Control backend. Has to start with http or https.
experiment_configuration_path (str | None) – If not given, will fetch the recommended configuration from the server. If None, an empty configuration is returned, which is useful only for loading old data. If path is a string, it must be a relative path to a configuration YAML file, which should have a top-level ‘experiment’ key.
username (str) – Overrides
userin the configuration. Ifuseris not set in the loaded configuration, giving the username here is mandatory.token (str | None) – Long-lived authentication token in plain text format. If
tokenis given no other user authentication parameters should be given.tokens_file (str | None) – Path to a tokens file used for authentication. If
tokens_fileis given no other user authentication parameters should be given.client_signature (str | None) – String that the client adds to User-Agent header of requests it sends to the server.
- Return type:
None