buildbot / buildbot/buildbot

impossible to query builders/n:builderid/builds?complete_at__gt=<unix_timestamp>

Open
#3,607 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.