code: def test_array_repeat() -> None:
      assert (
          unquote(stringify({"in": ["foo", "bar"]})) == "in=foo&in=bar"
      )
      assert (
          unquote(stringify({"a": {"b": [True, False]}}))
          == "a[b]=true&a[b]=false"
      )
      assert (
          unquote(stringify({"a": {"b": [True, False, None, True]}}))
          == "a[b]=true&a[b]=false&a[b]=true"
      )
      assert (
          unquote(stringify({"in": ["foo", {"b": {"c": ["d", "e"]}}]}))
          == "in=foo&in[b][c]=d&in[b][c]=e"
      )
  
file_path: openai-python/tests/test_qs.py
imports: from typing import Any, cast
  from functools import partial
  from urllib.parse import unquote
  import pytest
  from openai._qs import Querystring, stringify
label_desc: Use image node_id 6 for calling a global function with example usage: test_array_repeat() without return types