code: def assert_partial_and_num_rows_and_num_bytes_fields(
      dataset: str, kind: str
  ) -> None:
      db = get_db(CACHE_MONGOENGINE_ALIAS)
      entry = db[CACHE_COLLECTION_RESPONSES].find_one(
          {"dataset": dataset, "kind": kind}
      )
      assert entry is not None
      assert entry["content"]["partial"] is None
      assert entry["content"]["num_rows"] is None
      assert entry["content"]["num_bytes"] is None
  
imports: from typing import Any
  from libcommon.constants import CACHE_COLLECTION_RESPONSES, CACHE_MONGOENGINE_ALIAS
  from libcommon.resources import MongoResource
  from mongoengine.connection import get_db
  from mongodb_migration.migrations._20231106193200_cache_add_partial_field_in_split_duckdb_index import MigrationAddPartialToSplitDuckdbIndexCacheResponse
label_desc: Use image node_id 1 for calling a global function with example usage: assert_partial_and_num_rows_and_num_bytes_fields(dataset, kind) without return types