forked from loafle/openapi-generator-original
* Changes python to python-prior * python -> python-prior, python-experimental->python * Renames sample spec directories * Samples regnerated * Regenerates docs * Fixes test * Samples regenerated * Updates renerators list * Fixes made to python paths in pom.xml * Fixes node4 sh file paths
9 lines
145 B
Python
9 lines
145 B
Python
# flake8: noqa
|
|
|
|
import random
|
|
|
|
|
|
def id_gen(bits=32):
|
|
""" Returns a n-bit randomly generated int """
|
|
return int(random.getrandbits(bits))
|