Skip to content

Commit 4a53871

Browse files
committed
docs: make import package private to prevent documentation generation
1 parent 9e8d30f commit 4a53871

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

scaleway/scaleway/__init__.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,7 @@
2222
WaitForStopCondition,
2323
)
2424

25-
from scaleway_core.bridge import (
26-
Money,
27-
Region,
28-
ALL_REGIONS,
29-
Zone,
30-
ALL_ZONES,
31-
ScwFile,
32-
ServiceInfo,
33-
TimeSeriesPoint,
34-
TimeSeries,
35-
)
25+
from . import _bridge
3626

3727
__all__ = [
3828
"API",
@@ -43,13 +33,4 @@
4333
"ProfileDefaults",
4434
"WaitForOptions",
4535
"WaitForStopCondition",
46-
"Money",
47-
"Region",
48-
"ALL_REGIONS",
49-
"Zone",
50-
"ALL_ZONES",
51-
"ScwFile",
52-
"ServiceInfo",
53-
"TimeSeriesPoint",
54-
"TimeSeries",
5536
]

scaleway/scaleway/_bridge.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# scaleway_async/_bridge.py
2+
from scaleway_core.bridge import (
3+
Money,
4+
Region,
5+
ALL_REGIONS,
6+
Zone,
7+
ALL_ZONES,
8+
ScwFile,
9+
ServiceInfo,
10+
TimeSeriesPoint,
11+
TimeSeries,
12+
)
13+
14+
__all__ = [
15+
"Money",
16+
"Region",
17+
"ALL_REGIONS",
18+
"Zone",
19+
"ALL_ZONES",
20+
"ScwFile",
21+
"ServiceInfo",
22+
"TimeSeriesPoint",
23+
"TimeSeries",
24+
]
25+

0 commit comments

Comments
 (0)