Skip to content

Commit

Permalink
Fix pool
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsi committed Oct 19, 2021
1 parent d936694 commit 7ea9a20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ jobs:
timeoutInMinutes: 120
cancelTimeoutInMinutes: 2

pool:
vmImage: 'ubuntu-latest'

variables:
PYTHON: '3.8'

Expand Down
4 changes: 1 addition & 3 deletions mars/services/scheduling/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
# limitations under the License.

from abc import ABC, abstractmethod
from typing import List, Optional, TypeVar
from typing import List, Optional

from ..core import SubtaskScheduleSummary

APIType = TypeVar('APIType', bound='SchedulingAPI')


class AbstractSchedulingAPI(ABC):
@abstractmethod
Expand Down
4 changes: 1 addition & 3 deletions mars/services/scheduling/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import List, TypeVar
from typing import List

from ...serialization.serializables import Serializable, FieldTypes, \
StringField, ListField, BoolField, Int32Field
from ...typing import BandType

APIType = TypeVar('APIType', bound='SchedulingAPI')


class SubtaskScheduleSummary(Serializable):
task_id: str = StringField('task_id')
Expand Down

0 comments on commit 7ea9a20

Please sign in to comment.