Adds the license model to the locations endpoint. I went with a list object because of the dates associated with the licenses. Right now we only have one license associated with each provider but that could easily change in the future.
@russbiggs
One issue that came up is that all the licenses are open ended, with no date_to, which is the way that we want it, but that means the date_to value in the model is None. Would it be better to use the exclude_none attribute on the models to remove nulls?
Adds the license model to the locations endpoint. I went with a list object because of the dates associated with the licenses. Right now we only have one license associated with each provider but that could easily change in the future.
@russbiggs One issue that came up is that all the licenses are open ended, with no
date_to
, which is the way that we want it, but that means thedate_to
value in the model isNone
. Would it be better to use theexclude_none
attribute on the models to remove nulls?