uc-cdis / peregrine

GraphQL search API service
Apache License 2.0
12 stars 9 forks source link

fix/with-path-to: fix bug causing `with_path_to` to give no results #38

Closed rudyardrichter closed 6 years ago

rudyardrichter commented 6 years ago

Instead of a global traversals dictionary in traversals.py this computes the dictionary in a function, which is then assigned on the flask app.