Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting with isort #93

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aleph_message/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

from .abstract import BaseContent
from .base import Chain, HashType, MessageType
from .execution.base import MachineType, Payment, PaymentType # noqa
from .execution.instance import InstanceContent
from .execution.program import ProgramContent
from .execution.base import PaymentType, MachineType, Payment # noqa
from .item_hash import ItemHash, ItemType


Expand Down
8 changes: 2 additions & 6 deletions aleph_message/models/execution/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@

from pydantic import Field

from .environment import (
FunctionEnvironment,
HostRequirements,
MachineResources,
)
from ..abstract import BaseContent, HashableModel
from .base import Payment
from .environment import FunctionEnvironment, HostRequirements, MachineResources
from .volume import MachineVolume
from ..abstract import BaseContent, HashableModel


class BaseExecutableContent(HashableModel, BaseContent, ABC):
Expand Down
2 changes: 1 addition & 1 deletion aleph_message/models/execution/program.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Literal, Optional, List
from typing import List, Literal, Optional

from pydantic import Field

Expand Down
Loading