Fix auto_generated_guids file (#2757)
* Update guid.py * Update used_guids.txt
This commit is contained in:
@@ -14,7 +14,7 @@ def get_unique_guid(guids: List[str]):
|
||||
guid = str(uuid.uuid4())
|
||||
if guid not in guids:
|
||||
with open(used_guids_file, "a") as f: # append mode
|
||||
f.write(guid)
|
||||
f.write(f"{guid}\n")
|
||||
return guid
|
||||
else:
|
||||
return get_unique_guid(guids)
|
||||
|
||||
@@ -1593,4 +1593,5 @@ f3ad3c5b-1db1-45c1-81bf-d3370ebab6c8
|
||||
ed952f70-91d4-445a-b7ff-30966bfb1aff
|
||||
5bcefe5f-3f30-4f1c-a61a-8d7db3f4450c
|
||||
36657d95-d9d6-4fbf-8a31-f4085607bafd
|
||||
d1fa2a69-b0a2-4e8a-9112-529b00c19a4158bd8c8d-3a1a-4467-a69c-439c75469b07
|
||||
d1fa2a69-b0a2-4e8a-9112-529b00c19a41
|
||||
58bd8c8d-3a1a-4467-a69c-439c75469b07
|
||||
|
||||
Reference in New Issue
Block a user