We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fcb6cb commit 5a98a49Copy full SHA for 5a98a49
1 file changed
tests/envs/python/test_pydantic.py
@@ -1,6 +1,7 @@
1
-from gen_pydantic import Test, Test2, Ontology # type: ignore
2
from uuid import UUID
3
+from gen_pydantic import Ontology, Test, Test2 # type: ignore
4
+
5
6
def is_valid_uuid(uuid_str: str) -> bool:
7
try:
@@ -27,6 +28,8 @@ def is_valid_uuid(uuid_str: str) -> bool:
27
28
assert result["@context"] == {
29
"tst": "https://www.github.com/my/repo/",
30
"schema": "http://schema.org/",
31
+ "Test2": "https://www.github.com/my/repo/Test2/",
32
+ "Ontology": "https://www.github.com/my/repo/Ontology/",
33
"name": {
34
"@id": "schema:hello",
35
"@type": "@id",
0 commit comments