GIScience / GIScience/ohsome-quality-api

catch error if indicator is sent without attribute that has no predefined attribute

Open
#1,043 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
51
Forks
7
Avg merge
21h 54m
Merged PRs (30d)
9

Description

Looks like this if you select Cycleways and Attribute Completeness
```
Sorry, we were unable to process your query!
RequestValidationError
Input should be 'house-number', 'address-state', 'lit', 'public-transport-stop-area', 'emergency', 'bus-lines', 'address-postcode', 'source', 'roof-shape', 'healthcare-vaccination-centre', 'website', 'lanes', 'roof-levels', 'building-colour', 'surface', 'wheelchair-accessibility', 'leaf-type', 'roof-material', 'height', 'building-levels', 'public-transport-platform', 'healthcare-blood-donation', 'cycleway-share-busway', 'crossing', 'sport-swimming', 'sidewalk', 'voltage', 'tactile-paving', 'address-district', 'address-street', 'building-material', 'roof-colour', 'operator', 'address-country', 'phone-number', 'oneway', 'sport', 'opening-hours', 'name', 'sport-weightlifting', 'shelter', 'maxspeed', 'cycleway', 'trash-bin', 'departures-board', 'brand', 'craft-winery', 'Website', 'healthcare-birthing-centre', 'shop-name', 'parking', 'healthcare-rehabilitation', 'bench', 'cable', 'tunnel-yes', 'address-suburb', 'location', 'sport-fitness', 'leisure-playground', 'address-city', 'frequency', 'tourism-theme-park', 'speciality' or 'access'
Field required
Field required
Extra inputs are not permitted
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by selecting Cycleways and Attribute Completeness, then trace the indicator request validation that emits the shown RequestValidationError. Identify the expected handling for an indicator sent without a predefined attribute; done means the combination is handled without the current unprocessed validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.