Skip to content

Commit

Permalink
Merge pull request #200 from NaveenKinnal/feature/v23_bugfix_new
Browse files Browse the repository at this point in the history
Webapp changes for job and files deletion
  • Loading branch information
NaveenKinnal authored Mar 6, 2023
2 parents bc55c88 + 9b838af commit b6401bd
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 10,316 deletions.
1,946 changes: 0 additions & 1,946 deletions client/Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"mypy",
"black",
"isort",
"colorama",
"pydocstyle",
"isort",
"lazydocs",
Expand Down
2,232 changes: 0 additions & 2,232 deletions components/lab-job-scheduler/backend/Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions components/lab-job-scheduler/backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"black",
"pydocstyle",
"isort",
"colorama",
"lazydocs",
"locust",
# Test profiling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def on_startup() -> None:
component_manager: ComponentOperations = get_component_manager(token=token)

with lock:

# cache all scheduled jobs from the database
for project in component_manager.get_project_manager().list_projects():
scheduled_jobs = get_all_scheduled_jobs_from_db(
Expand Down Expand Up @@ -105,7 +104,6 @@ def create_schedule(
def list_schedules(
project_id: str,
) -> Any:

with lock:
if project_id not in cached_scheduled_jobs:
return []
Expand All @@ -125,7 +123,6 @@ def list_schedule(
project_id: str,
job_id: str,
) -> Any:

with lock:
if project_id not in cached_scheduled_jobs:
raise HTTPException(status_code=404, detail="Project not found.")
Expand Down Expand Up @@ -233,7 +230,6 @@ def get_all_scheduled_jobs_from_db(
def get_job_from_job_input(
job_schedule: ScheduledJobInput, job_id: Optional[str] = None
) -> ScheduledJob:

return ScheduledJob(
cron_string=job_schedule.cron_string,
job_input=job_schedule.job_input,
Expand Down
1,940 changes: 0 additions & 1,940 deletions components/lab-mlflow-manager/backend/Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions components/lab-mlflow-manager/backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"black",
"pydocstyle",
"isort",
"colorama",
"lazydocs",
"locust",
# Test profiling
Expand Down
2,183 changes: 0 additions & 2,183 deletions components/lab-workspace-manager/backend/Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions components/lab-workspace-manager/backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"black",
"pydocstyle",
"isort",
"colorama",
"lazydocs",
"locust",
# Test profiling
Expand Down
2,011 changes: 0 additions & 2,011 deletions components/template/backend/Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions components/template/backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"black",
"pydocstyle",
"isort",
"colorama",
"lazydocs",
"locust",
# Test profiling
Expand Down
2 changes: 2 additions & 0 deletions webapp/src/services/contaxy-client/api/FilesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export default class FilesApi {
};
let queryParams = {
extension_id: opts['extensionId'],
date_from: opts['startDate'],
date_to: opts['endDate'],
};
let headerParams = {};
let formParams = {};
Expand Down
2 changes: 2 additions & 0 deletions webapp/src/services/contaxy-client/api/JobsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ export default class JobsApi {
};
let queryParams = {
extension_id: opts['extensionId'],
date_from: opts['startDate'],
date_to: opts['endDate'],
};
let headerParams = {};
let formParams = {};
Expand Down

0 comments on commit b6401bd

Please sign in to comment.