Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jupyter-server/jupyter-scheduler
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f0d2cfde59e0997bbde193571fc92c8411d911b1
Choose a base ref
..
head repository: jupyter-server/jupyter-scheduler
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a2621bcb5e9c4c65e81bd68f066d19ab24abca5
Choose a head ref
Showing with 3 additions and 7 deletions.
  1. +3 −7 jupyter_scheduler/executors.py
10 changes: 3 additions & 7 deletions jupyter_scheduler/executors.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import io
import multiprocessing as mp
import os
from pathlib import Path
import shutil
import tarfile
import traceback
from abc import ABC, abstractmethod
from functools import lru_cache
from pathlib import Path
from typing import Dict, List

import fsspec
@@ -21,11 +21,7 @@
from jupyter_scheduler.parameterize import add_parameters
from jupyter_scheduler.scheduler import Scheduler
from jupyter_scheduler.utils import get_utc_timestamp
from jupyter_scheduler.workflows import (
CreateWorkflow,
DescribeWorkflow,
DescribeWorkflowDefinition,
)
from jupyter_scheduler.workflows import CreateWorkflow, DescribeWorkflow, DescribeWorkflowDefinition


class ExecutionManager(ABC):
@@ -247,7 +243,7 @@ def serve_workflow_definition(self):
).serve(
cron=self.model.schedule,
parameters={
"model": create_workflow,
"tasks": create_workflow.tasks,
"root_dir": self.root_dir,
"db_url": self.db_url,
},