Skip to content
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

Build without jobs #25

Open
jayvdb opened this issue Sep 25, 2015 · 2 comments
Open

Build without jobs #25

jayvdb opened this issue Sep 25, 2015 · 2 comments

Comments

@jayvdb
Copy link
Collaborator

jayvdb commented Sep 25, 2015

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')
@menegazzo menegazzo modified the milestone: 0.3.4 Sep 30, 2015
@menegazzo menegazzo removed this from the 0.3.4 milestone Mar 14, 2016
@undera
Copy link

undera commented Dec 8, 2018

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

@menegazzo
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants