ValarMorghulis.IO
open-menu closeme
Home
Tech
View
About
x bluesky github rss
  • Create a partial model definition of a pydantic model

    calendar Dec 9, 2024 · 1 min read · python pydantic  ·
    Share on: twitter facebook linkedin copy

    Sometimes I want to create a partial model definition of a pydantic model. For example, if I want to expose a database model from API, some of the fields I would like to keep in secret, or I just want to expose very few fields in a summary API. I don't want to write model definition twice. I would like to write …


    Read More

valarmorghulis.io

Programming / Thinking / Writing / Reading

Recent Posts

  • Run stdio MCP server with Python in Claude Desktop
  • OpenClaw matrix plugin setup in docker
  • AI Glasses and the eye doctor
  • GEO is Not the Next Generation of SEO
  • Python dependencies states managed via uv(illustrated)
  • Deploy models on SGLang with CPU only
  • Run MiniCPM4 with CPU only
  • Call MCP Server(stdio) directly in the shell

Categories

SOFTWARE ENGINEERING 1 SOFTWARE INDUSTRY 1 TECHNIQUE 1

Tags

PYTHON 13 AI 7 DOCKER 2 MCP 2 RUST 2 ASYNCIO 1 AWS 1 BASH 1 BOT 1 CLIPBOARD 1 COMIC 1 EXCEL 1 FLASK 1 HTTP 1
All Tags
AI7 ASYNCIO1 AWS1 BASH1 BOT1 CLIPBOARD1 COMIC1 DOCKER2 EXCEL1 FLASK1 HTTP1 LLM1 MARAIDB1 MCP2 MESOP1 MONGODB1 MSYQL1 MYSQL1 NEXTJS1 OPENCLAW1 PM21 POSTGRES1 POWERSHELL1 PYDANTIC1 PYTHON13 ROBOTS.TXT1 RUST2 SSL1 SUM TYPE1 UV1 WASM1 WSL1
[A~Z][0~9]
valarmorghulis.io

Copyright 2016-  VALARMORGHULIS.IO . All Rights Reserved

to-top