aind-data-schema icon indicating copy to clipboard operation
aind-data-schema copied to clipboard

Add explicit default to schema_version to suppress pylance warnings

Open dbirman opened this issue 5 months ago • 0 comments

When writing AindCoreModel code there is a pylance warning: Arguments missing for "schema_version". This can be suppressed by adding explicit defaults when we generate the schema_version fields

    schema_version: Literal["1.0.0"] = Field(default="1.0.0")

dbirman avatar Sep 23 '24 21:09 dbirman