...
This commit is contained in:
6
_archive/openrpc/tools/test_imports.py
Normal file
6
_archive/openrpc/tools/test_imports.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from heroserver.openrpc.tools import get_pydantic_type
|
||||
|
||||
# Simple test schema
|
||||
test_schema = {"type": "string", "format": "email"}
|
||||
result = get_pydantic_type(test_schema)
|
||||
print(f"Test passed: {result == 'Email'}")
|
Reference in New Issue
Block a user