impossible to query builders/n:builderid/builds?complete_at__gt=<unix_timestamp>
Open
api
feature
- Dominant language
- Python
- Stars
- 5.5k
- Forks
- 1.7k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 6
Description
This is because the `valueFromString` method called from master/www/rest.py:310 is not implemented by `DateTime` class defined in /data/types.py:125.
```python
class DateTime(Instance):
name = "datetime"
types = (datetime.datetime)
ramlType = "date"
```
Contributor guide
Research direction
Start at master/www/rest.py:310 to trace the query parameter conversion, then inspect the DateTime class at data/types.py:125 and its valueFromString behavior. Confirm that builders/n:builderid/builds?complete_at__gt= can be queried successfully when the change is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100