Compatible Interface
By version 0.4.0 and earlier, the interface of OneFlow was non object-oriented. Now OneFlow provides object-oriented interfaces.
That code only need to replace the import statements:
Please activate JavaScript for write a comment in LiveRe