Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

Clarify `data_sources.update_method` #497

Closed maxachis closed 2 weeks ago

maxachis commented 3 weeks ago

Context

The update_method attribute of data_sources currently possesses one of three values (as well as null):

It is unclear how open-ended update methods are, and if we expect others. If we don't expect it to be open ended, we may want to limit the number of possible inputs for ease of use

Requirements

Tests

Docs

Open questions

josh-chamberlain commented 2 weeks ago

@maxachis Let's call this one a select with these 3 options. That's how it is in Airtable, which I think we can match.

maxachis commented 2 weeks ago

Perfect! As it turns out, I already have an enum encoding that, so we're all good here!