mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
* fix: creating ssl context and passing args/files/forms * feat: python-async add tests * chore: rebuild petstore sample for python, tornado and asyncio * feat: add python asyncio to travis * feat: print coverage (python-asyncio)
12 lines
148 B
Python
12 lines
148 B
Python
# flake8: noqa
|
|
|
|
import random
|
|
|
|
|
|
def id_gen(bits=32):
|
|
""" Returns a n-bit randomly generated int """
|
|
return int(random.getrandbits(bits))
|
|
|
|
|
|
|