Skip to content

Commit 9ddf181

Browse files
authored
Shorter automatic uids (#157)
1 parent 43db278 commit 9ddf181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/higlass/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747

4848
def uid() -> str:
49-
return str(uuid.uuid4())
49+
return str(uuid.uuid4()).split("-")[0]
5050

5151

5252
T = TypeVar("T")

0 commit comments

Comments
 (0)