metagraph-dev / metagraph

Multi-target API for graph analytics with Dask
https://metagraph.readthedocs.io/en/latest/
Apache License 2.0
27 stars 7 forks source link

bind concrete algorithms and translators to resolver when registering #190

Closed seibert closed 3 years ago

seibert commented 3 years ago

When registering a concrete algorithm or translator with a resolver, we already copy it, so now we can also bind the copied object to the resolver. Then we don't have to worry about passing in a resolver when we call it later. The __call__() method can automatically use the resolver if needed.

This PR is needed for metagraph-dev/metagraph-numba#1.

seibert commented 3 years ago

ok, this is passing and ready for review