-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply automatic release changes for v0.0.23
- Loading branch information
1 parent
5306a19
commit 873bb17
Showing
65 changed files
with
12,056 additions
and
9,910 deletions.
There are no files selected for viewing
1,221 changes: 711 additions & 510 deletions
1,221
components/lab-job-scheduler/backend/Pipfile.lock
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
205 changes: 205 additions & 0 deletions
205
components/lab-job-scheduler/backend/docs/lab_job_scheduler.app.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
<!-- markdownlint-disable --> | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L0"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
# <kbd>module</kbd> `lab_job_scheduler.app` | ||
|
||
|
||
|
||
|
||
**Global Variables** | ||
--------------- | ||
- **CREATE_RESOURCE_RESPONSES** | ||
- **JOB_INTERVAL** | ||
- **CONTAXY_API_ENDPOINT** | ||
- **cached_scheduled_jobs** | ||
- **lock** | ||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L41"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `on_startup` | ||
|
||
```python | ||
on_startup() → None | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L71"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `create_schedule` | ||
|
||
```python | ||
create_schedule( | ||
project_id: str, | ||
job_input: ScheduledJobInput, | ||
component_manager: ComponentOperations = Depends(get_component_manager) | ||
) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L99"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `list_schedules` | ||
|
||
```python | ||
list_schedules(project_id: str) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L118"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `list_schedule` | ||
|
||
```python | ||
list_schedule(project_id: str, job_id: str) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L141"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `delete_schedules` | ||
|
||
```python | ||
delete_schedules( | ||
project_id: str, | ||
component_manager: ComponentOperations = Depends(get_component_manager) | ||
) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L158"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `delete_schedule` | ||
|
||
```python | ||
delete_schedule( | ||
project_id: str, | ||
job_id: str, | ||
component_manager: ComponentOperations = Depends(get_component_manager) | ||
) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L182"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `update_schedule` | ||
|
||
```python | ||
update_schedule( | ||
project_id: str, | ||
job_input: ScheduledJobInput, | ||
job_id: str, | ||
component_manager: ComponentOperations = Depends(get_component_manager) | ||
) → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L212"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `executor_info` | ||
|
||
```python | ||
executor_info() → Any | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L224"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `get_all_scheduled_jobs_from_db` | ||
|
||
```python | ||
get_all_scheduled_jobs_from_db( | ||
component_manager: ComponentOperations, | ||
project_id: str | ||
) → List[ScheduledJob] | ||
``` | ||
|
||
Returns all jobs from the database. | ||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L233"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `get_job_from_job_input` | ||
|
||
```python | ||
get_job_from_job_input( | ||
job_schedule: ScheduledJobInput, | ||
job_id: Optional[str] = None | ||
) → ScheduledJob | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/app.py#L246"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `get_next_run_time` | ||
|
||
```python | ||
get_next_run_time(job_schedule: ScheduledJobInput) → datetime | ||
``` | ||
|
||
Returns the next run time of a job. | ||
|
||
|
||
|
||
|
||
--- | ||
|
||
_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._ |
35 changes: 35 additions & 0 deletions
35
components/lab-job-scheduler/backend/docs/lab_job_scheduler.utils.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- markdownlint-disable --> | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/utils.py#L0"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
# <kbd>module</kbd> `lab_job_scheduler.utils` | ||
|
||
|
||
|
||
|
||
**Global Variables** | ||
--------------- | ||
- **CONTAXY_API_ENDPOINT** | ||
|
||
--- | ||
|
||
<a href="https://github.com/ml-tooling/contaxy/blob/main/components/lab-job-scheduler/backend/src/lab_job_scheduler/utils.py#L12"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>function</kbd> `get_component_manager` | ||
|
||
```python | ||
get_component_manager( | ||
token: str = Depends(APITokenExtractor) | ||
) → ComponentOperations | ||
``` | ||
|
||
Returns the initialized component manager. | ||
|
||
This is used as FastAPI dependency and called for every request. | ||
|
||
|
||
|
||
|
||
--- | ||
|
||
_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._ |
2 changes: 1 addition & 1 deletion
2
components/lab-job-scheduler/backend/src/lab_job_scheduler/_about.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
"""Information about this library. This file will automatically changed.""" | ||
|
||
__version__ = "0.1.0.dev1" | ||
__version__ = "0.0.23" | ||
# __author__ | ||
# __email__ |
2 changes: 1 addition & 1 deletion
2
components/lab-mlflow-manager/backend/src/lab_mlflow_manager/_about.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
"""Information about this library. This file will automatically changed.""" | ||
|
||
__version__ = "0.1.0.dev1" | ||
__version__ = "0.0.23" | ||
# __author__ | ||
# __email__ |
Oops, something went wrong.