Skip to content

Commit f546538

Browse files
committed
chore: fix up the codegen
1 parent a864024 commit f546538

10 files changed

Lines changed: 44 additions & 68 deletions

File tree

juju/client/_client11.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,6 @@ async def AllModels(self):
874874
"""AllModels allows controller administrators to get the list of all the
875875
models in the controller.
876876
877-
878877
Returns -> UserModelList
879878
"""
880879
# map input types to rpc msg
@@ -971,7 +970,6 @@ async def ControllerVersion(self):
971970
NOTE: the implementation intentionally does not check for SuperuserAccess
972971
as the Version is known even to users with login access.
973972
974-
975973
Returns -> ControllerVersionResults
976974
"""
977975
# map input types to rpc msg
@@ -988,7 +986,6 @@ async def DashboardConnectionInfo(self):
988986
"""DashboardConnectionInfo returns the connection information for a client to
989987
connect to the Juju Dashboard including any proxying information.
990988
991-
992989
Returns -> DashboardConnectionInfo
993990
"""
994991
# map input types to rpc msg
@@ -1105,7 +1102,6 @@ async def HostedModelConfigs(self):
11051102
order to connect directly with the host model's provider and destroy it
11061103
directly.
11071104
1108-
11091105
Returns -> HostedModelConfigsResults
11101106
"""
11111107
# map input types to rpc msg
@@ -1126,7 +1122,6 @@ async def IdentityProviderURL(self):
11261122
NOTE: the implementation intentionally does not check for SuperuserAccess
11271123
as the URL is known even to users with login access.
11281124
1129-
11301125
Returns -> StringResult
11311126
"""
11321127
# map input types to rpc msg
@@ -1165,7 +1160,6 @@ async def ListBlockedModels(self):
11651160
name, then owner. Callers must be controller administrators to retrieve the
11661161
list.
11671162
1168-
11691163
Returns -> ModelBlockInfoList
11701164
"""
11711165
# map input types to rpc msg
@@ -1183,7 +1177,6 @@ async def ModelConfig(self):
11831177
model. For information on the current model, use
11841178
client.ModelGet
11851179
1186-
11871180
Returns -> ModelConfigResults
11881181
"""
11891182
# map input types to rpc msg
@@ -1276,7 +1269,6 @@ async def WatchAllModelSummaries(self):
12761269
This method is superuser access only, and watches all models in the
12771270
controller.
12781271
1279-
12801272
Returns -> SummaryWatcherID
12811273
"""
12821274
# map input types to rpc msg
@@ -1297,7 +1289,6 @@ async def WatchAllModels(self):
12971289
controller. The returned AllWatcherId should be used with Next on the
12981290
AllModelWatcher endpoint to receive deltas.
12991291
1300-
13011292
Returns -> AllWatcherId
13021293
"""
13031294
# map input types to rpc msg
@@ -1338,7 +1329,6 @@ async def WatchModelSummaries(self):
13381329
"""WatchModelSummaries starts watching the summary updates from the cache.
13391330
Only models that the user has access to are returned.
13401331
1341-
13421332
Returns -> SummaryWatcherID
13431333
"""
13441334
# map input types to rpc msg

juju/client/_client12.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@ async def AllModels(self):
843843
"""AllModels allows controller administrators to get the list of all the
844844
models in the controller.
845845
846-
847846
Returns -> UserModelList
848847
"""
849848
# map input types to rpc msg
@@ -940,7 +939,6 @@ async def ControllerVersion(self):
940939
NOTE: the implementation intentionally does not check for SuperuserAccess
941940
as the Version is known even to users with login access.
942941
943-
944942
Returns -> ControllerVersionResults
945943
"""
946944
# map input types to rpc msg
@@ -957,7 +955,6 @@ async def DashboardConnectionInfo(self):
957955
"""DashboardConnectionInfo returns the connection information for a client to
958956
connect to the Juju Dashboard including any proxying information.
959957
960-
961958
Returns -> DashboardConnectionInfo
962959
"""
963960
# map input types to rpc msg
@@ -1074,7 +1071,6 @@ async def HostedModelConfigs(self):
10741071
order to connect directly with the host model's provider and destroy it
10751072
directly.
10761073
1077-
10781074
Returns -> HostedModelConfigsResults
10791075
"""
10801076
# map input types to rpc msg
@@ -1095,7 +1091,6 @@ async def IdentityProviderURL(self):
10951091
NOTE: the implementation intentionally does not check for SuperuserAccess
10961092
as the URL is known even to users with login access.
10971093
1098-
10991094
Returns -> StringResult
11001095
"""
11011096
# map input types to rpc msg
@@ -1134,7 +1129,6 @@ async def ListBlockedModels(self):
11341129
name, then owner. Callers must be controller administrators to retrieve the
11351130
list.
11361131
1137-
11381132
Returns -> ModelBlockInfoList
11391133
"""
11401134
# map input types to rpc msg
@@ -1229,7 +1223,6 @@ async def WatchAllModelSummaries(self):
12291223
This method is superuser access only, and watches all models in the
12301224
controller.
12311225
1232-
12331226
Returns -> SummaryWatcherID
12341227
"""
12351228
# map input types to rpc msg
@@ -1250,7 +1243,6 @@ async def WatchAllModels(self):
12501243
controller. The returned AllWatcherId should be used with Next on the
12511244
AllModelWatcher endpoint to receive deltas.
12521245
1253-
12541246
Returns -> AllWatcherId
12551247
"""
12561248
# map input types to rpc msg
@@ -1291,7 +1283,6 @@ async def WatchModelSummaries(self):
12911283
"""WatchModelSummaries starts watching the summary updates from the cache.
12921284
Only models that the user has access to are returned.
12931285
1294-
12951286
Returns -> SummaryWatcherID
12961287
"""
12971288
# map input types to rpc msg

juju/client/_client3.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ async def RedirectInfo(self):
257257
In Juju it always returns an error because the Juju controller
258258
does not multiplex controllers.
259259
260-
261260
Returns -> RedirectInfoResult
262261
"""
263262
# map input types to rpc msg
@@ -314,7 +313,6 @@ async def Next(self):
314313
"""Next will return the current state of everything on the first call
315314
and subsequent calls will
316315
317-
318316
Returns -> AllWatcherNextResults
319317
"""
320318
# map input types to rpc msg
@@ -683,7 +681,6 @@ async def ModelGet(self):
683681
"""ModelGet implements the server-side part of the
684682
model-config CLI command.
685683
686-
687684
Returns -> ModelConfigResults
688685
"""
689686
# map input types to rpc msg

