Using same name for module and python file in same folder
In osdu_api/models
there is a python file named legal.py
and a folder named legal
. This is causing the below import statement to fail
from osdu_api.model.legal import Legal
with the below exception
ImportError: cannot import name 'Legal'