mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
27 lines
2.2 KiB
Python
27 lines
2.2 KiB
Python
# The following has been generated automatically from src/core/processing/qgsprocessingcontext.h
|
|
# monkey patching scoped based enum
|
|
QgsProcessingContext.ProcessArgumentFlag.IncludeProjectPath.__doc__ = "Include the associated project path argument"
|
|
QgsProcessingContext.ProcessArgumentFlag.__doc__ = """Flags controlling the results given by :py:func:`~QgsProcessingContext.asQgisProcessArguments`.
|
|
|
|
.. versionadded:: 3.24
|
|
|
|
* ``IncludeProjectPath``: Include the associated project path argument
|
|
|
|
"""
|
|
# --
|
|
try:
|
|
QgsProcessingContext.LayerDetails.__attribute_docs__ = {'name': "Friendly name for layer, possibly for use when loading layer into project.\n\n.. warning::\n\n Instead of directly using this value, prefer to call :py:func:`~LayerDetails.setOutputLayerName` to\n generate a layer name which respects the user's local Processing settings.", 'forceName': "Set to ``True`` if LayerDetails.name should always be used as the loaded layer name, regardless\nof the user's local Processing settings.\n\n.. versionadded:: 3.16", 'outputName': 'Associated output name from algorithm which generated the layer.', 'groupName': 'Optional name for a layer tree group under which to place the layer when loading it into a project.\n\n.. versionadded:: 3.32', 'layerSortKey': 'Optional sorting key for sorting output layers when loading them into a project.\n\nLayers with a greater sort key will be placed over layers with a lesser sort key.\n\n.. versionadded:: 3.32', 'layerTypeHint': 'Layer type hint.\n\n.. versionadded:: 3.4', 'project': 'Destination project'}
|
|
QgsProcessingContext.LayerDetails.__annotations__ = {'name': str, 'forceName': bool, 'outputName': str, 'groupName': str, 'layerSortKey': int, 'layerTypeHint': 'QgsProcessingUtils.LayerHint', 'project': 'QgsProject'}
|
|
QgsProcessingContext.LayerDetails.__group__ = ['processing']
|
|
except (NameError, AttributeError):
|
|
pass
|
|
try:
|
|
QgsProcessingLayerPostProcessorInterface.__abstract_methods__ = ['postProcessLayer']
|
|
QgsProcessingLayerPostProcessorInterface.__group__ = ['processing']
|
|
except (NameError, AttributeError):
|
|
pass
|
|
try:
|
|
QgsProcessingContext.__group__ = ['processing']
|
|
except (NameError, AttributeError):
|
|
pass
|