MCPcopy Create free account
hub / github.com/ScrapeGraphAI/toonify / encode_pydantic

Function encode_pydantic

toon/__init__.py:19–20  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

17except ImportError:
18 _PYDANTIC_AVAILABLE = False
19 def encode_pydantic(*args, **kwargs):
20 raise ImportError("encode_pydantic requires pydantic to be installed. Please install pydantic to use this feature.")
21 def decode_to_pydantic(*args, **kwargs):
22 raise ImportError("decode_to_pydantic requires pydantic to be installed. Please install pydantic to use this feature.")
23 def generate_structure_from_pydantic(*args, **kwargs):

Callers 15

test_simple_modelMethod · 0.90
test_nested_modelsMethod · 0.90
test_exclude_unsetMethod · 0.90
test_exclude_noneMethod · 0.90
test_by_aliasMethod · 0.90
test_invalid_inputMethod · 0.90
test_roundtripMethod · 0.90
test_list_roundtripMethod · 0.90
example_simple_modelFunction · 0.90
example_list_of_modelsFunction · 0.90

Calls

no outgoing calls

Tested by 10

test_simple_modelMethod · 0.72
test_nested_modelsMethod · 0.72
test_exclude_unsetMethod · 0.72
test_exclude_noneMethod · 0.72
test_by_aliasMethod · 0.72
test_invalid_inputMethod · 0.72
test_roundtripMethod · 0.72
test_list_roundtripMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…