isamplesorg / igsn_lib

Python library for working with IGSNs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change resolved_elapsed default to 0.0

dannymandel opened this issue · comments

resolved_elapsed default is currently set to None. This is making pydantic unhappy as it is typed to Float, and None isn't a valid Float value. Since we don't record this information for either OpenContext or Smithsonian, we should default it to 0 to prevent the current 500 error we're seeing from FastAPI.

Actually going to fix this at a different layer. Leaving igsn_lib alone.