Ingest files to update fields #72
-
Edit: tagging @dyf since I'm not sure if anyone will see this otherwise I've created a file for the AIBS SmartSPIM (still needs updating), but noticed that it can't then be parsed to make a new object:
Even though these fields are optional. It seems like we should be able to parse one of these files, update a field, and create a new file as needed. Am I just doing it wrong? Here is the raw text of my JSON file:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@miketaormina Can you send me the script that generated the JSON? |
Beta Was this translation helpful? Give feedback.
-
@miketaormina looks like you found a pydantic bug. pydantic/pydantic#4568 This is getting fixed in the next pydantic release (it's already been fixed in a branch). Looks like the class is saving to JSON correctly, so I think we don't need to do anything. |
Beta Was this translation helpful? Give feedback.
@miketaormina looks like you found a pydantic bug. pydantic/pydantic#4568
This is getting fixed in the next pydantic release (it's already been fixed in a branch). Looks like the class is saving to JSON correctly, so I think we don't need to do anything.