BDMS 221: updates to pass tests#240
Conversation
| well_casing_materials: list[CasingMaterial] = [] | ||
| well_construction_notes: str | None = None | ||
| well_status: str | None | ||
| measuring_point_height: float |
There was a problem hiding this comment.
| measuring_point_height: float | |
| measuring_point_height: float | None |
There was a problem hiding this comment.
measuring_point_height is required for every water level measurement to get depth of water below ground surface. Why do you think it should be optional?
There was a problem hiding this comment.
Because the transfer script results in some rows having a NULL in the measuring_point_height field, leading to a 500 error when I request it.
There was a problem hiding this comment.
Got it 👍 . The updates I have made to the transfer scripts now require a measuring_point_height for every well. That's in another PR... (PR #242 )
|
@ksmuczynski and @jirhiker, @TylerAdamMartinez came across an error that I didn't anticipate: I changed line 183 to
|
For the sake of expediency add PLSS as an |
the updates herein enable the tests to pass all tests except for
@then("the response should include the source of the well depth information")since the polymorphic source table is still in development. I've made changes in a variety of places. The only changes I made to models is to fix some lexicon terms and add@propertyfields to thethingmodel. Otherwise the work has been done in schemas and the testing directory