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

Refactor describedBy field to a Literal, or add default=

Open dbirman opened this issue 5 months ago • 0 comments

There is a pylance warning that shows up for the describedBy field when instantiating AindCoreModel objects because it appears to be unset. This can be suppressed either by adding default= explicitly to the Field(), or by replacing the whole _DESCRIBED_BY_URL -> describedBy situation with a Literal[""].

dbirman avatar Sep 23 '24 21:09 dbirman