Skip to content

Commit

Permalink
Fix imports in stub files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sukritkalra committed Dec 18, 2023
1 parent 584e39e commit 0422168
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions schedulers/tetrisched/python/stubs/tetrisched_py/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Python API for TetriSched.
"""
from __future__ import annotations

import typing
from . import backends
from . import model
from . import strl

from . import backends, model, strl

__all__ = ["Partition", "Partitions", "Scheduler", "backends", "model", "strl"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
Solver backends for the TetriSched Python API.
"""
from __future__ import annotations
import tetrisched_py.model

import typing

import tetrisched_py.model

__all__ = [
"CPLEXSolver",
"GurobiSolver",
Expand Down
1 change: 1 addition & 0 deletions schedulers/tetrisched/python/stubs/tetrisched_py/model.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Modelling primitives for the TetriSched Python API.
"""
from __future__ import annotations

import typing

__all__ = [
Expand Down
4 changes: 3 additions & 1 deletion schedulers/tetrisched/python/stubs/tetrisched_py/strl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
STRL primitives for the TetriSched Python API.
"""
from __future__ import annotations
import tetrisched_py

import typing

import tetrisched_py

__all__ = [
"AllocationExpression",
"ChooseExpression",
Expand Down

0 comments on commit 0422168

Please sign in to comment.