Skip to content

Commit 1b70774

Browse files
committed
fix(mongodb): use package-level imports (scaleway.mongodb.*) in custom APIs
1 parent 3698f34 commit 1b70774

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scaleway/scaleway/mongodb/v1/custom_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from datetime import datetime, timezone
44
from typing import Any, Optional
55

6-
from scaleway.scaleway.mongodb.v1.api import MongodbV1API # type: ignore[import-untyped]
6+
from scaleway.mongodb.v1.api import MongodbV1API # type: ignore[import-untyped]
77

88

99
def _ensure_tzaware_utc(value: Optional[datetime]) -> Optional[datetime]:

scaleway/scaleway/mongodb/v1alpha1/custom_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from datetime import datetime, timezone
44
from typing import Any, Optional
55

6-
from scaleway.scaleway.mongodb.v1alpha1.api import MongodbV1Alpha1API # type: ignore[import-untyped]
6+
from scaleway.mongodb.v1alpha1.api import MongodbV1Alpha1API # type: ignore[import-untyped]
77

88

99
def _ensure_tzaware_utc(value: Optional[datetime]) -> Optional[datetime]:

0 commit comments

Comments
 (0)