def SetLabel(*labels):
  def Decorator(f):
    # If the method is not already tagged, we replace its label (the default
    # label is "small").
    function_labels = getattr(f, "labels", set())
    f.labels = function_labels.union(set(labels))

    return f

  return Decorator
Test the `import X as Y` syntax.
dataset/ETHPy150Open google/grr/grr/lib/test_lib.py/SetLabel--crossover with--dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_imports_aliases