code: def _get_kaggle_type(competition_or_dataset: str) -> str:
      """Returns the kaggle type (competitions/datasets).
  
      Args:
        competition_or_dataset: Name of the kaggle competition/dataset.
  
      Returns:
        Kaggle type (competitions/datasets).
      """
      # Dataset are `user/dataset_name`
      return (
          "datasets"
          if "/" in competition_or_dataset
          else "competitions"
      )
  
file_path: datasets/tensorflow_datasets/core/download/kaggle.py
imports: import os
  import subprocess
  import textwrap
  from typing import List
  import zipfile
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.download import extractor
  from tensorflow_datasets.core.download import resource
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: _get_kaggle_type(competition_or_dataset) and returns: unknown