code: def test_create(client):
      assert client.ts().create(1)
      assert client.ts().create(2, retention_msecs=5)
      assert client.ts().create(3, labels={"Redis": "Labs"})
      assert client.ts().create(
          4, retention_msecs=20, labels={"Time": "Series"}
      )
      info = client.ts().info(4)
      assert_resp_response(
          client,
          20,
          info.get("retention_msecs"),
          info.get("retentionTime"),
      )
      assert "Series" == info["labels"]["Time"]
  
      # Test for a chunk size of 128 Bytes
      assert client.ts().create("time-serie-1", chunk_size=128)
      info = client.ts().info("time-serie-1")
      assert_resp_response(
          client, 128, info.get("chunk_size"), info.get("chunkSize")
      )
  
imports: import math
  import time
  from time import sleep
  import pytest
  import redis
  from .conftest import assert_resp_response, is_resp2_connection, skip_ifmodversion_lt
label_desc: Use image node_id 2 for calling a global function with example usage: test_create(client) without return types