code: def randint(label: str, lower: int, upper: int) -> Categorical[int]:
      """Choosing a random integer between lower (inclusive) and upper (exclusive).
  
      Currently it is translated to a :func:`choice`.
      This behavior might change in future releases.
  
      Examples
      --------
      >>> nni.randint('x', 1, 5)
      Categorical([1, 2, 3, 4], label='x')
      """
      return RandomInteger(lower, upper, label=label)
  
imports: from __future__ import annotations
  from .annotation import MutableAnnotation
  from .mutable import LabeledMutable, MutableSymbol, Categorical, Numerical
label_desc: Use image node_id 1 for calling a global function with example usage: randint(label, lower, upper) and returns: RandomInteger