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

Added walk() and find() methods #155

Merged
merged 7 commits into from Jul 23, 2014
Merged

Added walk() and find() methods #155

merged 7 commits into from Jul 23, 2014

Conversation

bworrell
Copy link
Contributor

This pull request resolves #138.

  • Added walk() method to stix.Entity
  • Added find() method to stix.Entity which looks for an Entity with a particular id_.
  • Added examples/ex_walk.py which demonstrates a possible use of the walk() method

I am positive that the walk() method could be implemented better :) It'd be nice to have Python 3's yield from syntax!

bworrell pushed a commit that referenced this pull request Jul 23, 2014
Added walk() and find() methods
@bworrell bworrell merged commit 223da8c into master Jul 23, 2014
@bworrell bworrell deleted the walk branch July 23, 2014 15:56
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

Successfully merging this pull request may close these issues.

Add .find() method to STIXPackage
1 participant