code: def test_init_required_positional(sagemaker_session):
      object2vec = Object2Vec(
          ROLE,
          INSTANCE_COUNT,
          INSTANCE_TYPE,
          EPOCHS,
          ENC0_MAX_SEQ_LEN,
          ENC0_VOCAB_SIZE,
          sagemaker_session=sagemaker_session,
      )
      assert object2vec.role == ROLE
      assert object2vec.instance_count == INSTANCE_COUNT
      assert object2vec.instance_type == INSTANCE_TYPE
      assert object2vec.epochs == EPOCHS
      assert object2vec.enc0_max_seq_len == ENC0_MAX_SEQ_LEN
      assert object2vec.enc0_vocab_size == ENC0_VOCAB_SIZE
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch
  from sagemaker import image_uris
  from sagemaker.amazon.object2vec import Object2Vec
  from sagemaker.predictor import Predictor
  from sagemaker.amazon.amazon_estimator import RecordSet
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 2 for calling a global function with example usage: test_init_required_positional(sagemaker_session) without return types