How to import customed modules from HDFS

With a self-defined module in the same folder, how to import it in Jupyter notebook from HDFS.
The HDFS.add_module() function is unavailable in my version of Hopsworks.

Hi @james!

What version of the hops library are you currently using?
You can see it in the listed libraries in the Python service in Hopsworks.

Alternatively run:

import hops
hops.__version__

The function should be available in all the recent releases we’ve made. https://github.com/logicalclocks/hops-util-py/blob/250d06f7205bcc6c32245e00d72d4ff5c0979a02/hops/hdfs.py#L794