Skip to content

Commit 1956ae4

Browse files
committed
feat(ys): wip basic
1 parent 491d184 commit 1956ae4

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "yardstiq-scaleway"
77
version = "0.1.0"
8-
description = "Yardstiq QPU provider for Scaleway QaaS"
8+
description = "Scaleway provider implementation for Yardstiq"
99
requires-python = ">=3.12"
1010

11-
# Dépendances du plugin
1211
dependencies = [
1312
"yardstiq>=0.1.0",
1413
"scaleway-qaas-client>=0.1.23"

yardstiq_scaleway/scaleway_provider.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
from typing import Any, Dict, List
22

3-
from yardstiq.core import provider, Provider, Backend
4-
from yardstiq.objects import BackendRunResult, ComputationModel
3+
from yardstiq.core import (
4+
provider,
5+
Provider,
6+
Backend,
7+
BackendRunResult,
8+
ComputationalModel,
9+
)
510

611
from scaleway_qaas_client.v1alpha1 import QaaSClient, QaaSPlatform
712

@@ -12,7 +17,7 @@ def __init__(self, platform: QaaSPlatform, provider: "ScalewayProvider"):
1217

1318
self.platform = platform
1419

15-
def run(model: ComputationModel) -> BackendRunResult:
20+
def run(model: ComputationalModel) -> BackendRunResult:
1621
pass
1722

1823

0 commit comments

Comments
 (0)