code: def test_sensor_with_pk_and_sk(self):
      hook = DynamoDBHook(
          table_name=self.table_name,
          table_keys=[self.pk_name, self.sk_name],
      )
  
      hook.conn.create_table(
          TableName=self.table_name,
          KeySchema=[
              {"AttributeName": self.pk_name, "KeyType": "HASH"},
              {"AttributeName": self.sk_name, "KeyType": "RANGE"},
          ],
          AttributeDefinitions=[
              {"AttributeName": self.pk_name, "AttributeType": "S"},
              {"AttributeName": self.sk_name, "AttributeType": "S"},
          ],
          ProvisionedThroughput={
              "ReadCapacityUnits": 10,
              "WriteCapacityUnits": 10,
          },
      )
  
      assert not self.sensor.poke(None)
  
      items = [
          {
              self.pk_name: self.pk_value,
              self.sk_name: self.sk_value,
              self.attribute_name: self.attribute_value[1],
          }
      ]
      hook.write_batch_data(items)
  
      assert self.sensor.poke(None)
  
file_path: airflow/tests/providers/amazon/aws/sensors/test_dynamodb.py
imports: from __future__ import annotations
  import pytest
  from moto import mock_dynamodb
  from airflow.providers.amazon.aws.hooks.dynamodb import DynamoDBHook
  from airflow.providers.amazon.aws.sensors.dynamodb import DynamoDBValueSensor
label_desc: Use image node_id 4 for calling the TestDynamoDBMultipleValuesSensor obj's underlying member method code with example usage: obj.test_sensor_with_pk_and_sk() without return types