code: def _add_samples(dataset: fo.Dataset, lower: t.Dict, upper: t.Dict):
      one = _make_sample(
          "one.mp4",
          lower,
      )
      two = _make_sample(
          "two.mp4",
          upper,
      )
      dataset.add_samples([one, two])
      dataset.add_dynamic_sample_fields()
      dataset.add_dynamic_frame_fields()
      return set(lower.keys()) | set(upper.keys())
  
imports: from dataclasses import asdict
  from datetime import date, datetime
  import typing
  import unittest
  import strawberry
  from strawberry.schema.config import StrawberryConfig
  import fiftyone
  from fiftyone.server.constants import SCALAR_OVERRIDES
  from fiftyone.server.context import get_context
  from fiftyone.server.lightning import lightning_resolver, LightningInput, LightningPathInput
  from decorators import drop_async_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: _add_samples(dataset, lower, upper) and returns: unknown