-
Notifications
You must be signed in to change notification settings - Fork 6
Dev #885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…_sc_agencies_search_location mc_869_sc_agencies_search_location
…_sc_agencies_search_location Finish deprecating endpoints
…423_remove_agency_location_endpoints Deprecate logic
…_source_collector_meta_urls_post mc_add_source_collector_meta_urls_post
…_source_collector_meta_urls_post Add agency ID as return value in `/source-collector/meta-urls` `POST`
…_retire_internet_archives_endpoints Retire Internet Archives endpoints
…_new_search_get mc_881_new_search_get
…_new_search_get mc_881_new_search_get
…_new_search_get mc_881_new_search_get
…_remove_approval_status Remove data sources/agencies approval status and related logic
…435_followed_locations_sync Add FastAPI component and Source Collector Followed Locations Sync
@maxachis Almost ready to approve, just got some pedantry:
|
@josh-chamberlain How does it look now? Any better? |
@maxachis better! The template descriptions tend to irk me.
On actual search results (for example, Allegheny County), I seem to get the same counts between environments: https://pdap.io/search/results?location_id=923#county local (181) These numbers do not add up either 240 or 216 in any configuration, so I am extra confused. Getting these counts right is something we can't seem to do consistently so I'd at least like to make sure we are not introducing new bugs or counting things differently. |
You can find them in two new locations! The different addresses are partly the product of the fact that FastAPI and Flask are technically two different servers. There's also some typos in nomenclature (a v3 endpoint says "v2" and the instructions in v2 for accessing v3 are wrong), so I'll need to correct that.
That one's an error on my part, and a product of me being overzealous in destruction and focusing on the primary user path. I can focus on taking care of setting up the endpoints for that.
First thing I will note is that, when running the I do believe there is a bug in search/map counting, but one that has been present for a hot minute. I think that's an issue worth addressing, and addressing prior to pushing out this PR. I shall look into it 🧐. Finally, I have a request for you! The GitHub sync endpoint will need update from where it is now! We'll need to change |
@josh-chamberlain I have figured out and resolved (one) issue with the map/location discrepancy, but the larger issue are promiscuous attributes (such as jurisdiction type) which are used inconsistently, and which also overlap with other forms of categorization. That requires a larger focus on adding checks for data integrity, which I describe in Police-Data-Accessibility-Project/data-source-manager#502. |
Resolves Issues:
unapproved
data sources and agencies. #857source collector
namespace and except for those affecting users.v3
api layer.Contains PRs:
location_id
column nullable. #883/source-collector/meta-urls
POST
#879