MCPcopy Index your code
hub / github.com/google/adk-python / test_extra_field_allowed

Function test_extra_field_allowed

tests/unittests/skills/test_models.py:176–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174
175
176def test_extra_field_allowed():
177 fm = models.Frontmatter.model_validate({
178 "name": "my-skill",
179 "description": "desc",
180 "unknown_field": "value",
181 })
182 assert fm.name == "my-skill"
183
184
185# --- allowed-tools alias ---

Callers

nothing calls this directly

Calls 1

model_validateMethod · 0.80

Tested by

no test coverage detected