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

provide a Part.to_dict() method that return the part properties as a dictionary #131

Closed
jberends opened this issue Jun 14, 2017 · 2 comments
Assignees
Milestone

Comments

@jberends
Copy link
Member

jberends commented Jun 14, 2017

eg

>>> bike = project.part('Bike')
>>> print(bike.to_dict())
{ 'rear_wheel': True,
  'front_wheel': False,
  'frame': 'women'}
@raduiordache raduiordache self-assigned this Jun 16, 2017
@raduiordache raduiordache added this to the v1.9.0 milestone Jun 19, 2017
@jberends
Copy link
Member Author

will be released in 1.9; see PR #133

@jberends
Copy link
Member Author

@nawijn -- we made this method on your request.

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

No branches or pull requests

2 participants