

@factory.LazyAttribute
def tags(stub):
    num = (stub.num_tags if (n.num_tags is not None) else random.randint(1, 11))
    return ['tag_{n}'.format(n=n) for n in range(1, (num + 1))]

dataset/ETHPy150Open hypothesis/h/h/test/factories.py Annotation.tags/VarMisuse@23/26 `stub`->`n`