The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.core.condition
flytekit.models.core.condition
class BooleanExpression (
conjunction ,
comparison ,
)
Defines a boolean expression tree. It can be a simple or a conjunction expression.
Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result.
Parameter
Type
Description
conjunction
comparison
Property
Type
Description
comparison
None
Comparison expression or None if not set. :rtype: ComparisonExpression
conjunction
None
Conjunction expression or None if not set. :rtype: ConjunctionExpression
is_empty
None
def from_flyte_idl (
pb2_object ,
)
Parameter
Type
Description
pb2_object
def serialize_to_string ()
:rtype: Text
:rtype: flyteidl.core.condition_pb2.BooleanExpression
class ComparisonExpression (
operator ,
left_value ,
right_value ,
)
Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.
Each expression results in a boolean result.
Parameter
Type
Description
operator
left_value
right_value
Property
Type
Description
is_empty
None
left_value
None
Gets the left value for the comparison expression. :rtype: Operand
operator
None
Gets the operator representing this comparison expression. :rtype: ComparisonExpression.Operator
right_value
None
Gets the right value for the comparison expression. :rtype: Operand
def from_flyte_idl (
pb2_object ,
)
Parameter
Type
Description
pb2_object
def serialize_to_string ()
:rtype: Text
:rtype: flyteidl.core.condition_pb2.ComparisonExpression
class ConjunctionExpression (
operator ,
left_expression ,
right_expression ,
)
Defines a conjunction expression of two boolean expressions.
Parameter
Type
Description
operator
left_expression
right_expression
Property
Type
Description
is_empty
None
left_expression
None
Gets the left value for the conjunction expression. :rtype: Operand
operator
None
Gets the operator representing this conjunction expression. :rtype: ConjunctionExpression.LogicalOperator
right_expression
None
Gets the right value for the conjunction expression. :rtype: Operand
def from_flyte_idl (
pb2_object ,
)
Parameter
Type
Description
pb2_object
def serialize_to_string ()
:rtype: Text
:rtype: flyteidl.core.condition_pb2.ConjunctionExpression
class Operand (
primitive ,
var ,
scalar ,
)
Defines an operand to a comparison expression.
Parameter
Type
Description
primitive
var
scalar
Property
Type
Description
is_empty
None
primitive
None
:rtype: flytekit.models.literals.Primitive
scalar
None
:rtype: flytekit.models.literals.Scalar
var
None
:rtype: Text
def from_flyte_idl (
pb2_object ,
)
Parameter
Type
Description
pb2_object
def serialize_to_string ()
:rtype: Text
:rtype: flyteidl.core.condition_pb2.Operand