Plugin request for Buf Schema Registry: protoc-gen-pydantic
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Inizia esaminando il codice sorgente del plugin all’indirizzo https://github.com/cjermain/protoc-gen-pydantic e il modo in cui questo repository registra i plugin BSR. Verifica che la voce del registro possa rappresentare il binario Go v0.10.0, la sua dipendenza di runtime da Pydantic v2 e il requisito Python 3.10; il lavoro è considerato completato quando il plugin viene accettato ed è individuabile nella Buf Schema Registry.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Mandatory
Where is the source code for the plugin?
https://github.com/cjermain/protoc-gen-pydantic
Optional
Does the plugin have a valid semver version?
Yes. Latest version is v0.10.0, from GitHub Releases.
Does the plugin have a dependency on another plugin?
No. The plugin generates standalone Pydantic models and does not depend on output from any other plugin (e.g., protoc-gen-python is not required).
Does the output of this plugin depend on any other external libraries?
Yes — the generated Python (≥ 3.10) files have a runtime dependency on Pydantic v2:
pydantic>=2.0
No other runtime dependencies. The plugin binary itself is a self-contained Go binary.
Additional details:
- The plugin is a Go binary (
protoc-gen-pydantic) that reads.protodescriptors and emits*_pydantic.pyfiles — no Python runtime needed in the Docker image. - It translates
buf.validatefield constraints directly to PydanticField()kwargs andAfterValidatorannotations - Generated files require Python ≥ 3.10 for
T | Noneunion syntax.
- Lingua principale
- Dockerfile
- Stelle
- 74
- Fork
- 24
- Merge medio
- 3h 54m
- PR unite (30g)
- 62
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bufbuild/plugins
-
Feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
Tutte le issue di bufbuild/plugins
Issue simili
-
kaliscan.com ApertaN: AdGuard for iOS P3: Medium T: Ads
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AdguardTeam/AdguardFilters#242501 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Apertacustomer-eng status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
add-toolnames MCP Toolnames Toolnames checkup
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
rajbos/ai-engineering-fluency#2190 · 3 commenti ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gajus/eslint-plugin-jsdoc#1776 · 1 reazione ·