AllenNeuralDynamics / AllenNeuralDynamics/Aind.Behavior.Services

Consider using validated data in default_factory fields

オープン
#225 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

https://pydantic.dev/docs/validation/latest/api/pydantic/fields/#pydantic.fields.FieldInfo.default_factory

We should attempt to use this for generate fields like the session id automatically. We should check how this behaves with the json-schema generation tho.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。