Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Cannot call submodules in python import statement #66

Open
rachchan opened this issue Mar 3, 2023 · 0 comments
Open

Cannot call submodules in python import statement #66

rachchan opened this issue Mar 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rachchan
Copy link
Collaborator

rachchan commented Mar 3, 2023

e.g. from pyraphtory.algorithms import triangle_count is not working because of a pyo3 issue. Need a hack around this so that we can call submodules from pyraphtory.

Otherwise, we have to import the module and then call the specific algorithm from the algorithm module:
from pyraphtory import algorithms
algorithms.triangle_count()

@rachchan rachchan added the bug Something isn't working label Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant