class_docstr: Property Operator gets the property of an artifact Placeholder.
  
  Prefer to use .property(key) method of Artifact Placeholder.
class_docstr_tok: ["Property","Operator","gets","the","property","of","an","artifact","Placeholder",".","Prefer","to","use",".property","(","key",")","method","of","Artifact","Placeholder","."]
code: def encode(
      self,
      component_spec: Optional[Type["_types.ComponentSpec"]] = None,
  ) -> placeholder_pb2.PlaceholderExpression:
      result = placeholder_pb2.PlaceholderExpression()
      result.operator.artifact_property_op.expression.CopyFrom(
          self._value.encode(component_spec)
      )
      result.operator.artifact_property_op.key = self._key
      result.operator.artifact_property_op.is_custom_property = (
          self._is_custom_property
      )
      return result
  
imports: from __future__ import annotations
  from typing import Any, Optional, Type
  from tfx.dsl.placeholder import placeholder_base
  from tfx.proto.orchestration import placeholder_pb2
label_desc: Use image node_id 2 for calling the _PropertyOperator obj's underlying member method code with example usage: obj.encode(component_spec) and returns: result