Fix auto_generated_guids file (#2757)

* Update guid.py

* Update used_guids.txt
This commit is contained in:
Hare Sudhan
2024-04-25 12:29:51 -05:00
committed by GitHub
parent dd4372d5cd
commit e7e1e8acff
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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)
+2 -1
View File
@@ -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