mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 21:20:56 +00:00
* python->python-legacy, python-experimental->python * test with openjdk8 * test with openjdk11 * comment out rm * move kotlin tests to circleci * move kotlin tests * move tests to circleci * fix circleci * rearrange test * move tests * use wrapper Co-authored-by: Justin Black <justin.a.black@gmail.com>
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))
|