pydantic-models-py
Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants. Use when defining API request/response schemas, database models, or data validation in Python applications using Pydantic v2.
Target: Cloud, operations & security. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Pydantic Models
- Quick Start
- Multi-Model Pattern
- camelCase Aliases
- Optional Update Fields
- Database Document
- Integration Steps
- Reference Files
Create Pydantic models following the multi-model pattern for clean API contracts. Copy the template from assets/template.py and replace placeholders: {{ResourceName}} → PascalCase name (e.g., Project) {{resourcename}} → snakecase name (e.g., project) | Model | Purpose | |-------|---------| | Base | Common fields shared across models | | Create | Request body for creation (required fields) | | Update | Request body for updates (all optional) | | Response | API response with all fields | | InDB | Database document with doctype | 1. Create models in src/backend/app/models/ 2. Export from src/backend/app/models/init.py 3. Add corresponding TypeScript types | File | Contents | |------|----------| | references/capabilities.md | Additional non-hero capabilities, operation-group coverage, and production checklists. |
- Source repository
- microsoft/skills
- Source file
- .github/plugins/azure-sdk-python/skills/pydantic-models-py/SKILL.md
- Fixed revision
- 9287b443662d2433c85621c7325ee72a0ce499b5
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.478Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.