class_docstr: Class to handler the FeatureProcessor Lineage Associations
class_docstr_tok: ["Class","to","handler","the","FeatureProcessor","Lineage","Associations"]
docstr: Add the FeatureProcessor Upstream Schedule Lineage Associations.
  
  Arguments:
      schedule_artifact (Artifact): The schedule Artifact.
      pipeline_version_context_arn (str): The pipeline version context arn.
      sagemaker_session (Session): Session object which manages interactions
          with Amazon SageMaker APIs and any other AWS services needed. If not specified, the
          function creates one using the default AWS configuration chain.
docstr_tok: ["Add","the","FeatureProcessor","Upstream","Schedule","Lineage","Associations",".","Arguments",":","schedule_artifact","(","Artifact",")",":","The","schedule","Artifact",".","pipeline_version_context_arn","(","str",")",":","The","pipeline","version","context","arn",".","sagemaker_session","(","Session",")",":","Session","object","which","manages","interactions","with","Amazon","SageMaker","APIs","and","any","other","AWS","services","needed",".","If","not","specified",",","the","function","creates","one","using","the","default","AWS","configuration","chain","."]
code: def add_upstream_schedule_associations(
      schedule_artifact: Artifact,
      pipeline_version_context_arn: str,
      sagemaker_session: Session,
  ) -> None:
      """Add the FeatureProcessor Upstream Schedule Lineage Associations.
  
      Arguments:
          schedule_artifact (Artifact): The schedule Artifact.
          pipeline_version_context_arn (str): The pipeline version context arn.
          sagemaker_session (Session): Session object which manages interactions
              with Amazon SageMaker APIs and any other AWS services needed. If not specified, the
              function creates one using the default AWS configuration chain.
      """
      LineageAssociationHandler._add_association(
          source_arn=schedule_artifact.artifact_arn,
          destination_arn=pipeline_version_context_arn,
          association_type=CONTRIBUTED_TO,
          sagemaker_session=sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  import logging
  from typing import List, Optional, Iterator
  from botocore.exceptions import ClientError
  from sagemaker import Session
  from sagemaker.feature_store.feature_processor.lineage._feature_group_contexts import FeatureGroupContexts
  from sagemaker.feature_store.feature_processor._constants import VALIDATION_EXCEPTION
  from sagemaker.feature_store.feature_processor.lineage.constants import CONTRIBUTED_TO, ERROR, CODE, SAGEMAKER, ASSOCIATED_WITH
  from sagemaker.lineage.artifact import Artifact
  from sagemaker.lineage.association import Association, AssociationSummary
label_desc: Use image node_id 4 for calling the LineageAssociationHandler obj's underlying member method code with example usage: obj.add_upstream_schedule_associations(schedule_artifact, pipeline_version_context_arn, sagemaker_session) without return types