vantage6.cli.context.get_context#

get_context(type_, name, system_folders)#

Load the server context from the configuration file.

Parameters:
  • type (InstanceType) – The type of instance to get the context for

  • name (str) – Name of the instance

  • system_folders (bool) – Wether to use system folders or if False, the user folders

Returns:

Specialized subclass context of AppContext for the given instance type

Return type:

AppContext