Skip to content

Commit e7503b2

Browse files
committed
fix: import goes to the top of the file
1 parent 10704bd commit e7503b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph_client/commands/pricing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from rich.table import Table
2727
from rich.text import Text
2828

29+
from aleph_client.commands.instance.network import call_program_crn_list
2930
from aleph_client.commands.utils import colorful_json, setup_logging
3031
from aleph_client.utils import async_lru_cache, sanitize_url
3132

@@ -381,7 +382,6 @@ async def prices_for_service(
381382
# Fetch Current availibity
382383
network_gpu = None
383384
if (service in [GroupEntity.GPU, GroupEntity.ALL]) and with_current_availability:
384-
from aleph_client.commands.instance.network import call_program_crn_list
385385

386386
crn_lists = await call_program_crn_list()
387387
network_gpu = crn_lists.find_gpu_on_network()

0 commit comments

Comments
 (0)