Skip to content

Commit 9144489

Browse files
committed
wip
1 parent 27c22d0 commit 9144489

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

catalyst-python/src/catalyst_python/signed_doc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ def __create_metadata(
301301
template: DocumentRef | None = None,
302302
parameters: list[DocumentRef] | None = None,
303303
) -> dict[str, Any]:
304+
if doc_id is None and doc_ver is None:
305+
doc_id = uuid_v7()
306+
doc_ver = doc_id
304307
if doc_id is None:
305308
doc_id = uuid_v7()
306309
if doc_ver is None:

0 commit comments

Comments
 (0)