code: def test_nested_dict():
      notation_type = TypedDictType(
          {
              "a": float,
              "b": bool,
              "c": str,
              "d": UnknownType(),
              "e": {},
              "f": [],
              "g": [
                  [
                      {
                          "a": float,
                          "b": bool,
                          "c": str,
                          "d": UnknownType(),
                          "e": {},
                          "f": [],
                          "g": [[]],
                      }
                  ]
              ],
          }
      )
      expanded_type = TypedDictType(
          {
              "a": NumberType(),
              "b": BooleanType(),
              "c": StringType(),
              "d": UnknownType(),
              "e": TypedDictType({}),
              "f": ListType(),
              "g": ListType(
                  ListType(
                      TypedDictType(
                          {
                              "a": NumberType(),
                              "b": BooleanType(),
                              "c": StringType(),
                              "d": UnknownType(),
                              "e": TypedDictType({}),
                              "f": ListType(),
                              "g": ListType(ListType()),
                          }
                      )
                  )
              ),
          }
      )
  
      example = {
          "a": 1,
          "b": True,
          "c": "StringType()",
          "d": "hi",
          "e": {},
          "f": [1],
          "g": [
              [
                  {
                      "a": 2,
                      "b": False,
                      "c": "StringType()",
                      "d": 3,
                      "e": {},
                      "f": [],
                      "g": [[5]],
                  }
              ]
          ],
      }
      real_type = TypedDictType.from_obj(example)
  
      assert notation_type == expanded_type
      assert notation_type.assign(example) == real_type
  
imports: import datetime
  import numpy
  import pytest
  import wandb
  from wandb import data_types
  from wandb.sdk.data_types._dtypes import AnyType, BooleanType, ConstType, InvalidType, ListType, NoneType, NumberType, OptionalType, StringType, TimestampType, TypedDictType, TypeRegistry, UnionType, UnknownType
label_desc: Use image node_id 15 for calling a global function with example usage: test_nested_dict() without return types