Skip to content

Commit 2c41dd9

Browse files
authored
fix(typegen): python type missing uuid import (#1027)
* fix(typegen): python type missing uuid import * chore(tests): update python generator test
1 parent 803a77c commit 2c41dd9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/server/templates/python.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const apply = ({
3434
from __future__ import annotations
3535
3636
import datetime
37+
import uuid
3738
from typing import (
3839
Annotated,
3940
Any,

test/server/typegen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6378,6 +6378,7 @@ test('typegen: python', async () => {
63786378
"from __future__ import annotations
63796379
63806380
import datetime
6381+
import uuid
63816382
from typing import (
63826383
Annotated,
63836384
Any,

0 commit comments

Comments
 (0)