shapelets.apps.DataApp.register#
- DataApp.register(host: Optional[str] = None, user_name: Optional[str] = None, groups: Optional[Union[List[str], str]] = None)#
Registers the DataApp. When host or username are not provided, the default information will be used.
- Parameters:
- hoststr, optional
Alias of the host where the dataApp will be registered. In addition, user can specify the full address of the host.
- user_namestr, optional
User registering the dataApp
- groupsList[str], str, optional
Group/s where the dataApp will be registered.
- It checks DataApp’s code to avoid possible errors during Runtime (using mypy library).
- If some error is found, it will print a message to the user but the DataApp will be registered anyway