salvus.flow.sites
Remote job execution for Salvus jobs.
Functions
get_site()
get_site()def get_site(
site_name: str,
config: Dict,
verbosity: int = 1,
skip_version_number_check: bool = False,
) -> salvus.flow.sites.base_site.BaseSite:
...Central function to get an instance of a Site object. Always use this function!
The created objects are cached, so subsequent calls are fast.
Parameters
site_namestr — Name of the site.configDict — Site configuration.verbosityint — Verbosity level.skip_version_number_checkbool — Skip the version number check of the local Python version vs the remote site. Useful for initializing and updating sites.
Returns salvus.flow.sites.base_site.BaseSite