juju/client/_client4.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ async def Next(self):
5151
"""Next will return the current state of everything on the first call
5252
and subsequent calls will
5353
54-
5554
Returns -> AllWatcherNextResults
5655
"""
5756
# map input types to rpc msg
@@ -1557,7 +1556,6 @@ async def ModelCredentialForSSH(self):
15571556
"""ModelCredentialForSSH returns a cloud spec for ssh purpose.
15581557
This facade call is only used for k8s model.
15591558
1560-
15611559
Returns -> CloudSpecResult
15621560
"""
15631561
# map input types to rpc msg
@@ -1596,7 +1594,6 @@ async def Proxy(self):
15961594
"""Proxy returns whether SSH connections should be proxied through the
15971595
controller hosts for the model associated with the API connection.
15981596
1599-
16001597
Returns -> SSHProxyResult
16011598
"""
16021599
# map input types to rpc msg

juju/client/_client5.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,6 @@ async def AllZones(self):
912912
zone is unusable, unavailable, or deprecated the Available
913913
field will be false.
914914
915-
916915
Returns -> ZoneResults
917916
"""
918917
# map input types to rpc msg

juju/client/_client7.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3465,7 +3465,6 @@ async def Clouds(self):
34653465
"""Clouds returns the definitions of all clouds supported by the controller
34663466
that the logged in user can see.
34673467
3468-
34693468
Returns -> CloudsResult
34703469
"""
34713470
# map input types to rpc msg

0 commit comments

Comments
 (0)