qgis_deployment_toolbelt.jobs.job_default_profile_setter module

Set the default profile in profiles.ini file.

Author: Nicolas Godet (https://github.com/nicogodet)

class qgis_deployment_toolbelt.jobs.job_default_profile_setter.JobDefaultProfileSetter(options: dict)

Bases: GenericJob

Job to set the default profile in profile.ini file.

ID: str = 'default-profile-setter'
OPTIONS_SCHEMA: dict = {'force_profile_selection_policy': {'condition': None, 'default': False, 'possible_values': None, 'required': False, 'type': <class 'bool'>}, 'profile': {'condition': None, 'default': None, 'possible_values': None, 'required': True, 'type': <class 'str'>}}
__init__(options: dict) None

Instantiate the class.

Parameters:
  • options (List[dict]) – list of dictionary with environment variables to set

  • remove. (or)

run() None

Execute job logic.