qgis_deployment_toolbelt.jobs.job_environment_variables module¶
Tools to manage the environment setup (variables, etc.)
Author: Julien Moura (https://github.com/guts)
- class qgis_deployment_toolbelt.jobs.job_environment_variables.JobEnvironmentVariables(options: list[dict])¶
Bases:
GenericJob
Class to manage the environment variables of QGIS installation.
- OPTIONS_SCHEMA: dict = {'action': {'condition': 'in', 'default': 'add', 'possible_values': ('add', 'remove'), 'required': False, 'type': <class 'str'>}, 'name': {'condition': None, 'default': None, 'possible_values': None, 'required': True, 'type': <class 'str'>}, 'scope': {'condition': 'in', 'default': 'user', 'possible_values': ('system', 'user'), 'required': False, 'type': <class 'str'>}, 'value': {'condition': None, 'default': None, 'possible_values': None, 'required': False, 'type': (<class 'bool'>, <class 'int'>, <class 'str'>, <class 'list'>)}, 'value_type': {'condition': 'in', 'default': 'str', 'possible_values': ('bool', 'path', 'str', 'url'), 'required': False, 'type': <class 'str'>}}¶
- __init__(options: list[dict]) None ¶
Instantiate the class. :param options: list of dictionary with environment variables to set :type options: List[dict] :param or remove.: