code: def takeuntil(iterable, limit: int):
      """
      Iterate over inner iterable until a count limit
  
      Parameters
      ----------
      iterable:
          The inner iterable
      limit:
          The limit
  
      Returns
      -------
  
      """
      count = 0
      for e in iterable:
          if count < limit:
              yield e
              count += 1
          else:
              break
  
file_path: argilla/src/argilla/server/helpers.py
imports: import logging
  from typing import Any, Dict, List, Optional
label_desc: Use image node_id 3 for calling a global function with example usage: takeuntil(iterable, limit) without return types