Class: QgsProcessingParameterLimitedDataTypes¶
Can be inherited by parameters which require limits to their acceptable data types.
Class Hierarchy¶
Subclasses¶
An input feature source (such as vector layers) parameter for processing algorithms.  | 
|
A map layer parameter for processing algorithms.  | 
|
A vector layer (with or without geometry) parameter for processing algorithms. Consider using the more versatile   | 
Methods
Returns the geometry types for sources acceptable by the parameter.  | 
|
Sets the geometry types for sources acceptable by the parameter.  | 
- class qgis.core.QgsProcessingParameterLimitedDataTypes[source]¶
 Bases:
object- __init__(types: Iterable[int] = [])
 Constructor for QgsProcessingParameterLimitedDataTypes, with a list of acceptable data
types.- Parameters:
 types (Iterable[int] = [])
- __init__(a0: QgsProcessingParameterLimitedDataTypes)
 - Parameters:
 
- dataTypes(self) List[int]¶
 Returns the geometry types for sources acceptable by the parameter.
See also
- Return type:
 List[int]