menegazzo / travispy

LOOKING FOR SOMEONE TO TRANSFER OWNERSHIP - Travis CI API for Python
https://pypi.python.org/pypi/TravisPy
Other
75 stars 29 forks source link

Build without jobs #25

Open jayvdb opened 9 years ago

jayvdb commented 9 years ago

Creating Build objects using t.builds(..) means they do not have a jobs attribute

t = travispy.TravisPy()

builds = t.builds(slug='menegazzo/travispy')

assert len(builds) > 1
assert all(isinstance(build, travispy.entities.build.Build)
           for build in builds)

build = builds[0]
assert hasattr(build, 'jobs')
undera commented 5 years ago

+1. Doc says "Build" entity has "jobs" attribute with jobs list, but there's no such attribute in runtime :(

menegazzo commented 5 years ago

Hi. Unfortunately I don't have the time to keep the support on this library. If you have the interest in taking the ownership of this, let me know.