Class: QgsEsriArcadeDictionaryElement¶
Represents a key-value entry in an Esri Arcade dictionary literal.
Eg the a: 5 part of the {a: 5, b: 6} dictionary literal.
Added in version 4.4.
List of all members, including inherited members
Constructor
Methods
Creates a deep copy of the element. |
|
Formats the element as string. |
|
Returns |
|
Returns the entry key. |
|
Returns the entry value expression. |
- class qgis.core.QgsEsriArcadeDictionaryElement[source]¶
Bases:
object- __init__(key: str | None, value: QgsEsriArcadeExpression | None, isAutoKey: bool = False)¶
Constructor for QgsEsriArcadeDictionaryElement.
Ownership of
valueis transferred to this element.- Parameters:
key (str|None)
value (QgsEsriArcadeExpression|None)
isAutoKey (bool = False)
- clone(self) QgsEsriArcadeDictionaryElement | None¶
Creates a deep copy of the element.
Caller takes ownership of the returned object.
- Return type:
- isAutoKey(self) bool[source]¶
Returns
Trueif the entry was defined using auto-keys.- Return type:
bool
- value(self) QgsEsriArcadeExpression | None[source]¶
Returns the entry value expression.
- Return type: