sagemaker.core.remote_function.core.stored_function#
SageMaker job function serializer/deserializer.
Classes
|
Class representing a remote function stored in S3. |
- class sagemaker.core.remote_function.core.stored_function.StoredFunction(sagemaker_session: Session, s3_base_uri: str, s3_kms_key: str | None = None, context: Context = Context(step_name=None, execution_id=None, property_references={}, serialize_output_to_json=False, func_step_s3_dir=None))[source]#
Bases:
objectClass representing a remote function stored in S3.
- load_and_invoke() Any[source]#
Load and deserialize the function and the arguments and then execute it.