code: def generate_row(self, dt: datetime) -> dict[Any, Any]:
      gender = choice([BOY, GIRL])
      num = randint(1, 100000)
      return {
          DS: dt,
          GENDER: gender,
          NAME: self._names_generator.generate(),
          NUM: num,
          STATE: choice(US_STATES),
          NUM_BOYS: num if gender == BOY else 0,
          NUM_GIRLS: num if gender == GIRL else 0,
      }
  
file_path: superset/tests/example_data/data_generator/birth_names/birth_names_generator.py
imports: from __future__ import annotations
  from collections.abc import Iterable
  from datetime import datetime
  from random import choice, randint
  from typing import Any, TYPE_CHECKING
  from tests.consts.birth_names import BOY, DS, GENDER, GIRL, NAME, NUM, NUM_BOYS, NUM_GIRLS, STATE
  from tests.consts.us_states import US_STATES
  from tests.example_data.data_generator.base_generator import ExampleDataGenerator
label_desc: Use image node_id 4 for calling the BirthNamesGenerator obj's underlying member method code with example usage: obj.generate_row(dt) and returns: dict