mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 15:07:07 +00:00
python code style enhancement (#4238)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import random
|
||||
|
||||
|
||||
def id_gen(bits=32):
|
||||
""" Returns a n-bit randomly generated int """
|
||||
return int(random.getrandbits(bits))
|
||||
|
||||
Reference in New Issue
Block a user