Skip to content

Commit

Permalink
Fix: Removed unused imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
nesitor committed Jun 20, 2024
1 parent b3229e6 commit 2b07f4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
14 changes: 2 additions & 12 deletions deployment/prepare_vrf_vms.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
import argparse
import asyncio
import json
import subprocess
import sys
from functools import partial
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Optional, Tuple, Dict, List
from typing import Tuple, List

from aleph.sdk import AuthenticatedAlephClient
from aleph.sdk.chains.common import get_fallback_private_key
from aleph.sdk.chains.ethereum import ETHAccount
from aleph_message.models import ItemHash, ProgramMessage
from aleph_message.models.execution.volume import ImmutableVolume
from aleph_message.status import MessageStatus
from aleph_message.models import ItemHash

from aleph_vrf.coordinator.executor_selection import ExecuteOnAleph
from aleph_vrf.coordinator.vrf import prepare_executor_api_request
from aleph_vrf.exceptions import ExecutorError
from aleph_vrf.models import Executor
from aleph_vrf.settings import settings


async def prepare_executor_nodes(executor_item_hash: ItemHash) -> Tuple[List[Executor], List[Executor]]:
Expand Down
8 changes: 1 addition & 7 deletions src/aleph_vrf/coordinator/executor_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
from aleph_message.models import ItemHash

from aleph_vrf.exceptions import AlephNetworkError, NotEnoughExecutors
from aleph_vrf.models import (
AlephExecutor,
ComputeResourceNode,
Executor,
Node,
VRFExecutor,
)
from aleph_vrf.models import AlephExecutor, ComputeResourceNode, Executor, VRFExecutor
from aleph_vrf.settings import settings


Expand Down

0 comments on commit 2b07f4c

Please sign in to comment.