class_docstr: Managing a session that executes Sagemaker pipelines and jobs locally in a pipeline context.
  
  This class inherits from the LocalSession and PipelineSession classes.
  When running Sagemaker pipelines locally, this class is preferred over LocalSession.
class_docstr_tok: ["Managing","a","session","that","executes","Sagemaker","pipelines","and","jobs","locally","in","a","pipeline","context",".","This","class","inherits","from","the","LocalSession","and","PipelineSession","classes",".","When","running","Sagemaker","pipelines","locally",",","this","class","is","preferred","over","LocalSession","."]
docstr: Initialize a ``LocalPipelineSession``.
  
  Args:
      boto_session (boto3.session.Session): The underlying Boto3 session which AWS service
          calls are delegated to (default: None). If not provided, one is created with
          default AWS configuration chain.
      default_bucket (str): The default Amazon S3 bucket to be used by this session.
          This will be created the next time an Amazon S3 bucket is needed (by calling
          :func:`default_bucket`).
          If not provided, a default bucket will be created based on the following format:
          "sagemaker-{region}-{aws-account-id}".
          Example: "sagemaker-my-custom-bucket".
      s3_endpoint_url (str): Override the default endpoint URL for Amazon S3,
          if set (default: None).
      disable_local_code (bool): Set to True to override the default AWS configuration chain
          to disable the `local.local_code` setting, which may not be supported for some SDK
          features (default: False).
      default_bucket_prefix (str): The default prefix to use for S3 Object Keys. When
          objects are saved to the Session's default_bucket, the Object Key used will
          start with the default_bucket_prefix. If not provided here or within
          sagemaker_config, no additional prefix will be added.
docstr_tok: ["Initialize","a","``","LocalPipelineSession","``",".","Args",":","boto_session","(","boto3.session.Session",")",":","The","underlying","Boto3","session","which","AWS","service","calls","are","delegated","to","(","default",":","None",")",".","If","not","provided",",","one","is","created","with","default","AWS","configuration","chain",".","default_bucket","(","str",")",":","The","default","Amazon","S3","bucket","to","be","used","by","this","session",".","This","will","be","created","the","next","time","an","Amazon","S3","bucket","is","needed","(","by","calling",":","func",":","`","default_bucket","`",")",".","If","not","provided",",","a","default","bucket","will","be","created","based","on","the","following","format",":","``","sagemaker-","{","region","}","-","{","aws-account-id","}","''",".","Example",":","``","sagemaker-my-custom-bucket","''",".","s3_endpoint_url","(","str",")",":","Override","the","default","endpoint","URL","for","Amazon","S3",",","if","set","(","default",":","None",")",".","disable_local_code","(","bool",")",":","Set","to","True","to","override","the","default","AWS","configuration","chain","to","disable","the","`","local.local_code","`","setting",",","which","may","not","be","supported","for","some","SDK","features","(","default",":","False",")",".","default_bucket_prefix","(","str",")",":","The","default","prefix","to","use","for","S3","Object","Keys",".","When","objects","are","saved","to","the","Session","'s","default_bucket",",","the","Object","Key","used","will","start","with","the","default_bucket_prefix",".","If","not","provided","here","or","within","sagemaker_config",",","no","additional","prefix","will","be","added","."]
code: def __init__(
      self,
      boto_session=None,
      default_bucket=None,
      s3_endpoint_url=None,
      disable_local_code=False,
      default_bucket_prefix=None,
  ):
      """Initialize a ``LocalPipelineSession``.
  
      Args:
          boto_session (boto3.session.Session): The underlying Boto3 session which AWS service
              calls are delegated to (default: None). If not provided, one is created with
              default AWS configuration chain.
          default_bucket (str): The default Amazon S3 bucket to be used by this session.
              This will be created the next time an Amazon S3 bucket is needed (by calling
              :func:`default_bucket`).
              If not provided, a default bucket will be created based on the following format:
              "sagemaker-{region}-{aws-account-id}".
              Example: "sagemaker-my-custom-bucket".
          s3_endpoint_url (str): Override the default endpoint URL for Amazon S3,
              if set (default: None).
          disable_local_code (bool): Set to True to override the default AWS configuration chain
              to disable the `local.local_code` setting, which may not be supported for some SDK
              features (default: False).
          default_bucket_prefix (str): The default prefix to use for S3 Object Keys. When
              objects are saved to the Session's default_bucket, the Object Key used will
              start with the default_bucket_prefix. If not provided here or within
              sagemaker_config, no additional prefix will be added.
      """
  
      super().__init__(
          boto_session=boto_session,
          default_bucket=default_bucket,
          s3_endpoint_url=s3_endpoint_url,
          disable_local_code=disable_local_code,
          default_bucket_prefix=default_bucket_prefix,
      )
  
imports: from __future__ import absolute_import
  import warnings
  import inspect
  from functools import wraps
  from typing import Dict, Optional, Callable
  from sagemaker.session import Session, SessionSettings
  from sagemaker.local import LocalSession
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
label_desc: Use image node_id 1 to create a new LocalPipelineSession object from inherited base classes: LocalSession, PipelineSession with example: obj = LocalPipelineSession(boto_session, default_bucket, s3_endpoint_url, disable_local_code, default_bucket_prefix)