dpdispatcher.entrypoints package#
Entry points.
Submodules#
dpdispatcher.entrypoints.gui module#
DP-GUI entrypoint.
- dpdispatcher.entrypoints.gui.start_dpgui(*, port: int, bind_all: bool, **kwargs)[source]#
Host DP-GUI server.
- Parameters:
- portint
The port to serve DP-GUI on.
- bind_allbool
Serve on all public interfaces. This will expose your DP-GUI instance to the network on both IPv4 and IPv6 (where available).
- **kwargs
additional arguments
- Raises:
- ModuleNotFoundError
The dpgui package is not installed
dpdispatcher.entrypoints.run module#
Run PEP 723 script.
dpdispatcher.entrypoints.submission module#
- dpdispatcher.entrypoints.submission.handle_submission(*, submission_hash: str, download_terminated_log: bool = False, download_finished_task: bool = False, clean: bool = False, reset_fail_count: bool = False)[source]#
Handle terminated submission.
- Parameters:
- submission_hashstr
Submission hash to download.
- download_terminated_logbool, optional
Download log files of terminated tasks.
- download_finished_taskbool, optional
Download finished tasks.
- cleanbool, optional
Clean submission.
- reset_fail_countbool, optional
Reset fail count of all jobs to zero.
- Raises:
- ValueError
At least one action should be specified.