-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sharing libraries between blocks #41
Comments
That's what Engage is for. You just need to have an engage driver for the library and make that a dependency of both blocks. If you need to do that for something, let me know. |
Would it work if the library is not publicly available? I'm looking at a scenario where I write a custom library to extract relevant links from an HTML page for the bookmarks example. This library is only going to be used by the web-crawler and bookmark-query blocks and probably no one else. So this is probably not going be uploaded online anywhere but will instead be present with Datablox sources. Right now this is pretty small and I don't need a separate library just for this issue, but I was thinking of the general case. |
Good point. I think the best way to handle this scenario is as follows:
|
Thanks! I think that is the best way to go. |
Blocks may require shared libraries. There should be a place to these. Currently the only shared code that all blocks see are in datablox_framework.
The text was updated successfully, but these errors were encountered: