original_docstring: Returns the binary this target references.
docstring: Returns the binary this target references.
docstring_tokens: Returns the binary this target references .
code: def binary(self):
          """Returns the binary this target references."""
          dependencies = self.dependencies
          if len(dependencies) != 1:
              raise TargetDefinitionException(
                  self,
                  "An app must define exactly one binary "
                  "dependency, have: {}".format(dependencies),
              )
          binary = dependencies[0]
          if not isinstance(binary, self.binary_target_type()):
              raise TargetDefinitionException(
                  self,
                  "Expected binary dependency to be a {} "
                  "target, found {}".format(self.binary_target_type(), binary),
              )
          return binary
code_tokens: def binary ( self ) : dependencies = self . dependencies if len ( dependencies ) != 1 : raise TargetDefinitionException ( self , "An app must define exactly one binary " "dependency, have: {}" . format ( dependencies ) , ) binary = dependencies [ 0 ] if not isinstance ( binary , self . binary_target_type ( ) ) : raise TargetDefinitionException ( self , "Expected binary dependency to be a {} " "target, found {}" . format ( self . binary_target_type ( ) , binary ) , ) return binary
short_docstring: Returns the binary this target references.
short_docstring_tokens: Returns the binary this target references .
comment: """Returns the binary this target references."""