"apps/kg/models/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "8b17a5c1d538df5342a6d0bc9d3dd198b6de3ce4"
move common data api into separate module
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/427 Re-try previous reverted diff D41350485 (https://github.com/facebookresearch/d2go/commit/0ea6bc1b61ab736ccf1840c58c2b19ed2e9a1282). The problem was essentially because `DefaultTask` is not a subclass of `Runner`, so when we call `Runner`'s class methods from `DefaultTask`, it won't work if the `Runner`'s method also calls other methods that are in `Runner` but not `DefaultTask`. The solution is simply split the data related APIs out into a separate class (mixin), and let `DefaultTask` and `Runner` both subclass from it. Reviewed By: tglik Differential Revision: D41507448 fbshipit-source-id: 8b26c129811436c0bd35e1c6b0705e7035d7e823
Showing
Please register or sign in to comment