We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d15bd8d commit 3f85b05Copy full SHA for 3f85b05
python/core/qgsoptionalexpression.sip
@@ -45,12 +45,13 @@ class QgsOptionalExpression
45
int operator== ( const QgsOptionalExpression &other ) const;
46
%MethodCode
47
sipRes = *sipCpp == *a0;
48
-%End %End
+%End
49
+
50
- int __bool__() const; + QgsOptionalExpression( const QgsExpression &expression, bool enabled );
51
-%MethodCode +%Docstring
52
- sipRes = sipCpp->enabled(); + Construct an optional expression with the provided expression and enabled state.
53
+ int __bool__() const;
+%MethodCode
+ sipRes = sipCpp->enabled();
54
55
56
/**
57
* Check if this optional is enabled
0 commit comments