ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Add submodules to __init__ in python package #784

Open ssomnath opened 3 years ago

ssomnath commented 3 years ago

This should allow someone to do this:

import datafed
cl_api = datafed.CommandLib.API()
ml_api = datafed.MessageLib.API()

instead of:

from datafed.CommandLib import API as CAPI
from datafed.MessageLib import API as MAPI
cl_api = CAPI()
ml_api = MAPI()