class_docstr: `ModelStep` for SageMaker Pipelines Workflows.
class_docstr_tok: ["`","ModelStep","`","for","SageMaker","Pipelines","Workflows","."]
docstr: Create and append a `_RegisterModelStep`
docstr_tok: ["Create","and","append","a","`","_RegisterModelStep","`"]
code: def _append_register_model_step(self):
      """Create and append a `_RegisterModelStep`"""
      register_model_step = _RegisterModelStep(
          name="{}-{}".format(self.name, _REGISTER_MODEL_NAME_BASE),
          step_args=self._register_model_args,
          display_name=self.display_name,
          retry_policies=self._register_model_retry_policies,
          description=self.description,
      )
      if not self._need_runtime_repack:
          register_model_step.add_depends_on(self.depends_on)
      self.steps.append(register_model_step)
  
file_path: sagemaker-python-sdk/src/sagemaker/workflow/model_step.py
imports: from __future__ import absolute_import
  import logging
  from typing import Union, List, Dict, Optional
  from sagemaker import Model, PipelineModel, Session
  from sagemaker.workflow._utils import _RegisterModelStep, _RepackModelStep
  from sagemaker.workflow.pipeline_context import PipelineSession, _ModelStepArguments
  from sagemaker.workflow.retry import RetryPolicy, SageMakerJobStepRetryPolicy
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.steps import Step, CreateModelStep
label_desc: Use image node_id 4 for calling the ModelStep obj's underlying member method code with example usage: obj._append_register_model_step() without return types