hexsha stringlengths 40 40 | repo stringlengths 7 114 | path stringlengths 4 124 | license listlengths 1 9 | language stringclasses 1
value | identifier stringlengths 1 71 | return_type stringlengths 1 749 ⌀ | original_string stringlengths 76 22.7k | original_docstring stringlengths 16 7.61k | docstring stringlengths 16 2.47k | docstring_tokens listlengths 6 477 | code stringlengths 14 10.2k | code_tokens listlengths 6 996 | short_docstring stringlengths 2 644 | short_docstring_tokens listlengths 1 116 | comment listlengths 1 89 | parameters listlengths 0 64 | docstring_params dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | CACert | <not_specific> | async def CACert(self):
'''
CACert returns the certificate used to validate the state connection.
Returns -> BytesResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='CACert',
version=... |
CACert returns the certificate used to validate the state connection.
Returns -> BytesResult
| CACert returns the certificate used to validate the state connection. | [
"CACert",
"returns",
"the",
"certificate",
"used",
"to",
"validate",
"the",
"state",
"connection",
"."
] | async def CACert(self):
_params = dict()
msg = dict(type='Client',
request='CACert',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"CACert",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'CACert'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"await... | CACert returns the certificate used to validate the state connection. | [
"CACert",
"returns",
"the",
"certificate",
"used",
"to",
"validate",
"the",
"state",
"connection",
"."
] | [
"'''\n CACert returns the certificate used to validate the state connection.\n\n\n Returns -> BytesResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | FindTools | <not_specific> | async def FindTools(self, agentstream=None, arch=None, major=None, minor=None, number=None, os_type=None, series=None):
'''
FindTools returns a List containing all tools matching the given parameters.
agentstream : str
arch : str
major : int
minor : int
number : ... |
FindTools returns a List containing all tools matching the given parameters.
agentstream : str
arch : str
major : int
minor : int
number : Number
os_type : str
series : str
Returns -> FindToolsResult
| FindTools returns a List containing all tools matching the given parameters. | [
"FindTools",
"returns",
"a",
"List",
"containing",
"all",
"tools",
"matching",
"the",
"given",
"parameters",
"."
] | async def FindTools(self, agentstream=None, arch=None, major=None, minor=None, number=None, os_type=None, series=None):
if agentstream is not None and not isinstance(agentstream, (bytes, str)):
raise Exception("Expected agentstream to be a str, received: {}".format(type(agentstream)))
if arc... | [
"async",
"def",
"FindTools",
"(",
"self",
",",
"agentstream",
"=",
"None",
",",
"arch",
"=",
"None",
",",
"major",
"=",
"None",
",",
"minor",
"=",
"None",
",",
"number",
"=",
"None",
",",
"os_type",
"=",
"None",
",",
"series",
"=",
"None",
")",
":"... | FindTools returns a List containing all tools matching the given parameters. | [
"FindTools",
"returns",
"a",
"List",
"containing",
"all",
"tools",
"matching",
"the",
"given",
"parameters",
"."
] | [
"'''\n FindTools returns a List containing all tools matching the given parameters.\n\n agentstream : str\n arch : str\n major : int\n minor : int\n number : Number\n os_type : str\n series : str\n Returns -> FindToolsResult\n '''",
"# map inpu... | [
{
"param": "self",
"type": null
},
{
"param": "agentstream",
"type": null
},
{
"param": "arch",
"type": null
},
{
"param": "major",
"type": null
},
{
"param": "minor",
"type": null
},
{
"param": "number",
"type": null
},
{
"param": "os_type... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "agentstream",
"type": null,
"docstring": null,
"docstring_tok... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | FullStatus | <not_specific> | async def FullStatus(self, patterns=None):
'''
FullStatus gives the information needed for juju status over the api
patterns : typing.Sequence[str]
Returns -> FullStatus
'''
if patterns is not None and not isinstance(patterns, (bytes, str, list)):
raise Excep... |
FullStatus gives the information needed for juju status over the api
patterns : typing.Sequence[str]
Returns -> FullStatus
| FullStatus gives the information needed for juju status over the api
patterns : typing.Sequence[str]
Returns -> FullStatus | [
"FullStatus",
"gives",
"the",
"information",
"needed",
"for",
"juju",
"status",
"over",
"the",
"api",
"patterns",
":",
"typing",
".",
"Sequence",
"[",
"str",
"]",
"Returns",
"-",
">",
"FullStatus"
] | async def FullStatus(self, patterns=None):
if patterns is not None and not isinstance(patterns, (bytes, str, list)):
raise Exception("Expected patterns to be a Sequence, received: {}".format(type(patterns)))
_params = dict()
msg = dict(type='Client',
request='FullS... | [
"async",
"def",
"FullStatus",
"(",
"self",
",",
"patterns",
"=",
"None",
")",
":",
"if",
"patterns",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"patterns",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | FullStatus gives the information needed for juju status over the api
patterns : typing.Sequence[str]
Returns -> FullStatus | [
"FullStatus",
"gives",
"the",
"information",
"needed",
"for",
"juju",
"status",
"over",
"the",
"api",
"patterns",
":",
"typing",
".",
"Sequence",
"[",
"str",
"]",
"Returns",
"-",
">",
"FullStatus"
] | [
"'''\n FullStatus gives the information needed for juju status over the api\n\n patterns : typing.Sequence[str]\n Returns -> FullStatus\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "patterns",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "patterns",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | GetBundleChanges | <not_specific> | async def GetBundleChanges(self, bundleurl=None, yaml=None):
'''
GetBundleChanges returns the list of changes required to deploy the given
bundle data. The changes are sorted by requirements, so that they can be
applied in order.
This call is deprecated, clients should use the Ge... |
GetBundleChanges returns the list of changes required to deploy the given
bundle data. The changes are sorted by requirements, so that they can be
applied in order.
This call is deprecated, clients should use the GetChanges endpoint on the
Bundle facade.
Note: any new fe... | GetBundleChanges returns the list of changes required to deploy the given
bundle data. The changes are sorted by requirements, so that they can be
applied in order.
This call is deprecated, clients should use the GetChanges endpoint on the
Bundle facade.
Note: any new feature in the future like devices will never be su... | [
"GetBundleChanges",
"returns",
"the",
"list",
"of",
"changes",
"required",
"to",
"deploy",
"the",
"given",
"bundle",
"data",
".",
"The",
"changes",
"are",
"sorted",
"by",
"requirements",
"so",
"that",
"they",
"can",
"be",
"applied",
"in",
"order",
".",
"This... | async def GetBundleChanges(self, bundleurl=None, yaml=None):
if bundleurl is not None and not isinstance(bundleurl, (bytes, str)):
raise Exception("Expected bundleurl to be a str, received: {}".format(type(bundleurl)))
if yaml is not None and not isinstance(yaml, (bytes, str)):
r... | [
"async",
"def",
"GetBundleChanges",
"(",
"self",
",",
"bundleurl",
"=",
"None",
",",
"yaml",
"=",
"None",
")",
":",
"if",
"bundleurl",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"bundleurl",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"r... | GetBundleChanges returns the list of changes required to deploy the given
bundle data. | [
"GetBundleChanges",
"returns",
"the",
"list",
"of",
"changes",
"required",
"to",
"deploy",
"the",
"given",
"bundle",
"data",
"."
] | [
"'''\n GetBundleChanges returns the list of changes required to deploy the given\n bundle data. The changes are sorted by requirements, so that they can be\n applied in order.\n This call is deprecated, clients should use the GetChanges endpoint on the\n Bundle facade.\n No... | [
{
"param": "self",
"type": null
},
{
"param": "bundleurl",
"type": null
},
{
"param": "yaml",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "bundleurl",
"type": null,
"docstring": null,
"docstring_token... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | GetModelConstraints | <not_specific> | async def GetModelConstraints(self):
'''
GetModelConstraints returns the constraints for the model.
Returns -> GetConstraintsResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='GetModelConstraints',
... |
GetModelConstraints returns the constraints for the model.
Returns -> GetConstraintsResults
| GetModelConstraints returns the constraints for the model. | [
"GetModelConstraints",
"returns",
"the",
"constraints",
"for",
"the",
"model",
"."
] | async def GetModelConstraints(self):
_params = dict()
msg = dict(type='Client',
request='GetModelConstraints',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"GetModelConstraints",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'GetModelConstraints'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
... | GetModelConstraints returns the constraints for the model. | [
"GetModelConstraints",
"returns",
"the",
"constraints",
"for",
"the",
"model",
"."
] | [
"'''\n GetModelConstraints returns the constraints for the model.\n\n\n Returns -> GetConstraintsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | InjectMachines | <not_specific> | async def InjectMachines(self, params=None):
'''
InjectMachines injects a machine into state with provisioned status.
params : typing.Sequence[~AddMachineParams]
Returns -> AddMachinesResults
'''
if params is not None and not isinstance(params, (bytes, str, list)):
... |
InjectMachines injects a machine into state with provisioned status.
params : typing.Sequence[~AddMachineParams]
Returns -> AddMachinesResults
| InjectMachines injects a machine into state with provisioned status. | [
"InjectMachines",
"injects",
"a",
"machine",
"into",
"state",
"with",
"provisioned",
"status",
"."
] | async def InjectMachines(self, params=None):
if params is not None and not isinstance(params, (bytes, str, list)):
raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
_params = dict()
msg = dict(type='Client',
request='InjectMachi... | [
"async",
"def",
"InjectMachines",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"params",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"params",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",... | InjectMachines injects a machine into state with provisioned status. | [
"InjectMachines",
"injects",
"a",
"machine",
"into",
"state",
"with",
"provisioned",
"status",
"."
] | [
"'''\n InjectMachines injects a machine into state with provisioned status.\n\n params : typing.Sequence[~AddMachineParams]\n Returns -> AddMachinesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "params",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "params",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ModelGet | <not_specific> | async def ModelGet(self):
'''
ModelGet implements the server-side part of the
model-config CLI command.
Returns -> ModelConfigResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='ModelGet',
... |
ModelGet implements the server-side part of the
model-config CLI command.
Returns -> ModelConfigResults
| ModelGet implements the server-side part of the
model-config CLI command.
| [
"ModelGet",
"implements",
"the",
"server",
"-",
"side",
"part",
"of",
"the",
"model",
"-",
"config",
"CLI",
"command",
"."
] | async def ModelGet(self):
_params = dict()
msg = dict(type='Client',
request='ModelGet',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelGet",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'ModelGet'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"a... | ModelGet implements the server-side part of the
model-config CLI command. | [
"ModelGet",
"implements",
"the",
"server",
"-",
"side",
"part",
"of",
"the",
"model",
"-",
"config",
"CLI",
"command",
"."
] | [
"'''\n ModelGet implements the server-side part of the\n model-config CLI command.\n\n\n Returns -> ModelConfigResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ModelInfo | <not_specific> | async def ModelInfo(self):
'''
ModelInfo returns information about the current model.
Returns -> ModelInfo
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='ModelInfo',
version=3,
... |
ModelInfo returns information about the current model.
Returns -> ModelInfo
| ModelInfo returns information about the current model. | [
"ModelInfo",
"returns",
"information",
"about",
"the",
"current",
"model",
"."
] | async def ModelInfo(self):
_params = dict()
msg = dict(type='Client',
request='ModelInfo',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'ModelInfo'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
... | ModelInfo returns information about the current model. | [
"ModelInfo",
"returns",
"information",
"about",
"the",
"current",
"model",
"."
] | [
"'''\n ModelInfo returns information about the current model.\n\n\n Returns -> ModelInfo\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ModelSet | <not_specific> | async def ModelSet(self, config=None):
'''
ModelSet implements the server-side part of the
set-model-config CLI command.
config : typing.Mapping[str, typing.Any]
Returns -> None
'''
if config is not None and not isinstance(config, dict):
raise Excepti... |
ModelSet implements the server-side part of the
set-model-config CLI command.
config : typing.Mapping[str, typing.Any]
Returns -> None
| ModelSet implements the server-side part of the
set-model-config CLI command.
| [
"ModelSet",
"implements",
"the",
"server",
"-",
"side",
"part",
"of",
"the",
"set",
"-",
"model",
"-",
"config",
"CLI",
"command",
"."
] | async def ModelSet(self, config=None):
if config is not None and not isinstance(config, dict):
raise Exception("Expected config to be a Mapping, received: {}".format(type(config)))
_params = dict()
msg = dict(type='Client',
request='ModelSet',
ve... | [
"async",
"def",
"ModelSet",
"(",
"self",
",",
"config",
"=",
"None",
")",
":",
"if",
"config",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"config",
",",
"dict",
")",
":",
"raise",
"Exception",
"(",
"\"Expected config to be a Mapping, received: {}\""... | ModelSet implements the server-side part of the
set-model-config CLI command. | [
"ModelSet",
"implements",
"the",
"server",
"-",
"side",
"part",
"of",
"the",
"set",
"-",
"model",
"-",
"config",
"CLI",
"command",
"."
] | [
"'''\n ModelSet implements the server-side part of the\n set-model-config CLI command.\n\n config : typing.Mapping[str, typing.Any]\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "config",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "config",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ModelUserInfo | <not_specific> | async def ModelUserInfo(self):
'''
ModelUserInfo returns information on all users in the model.
Returns -> ModelUserInfoResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='ModelUserInfo',
... |
ModelUserInfo returns information on all users in the model.
Returns -> ModelUserInfoResults
| ModelUserInfo returns information on all users in the model. | [
"ModelUserInfo",
"returns",
"information",
"on",
"all",
"users",
"in",
"the",
"model",
"."
] | async def ModelUserInfo(self):
_params = dict()
msg = dict(type='Client',
request='ModelUserInfo',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelUserInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'ModelUserInfo'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
... | ModelUserInfo returns information on all users in the model. | [
"ModelUserInfo",
"returns",
"information",
"on",
"all",
"users",
"in",
"the",
"model",
"."
] | [
"'''\n ModelUserInfo returns information on all users in the model.\n\n\n Returns -> ModelUserInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | PrivateAddress | <not_specific> | async def PrivateAddress(self, target=None):
'''
PrivateAddress implements the server side of Client.PrivateAddress.
target : str
Returns -> PrivateAddressResults
'''
if target is not None and not isinstance(target, (bytes, str)):
raise Exception("Expected ta... |
PrivateAddress implements the server side of Client.PrivateAddress.
target : str
Returns -> PrivateAddressResults
| PrivateAddress implements the server side of Client.PrivateAddress.
target : str
Returns -> PrivateAddressResults | [
"PrivateAddress",
"implements",
"the",
"server",
"side",
"of",
"Client",
".",
"PrivateAddress",
".",
"target",
":",
"str",
"Returns",
"-",
">",
"PrivateAddressResults"
] | async def PrivateAddress(self, target=None):
if target is not None and not isinstance(target, (bytes, str)):
raise Exception("Expected target to be a str, received: {}".format(type(target)))
_params = dict()
msg = dict(type='Client',
request='PrivateAddress',
... | [
"async",
"def",
"PrivateAddress",
"(",
"self",
",",
"target",
"=",
"None",
")",
":",
"if",
"target",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"target",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected ta... | PrivateAddress implements the server side of Client.PrivateAddress. | [
"PrivateAddress",
"implements",
"the",
"server",
"side",
"of",
"Client",
".",
"PrivateAddress",
"."
] | [
"'''\n PrivateAddress implements the server side of Client.PrivateAddress.\n\n target : str\n Returns -> PrivateAddressResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "target",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "target",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ProvisioningScript | <not_specific> | async def ProvisioningScript(self, data_dir=None, disable_package_commands=None, machine_id=None, nonce=None):
'''
ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script.
data_dir : str
disable_package_commands : ... |
ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script.
data_dir : str
disable_package_commands : bool
machine_id : str
nonce : str
Returns -> ProvisioningScriptResult
| ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script.
| [
"ProvisioningScript",
"returns",
"a",
"shell",
"script",
"that",
"when",
"run",
"provisions",
"a",
"machine",
"agent",
"on",
"the",
"machine",
"executing",
"the",
"script",
"."
] | async def ProvisioningScript(self, data_dir=None, disable_package_commands=None, machine_id=None, nonce=None):
if data_dir is not None and not isinstance(data_dir, (bytes, str)):
raise Exception("Expected data_dir to be a str, received: {}".format(type(data_dir)))
if disable_package_commands... | [
"async",
"def",
"ProvisioningScript",
"(",
"self",
",",
"data_dir",
"=",
"None",
",",
"disable_package_commands",
"=",
"None",
",",
"machine_id",
"=",
"None",
",",
"nonce",
"=",
"None",
")",
":",
"if",
"data_dir",
"is",
"not",
"None",
"and",
"not",
"isinst... | ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script. | [
"ProvisioningScript",
"returns",
"a",
"shell",
"script",
"that",
"when",
"run",
"provisions",
"a",
"machine",
"agent",
"on",
"the",
"machine",
"executing",
"the",
"script",
"."
] | [
"'''\n ProvisioningScript returns a shell script that, when run,\n provisions a machine agent on the machine executing the script.\n\n data_dir : str\n disable_package_commands : bool\n machine_id : str\n nonce : str\n Returns -> ProvisioningScriptResult\n '''... | [
{
"param": "self",
"type": null
},
{
"param": "data_dir",
"type": null
},
{
"param": "disable_package_commands",
"type": null
},
{
"param": "machine_id",
"type": null
},
{
"param": "nonce",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "data_dir",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | PublicAddress | <not_specific> | async def PublicAddress(self, target=None):
'''
PublicAddress implements the server side of Client.PublicAddress.
target : str
Returns -> PublicAddressResults
'''
if target is not None and not isinstance(target, (bytes, str)):
raise Exception("Expected target... |
PublicAddress implements the server side of Client.PublicAddress.
target : str
Returns -> PublicAddressResults
| PublicAddress implements the server side of Client.PublicAddress.
target : str
Returns -> PublicAddressResults | [
"PublicAddress",
"implements",
"the",
"server",
"side",
"of",
"Client",
".",
"PublicAddress",
".",
"target",
":",
"str",
"Returns",
"-",
">",
"PublicAddressResults"
] | async def PublicAddress(self, target=None):
if target is not None and not isinstance(target, (bytes, str)):
raise Exception("Expected target to be a str, received: {}".format(type(target)))
_params = dict()
msg = dict(type='Client',
request='PublicAddress',
... | [
"async",
"def",
"PublicAddress",
"(",
"self",
",",
"target",
"=",
"None",
")",
":",
"if",
"target",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"target",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected tar... | PublicAddress implements the server side of Client.PublicAddress. | [
"PublicAddress",
"implements",
"the",
"server",
"side",
"of",
"Client",
".",
"PublicAddress",
"."
] | [
"'''\n PublicAddress implements the server side of Client.PublicAddress.\n\n target : str\n Returns -> PublicAddressResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "target",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "target",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ResolveCharms | <not_specific> | async def ResolveCharms(self, references=None):
'''
ResolveCharm resolves the best available charm URLs with series, for charm
locations without a series specified.
NOTE: ResolveCharms is deprecated as of juju 2.9 and charms facade version 3.
Please discontinue use and move to t... |
ResolveCharm resolves the best available charm URLs with series, for charm
locations without a series specified.
NOTE: ResolveCharms is deprecated as of juju 2.9 and charms facade version 3.
Please discontinue use and move to the charms facade version.
TODO: remove in juju 3.0... | ResolveCharm resolves the best available charm URLs with series, for charm
locations without a series specified.
ResolveCharms is deprecated as of juju 2.9 and charms facade version 3.
Please discontinue use and move to the charms facade version.
references : typing.Sequence[str]
Returns -> ResolveCharmResults | [
"ResolveCharm",
"resolves",
"the",
"best",
"available",
"charm",
"URLs",
"with",
"series",
"for",
"charm",
"locations",
"without",
"a",
"series",
"specified",
".",
"ResolveCharms",
"is",
"deprecated",
"as",
"of",
"juju",
"2",
".",
"9",
"and",
"charms",
"facade... | async def ResolveCharms(self, references=None):
if references is not None and not isinstance(references, (bytes, str, list)):
raise Exception("Expected references to be a Sequence, received: {}".format(type(references)))
_params = dict()
msg = dict(type='Client',
r... | [
"async",
"def",
"ResolveCharms",
"(",
"self",
",",
"references",
"=",
"None",
")",
":",
"if",
"references",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"references",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Excepti... | ResolveCharm resolves the best available charm URLs with series, for charm
locations without a series specified. | [
"ResolveCharm",
"resolves",
"the",
"best",
"available",
"charm",
"URLs",
"with",
"series",
"for",
"charm",
"locations",
"without",
"a",
"series",
"specified",
"."
] | [
"'''\n ResolveCharm resolves the best available charm URLs with series, for charm\n locations without a series specified.\n\n NOTE: ResolveCharms is deprecated as of juju 2.9 and charms facade version 3.\n Please discontinue use and move to the charms facade version.\n\n TODO: rem... | [
{
"param": "self",
"type": null
},
{
"param": "references",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "references",
"type": null,
"docstring": null,
"docstring_toke... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | RetryProvisioning | <not_specific> | async def RetryProvisioning(self, entities=None):
'''
RetryProvisioning marks a provisioning error as transient on the machines.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
RetryProvisioning marks a provisioning error as transient on the machines.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| RetryProvisioning marks a provisioning error as transient on the machines.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"RetryProvisioning",
"marks",
"a",
"provisioning",
"error",
"as",
"transient",
"on",
"the",
"machines",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def RetryProvisioning(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Client',
request... | [
"async",
"def",
"RetryProvisioning",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | RetryProvisioning marks a provisioning error as transient on the machines. | [
"RetryProvisioning",
"marks",
"a",
"provisioning",
"error",
"as",
"transient",
"on",
"the",
"machines",
"."
] | [
"'''\n RetryProvisioning marks a provisioning error as transient on the machines.\n\n entities : typing.Sequence[~Entity]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SLALevel | <not_specific> | async def SLALevel(self):
'''
SLALevel returns the current sla level for the model.
Returns -> StringResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='SLALevel',
version=3,
... |
SLALevel returns the current sla level for the model.
Returns -> StringResult
| SLALevel returns the current sla level for the model. | [
"SLALevel",
"returns",
"the",
"current",
"sla",
"level",
"for",
"the",
"model",
"."
] | async def SLALevel(self):
_params = dict()
msg = dict(type='Client',
request='SLALevel',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"SLALevel",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'SLALevel'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"a... | SLALevel returns the current sla level for the model. | [
"SLALevel",
"returns",
"the",
"current",
"sla",
"level",
"for",
"the",
"model",
"."
] | [
"'''\n SLALevel returns the current sla level for the model.\n\n\n Returns -> StringResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetModelAgentVersion | <not_specific> | async def SetModelAgentVersion(self, force=None, version=None):
'''
SetModelAgentVersion sets the model agent version.
force : bool
version : Number
Returns -> None
'''
if force is not None and not isinstance(force, bool):
raise Exception("Expected fo... |
SetModelAgentVersion sets the model agent version.
force : bool
version : Number
Returns -> None
| SetModelAgentVersion sets the model agent version.
force : bool
version : Number
Returns -> None | [
"SetModelAgentVersion",
"sets",
"the",
"model",
"agent",
"version",
".",
"force",
":",
"bool",
"version",
":",
"Number",
"Returns",
"-",
">",
"None"
] | async def SetModelAgentVersion(self, force=None, version=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if version is not None and not isinstance(version, (dict, Number)):
raise Excepti... | [
"async",
"def",
"SetModelAgentVersion",
"(",
"self",
",",
"force",
"=",
"None",
",",
"version",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Ex... | SetModelAgentVersion sets the model agent version. | [
"SetModelAgentVersion",
"sets",
"the",
"model",
"agent",
"version",
"."
] | [
"'''\n SetModelAgentVersion sets the model agent version.\n\n force : bool\n version : Number\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "version",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetModelConstraints | <not_specific> | async def SetModelConstraints(self, application=None, constraints=None):
'''
SetModelConstraints sets the constraints for the model.
application : str
constraints : Value
Returns -> None
'''
if application is not None and not isinstance(application, (bytes, str))... |
SetModelConstraints sets the constraints for the model.
application : str
constraints : Value
Returns -> None
| SetModelConstraints sets the constraints for the model.
application : str
constraints : Value
Returns -> None | [
"SetModelConstraints",
"sets",
"the",
"constraints",
"for",
"the",
"model",
".",
"application",
":",
"str",
"constraints",
":",
"Value",
"Returns",
"-",
">",
"None"
] | async def SetModelConstraints(self, application=None, constraints=None):
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(application)))
if constraints is not None and not isinstance(constra... | [
"async",
"def",
"SetModelConstraints",
"(",
"self",
",",
"application",
"=",
"None",
",",
"constraints",
"=",
"None",
")",
":",
"if",
"application",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"application",
",",
"(",
"bytes",
",",
"str",
")",
... | SetModelConstraints sets the constraints for the model. | [
"SetModelConstraints",
"sets",
"the",
"constraints",
"for",
"the",
"model",
"."
] | [
"'''\n SetModelConstraints sets the constraints for the model.\n\n application : str\n constraints : Value\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "application",
"type": null
},
{
"param": "constraints",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "application",
"type": null,
"docstring": null,
"docstring_tok... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | StatusHistory | <not_specific> | async def StatusHistory(self, requests=None):
'''
StatusHistory returns a slice of past statuses for several entities.
requests : typing.Sequence[~StatusHistoryRequest]
Returns -> StatusHistoryResults
'''
if requests is not None and not isinstance(requests, (bytes, str, ... |
StatusHistory returns a slice of past statuses for several entities.
requests : typing.Sequence[~StatusHistoryRequest]
Returns -> StatusHistoryResults
| StatusHistory returns a slice of past statuses for several entities. | [
"StatusHistory",
"returns",
"a",
"slice",
"of",
"past",
"statuses",
"for",
"several",
"entities",
"."
] | async def StatusHistory(self, requests=None):
if requests is not None and not isinstance(requests, (bytes, str, list)):
raise Exception("Expected requests to be a Sequence, received: {}".format(type(requests)))
_params = dict()
msg = dict(type='Client',
request='St... | [
"async",
"def",
"StatusHistory",
"(",
"self",
",",
"requests",
"=",
"None",
")",
":",
"if",
"requests",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"requests",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | StatusHistory returns a slice of past statuses for several entities. | [
"StatusHistory",
"returns",
"a",
"slice",
"of",
"past",
"statuses",
"for",
"several",
"entities",
"."
] | [
"'''\n StatusHistory returns a slice of past statuses for several entities.\n\n requests : typing.Sequence[~StatusHistoryRequest]\n Returns -> StatusHistoryResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "requests",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "requests",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | WatchAll | <not_specific> | async def WatchAll(self):
'''
WatchAll initiates a watcher for entities in the connected model.
Returns -> AllWatcherId
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Client',
request='WatchAll',
version... |
WatchAll initiates a watcher for entities in the connected model.
Returns -> AllWatcherId
| WatchAll initiates a watcher for entities in the connected model. | [
"WatchAll",
"initiates",
"a",
"watcher",
"for",
"entities",
"in",
"the",
"connected",
"model",
"."
] | async def WatchAll(self):
_params = dict()
msg = dict(type='Client',
request='WatchAll',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAll",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Client'",
",",
"request",
"=",
"'WatchAll'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"a... | WatchAll initiates a watcher for entities in the connected model. | [
"WatchAll",
"initiates",
"a",
"watcher",
"for",
"entities",
"in",
"the",
"connected",
"model",
"."
] | [
"'''\n WatchAll initiates a watcher for entities in the connected model.\n\n\n Returns -> AllWatcherId\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | UpdateFromPublishedImages | <not_specific> | async def UpdateFromPublishedImages(self):
'''
UpdateFromPublishedImages is now a no-op.
It is retained for compatibility.
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='ImageMetadata',
request='Upd... |
UpdateFromPublishedImages is now a no-op.
It is retained for compatibility.
Returns -> None
| UpdateFromPublishedImages is now a no-op.
It is retained for compatibility.
> None | [
"UpdateFromPublishedImages",
"is",
"now",
"a",
"no",
"-",
"op",
".",
"It",
"is",
"retained",
"for",
"compatibility",
".",
">",
"None"
] | async def UpdateFromPublishedImages(self):
_params = dict()
msg = dict(type='ImageMetadata',
request='UpdateFromPublishedImages',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"UpdateFromPublishedImages",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'ImageMetadata'",
",",
"request",
"=",
"'UpdateFromPublishedImages'",
",",
"version",
"=",
"3",
",",
"params",
"=",
... | UpdateFromPublishedImages is now a no-op. | [
"UpdateFromPublishedImages",
"is",
"now",
"a",
"no",
"-",
"op",
"."
] | [
"'''\n UpdateFromPublishedImages is now a no-op.\n It is retained for compatibility.\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | Export | <not_specific> | async def Export(self):
'''
Export serializes the model associated with the API connection.
Returns -> SerializedModel
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='MigrationMaster',
request='Export',
v... |
Export serializes the model associated with the API connection.
Returns -> SerializedModel
| Export serializes the model associated with the API connection. | [
"Export",
"serializes",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
"."
] | async def Export(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='Export',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Export",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'Export'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",... | Export serializes the model associated with the API connection. | [
"Export",
"serializes",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
"."
] | [
"'''\n Export serializes the model associated with the API connection.\n\n\n Returns -> SerializedModel\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | MigrationStatus | <not_specific> | async def MigrationStatus(self):
'''
MigrationStatus returns the details and progress of the latest
model migration.
Returns -> MasterMigrationStatus
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='MigrationMaster',
... |
MigrationStatus returns the details and progress of the latest
model migration.
Returns -> MasterMigrationStatus
| MigrationStatus returns the details and progress of the latest
model migration.
| [
"MigrationStatus",
"returns",
"the",
"details",
"and",
"progress",
"of",
"the",
"latest",
"model",
"migration",
"."
] | async def MigrationStatus(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='MigrationStatus',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"MigrationStatus",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'MigrationStatus'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",... | MigrationStatus returns the details and progress of the latest
model migration. | [
"MigrationStatus",
"returns",
"the",
"details",
"and",
"progress",
"of",
"the",
"latest",
"model",
"migration",
"."
] | [
"'''\n MigrationStatus returns the details and progress of the latest\n model migration.\n\n\n Returns -> MasterMigrationStatus\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | MinionReportTimeout | <not_specific> | async def MinionReportTimeout(self):
'''
MinionReportTimeout returns the configuration value for this controller that
indicates how long the migration master worker should wait for minions to
reported on phases of a migration.
Returns -> StringResult
'''
# map ... |
MinionReportTimeout returns the configuration value for this controller that
indicates how long the migration master worker should wait for minions to
reported on phases of a migration.
Returns -> StringResult
| MinionReportTimeout returns the configuration value for this controller that
indicates how long the migration master worker should wait for minions to
reported on phases of a migration.
| [
"MinionReportTimeout",
"returns",
"the",
"configuration",
"value",
"for",
"this",
"controller",
"that",
"indicates",
"how",
"long",
"the",
"migration",
"master",
"worker",
"should",
"wait",
"for",
"minions",
"to",
"reported",
"on",
"phases",
"of",
"a",
"migration"... | async def MinionReportTimeout(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='MinionReportTimeout',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"MinionReportTimeout",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'MinionReportTimeout'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params"... | MinionReportTimeout returns the configuration value for this controller that
indicates how long the migration master worker should wait for minions to
reported on phases of a migration. | [
"MinionReportTimeout",
"returns",
"the",
"configuration",
"value",
"for",
"this",
"controller",
"that",
"indicates",
"how",
"long",
"the",
"migration",
"master",
"worker",
"should",
"wait",
"for",
"minions",
"to",
"reported",
"on",
"phases",
"of",
"a",
"migration"... | [
"'''\n MinionReportTimeout returns the configuration value for this controller that\n indicates how long the migration master worker should wait for minions to\n reported on phases of a migration.\n\n\n Returns -> StringResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | MinionReports | <not_specific> | async def MinionReports(self):
'''
MinionReports returns details of the reports made by migration
minions to the controller for the current migration phase.
Returns -> MinionReports
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Migr... |
MinionReports returns details of the reports made by migration
minions to the controller for the current migration phase.
Returns -> MinionReports
| MinionReports returns details of the reports made by migration
minions to the controller for the current migration phase.
| [
"MinionReports",
"returns",
"details",
"of",
"the",
"reports",
"made",
"by",
"migration",
"minions",
"to",
"the",
"controller",
"for",
"the",
"current",
"migration",
"phase",
"."
] | async def MinionReports(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='MinionReports',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"MinionReports",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'MinionReports'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"... | MinionReports returns details of the reports made by migration
minions to the controller for the current migration phase. | [
"MinionReports",
"returns",
"details",
"of",
"the",
"reports",
"made",
"by",
"migration",
"minions",
"to",
"the",
"controller",
"for",
"the",
"current",
"migration",
"phase",
"."
] | [
"'''\n MinionReports returns details of the reports made by migration\n minions to the controller for the current migration phase.\n\n\n Returns -> MinionReports\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ModelInfo | <not_specific> | async def ModelInfo(self):
'''
ModelInfo returns essential information about the model to be
migrated.
Returns -> MigrationModelInfo
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='MigrationMaster',
request='ModelIn... |
ModelInfo returns essential information about the model to be
migrated.
Returns -> MigrationModelInfo
| ModelInfo returns essential information about the model to be
migrated.
| [
"ModelInfo",
"returns",
"essential",
"information",
"about",
"the",
"model",
"to",
"be",
"migrated",
"."
] | async def ModelInfo(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='ModelInfo',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'ModelInfo'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
... | ModelInfo returns essential information about the model to be
migrated. | [
"ModelInfo",
"returns",
"essential",
"information",
"about",
"the",
"model",
"to",
"be",
"migrated",
"."
] | [
"'''\n ModelInfo returns essential information about the model to be\n migrated.\n\n\n Returns -> MigrationModelInfo\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | ProcessRelations | <not_specific> | async def ProcessRelations(self, controller_alias=None):
'''
ProcessRelations processes any relations that need updating after an export.
This should help fix any remoteApplications that have been migrated.
controller_alias : str
Returns -> None
'''
if controller... |
ProcessRelations processes any relations that need updating after an export.
This should help fix any remoteApplications that have been migrated.
controller_alias : str
Returns -> None
| ProcessRelations processes any relations that need updating after an export.
This should help fix any remoteApplications that have been migrated.
controller_alias : str
Returns -> None | [
"ProcessRelations",
"processes",
"any",
"relations",
"that",
"need",
"updating",
"after",
"an",
"export",
".",
"This",
"should",
"help",
"fix",
"any",
"remoteApplications",
"that",
"have",
"been",
"migrated",
".",
"controller_alias",
":",
"str",
"Returns",
"-",
... | async def ProcessRelations(self, controller_alias=None):
if controller_alias is not None and not isinstance(controller_alias, (bytes, str)):
raise Exception("Expected controller_alias to be a str, received: {}".format(type(controller_alias)))
_params = dict()
msg = dict(type='Migrati... | [
"async",
"def",
"ProcessRelations",
"(",
"self",
",",
"controller_alias",
"=",
"None",
")",
":",
"if",
"controller_alias",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"controller_alias",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exc... | ProcessRelations processes any relations that need updating after an export. | [
"ProcessRelations",
"processes",
"any",
"relations",
"that",
"need",
"updating",
"after",
"an",
"export",
"."
] | [
"'''\n ProcessRelations processes any relations that need updating after an export.\n This should help fix any remoteApplications that have been migrated.\n\n controller_alias : str\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "controller_alias",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "controller_alias",
"type": null,
"docstring": null,
"docstrin... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | Reap | <not_specific> | async def Reap(self):
'''
Reap removes all documents for the model associated with the API
connection.
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='MigrationMaster',
request='Reap',
... |
Reap removes all documents for the model associated with the API
connection.
Returns -> None
| Reap removes all documents for the model associated with the API
connection.
> None | [
"Reap",
"removes",
"all",
"documents",
"for",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
".",
">",
"None"
] | async def Reap(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='Reap',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Reap",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'Reap'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"... | Reap removes all documents for the model associated with the API
connection. | [
"Reap",
"removes",
"all",
"documents",
"for",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
"."
] | [
"'''\n Reap removes all documents for the model associated with the API\n connection.\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetPhase | <not_specific> | async def SetPhase(self, phase=None):
'''
SetPhase sets the phase of the active model migration. The provided
phase must be a valid phase value, for example QUIESCE" or
"ABORT". See the core/migration package for the complete list.
phase : str
Returns -> None
'''... |
SetPhase sets the phase of the active model migration. The provided
phase must be a valid phase value, for example QUIESCE" or
"ABORT". See the core/migration package for the complete list.
phase : str
Returns -> None
| SetPhase sets the phase of the active model migration. The provided
phase must be a valid phase value, for example QUIESCE" or
"ABORT". See the core/migration package for the complete list.
phase : str
Returns -> None | [
"SetPhase",
"sets",
"the",
"phase",
"of",
"the",
"active",
"model",
"migration",
".",
"The",
"provided",
"phase",
"must",
"be",
"a",
"valid",
"phase",
"value",
"for",
"example",
"QUIESCE",
"\"",
"or",
"\"",
"ABORT",
"\"",
".",
"See",
"the",
"core",
"/",
... | async def SetPhase(self, phase=None):
if phase is not None and not isinstance(phase, (bytes, str)):
raise Exception("Expected phase to be a str, received: {}".format(type(phase)))
_params = dict()
msg = dict(type='MigrationMaster',
request='SetPhase',
... | [
"async",
"def",
"SetPhase",
"(",
"self",
",",
"phase",
"=",
"None",
")",
":",
"if",
"phase",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"phase",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected phase to be... | SetPhase sets the phase of the active model migration. | [
"SetPhase",
"sets",
"the",
"phase",
"of",
"the",
"active",
"model",
"migration",
"."
] | [
"'''\n SetPhase sets the phase of the active model migration. The provided\n phase must be a valid phase value, for example QUIESCE\" or\n \"ABORT\". See the core/migration package for the complete list.\n\n phase : str\n Returns -> None\n '''",
"# map input types to rpc ... | [
{
"param": "self",
"type": null
},
{
"param": "phase",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "phase",
"type": null,
"docstring": null,
"docstring_tokens": ... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetStatusMessage | <not_specific> | async def SetStatusMessage(self, message=None):
'''
SetStatusMessage sets a human readable status message containing
information about the migration's progress. This will be shown in
status output shown to the end user.
message : str
Returns -> None
'''
i... |
SetStatusMessage sets a human readable status message containing
information about the migration's progress. This will be shown in
status output shown to the end user.
message : str
Returns -> None
| SetStatusMessage sets a human readable status message containing
information about the migration's progress. This will be shown in
status output shown to the end user.
message : str
Returns -> None | [
"SetStatusMessage",
"sets",
"a",
"human",
"readable",
"status",
"message",
"containing",
"information",
"about",
"the",
"migration",
"'",
"s",
"progress",
".",
"This",
"will",
"be",
"shown",
"in",
"status",
"output",
"shown",
"to",
"the",
"end",
"user",
".",
... | async def SetStatusMessage(self, message=None):
if message is not None and not isinstance(message, (bytes, str)):
raise Exception("Expected message to be a str, received: {}".format(type(message)))
_params = dict()
msg = dict(type='MigrationMaster',
request='SetSta... | [
"async",
"def",
"SetStatusMessage",
"(",
"self",
",",
"message",
"=",
"None",
")",
":",
"if",
"message",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"message",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expect... | SetStatusMessage sets a human readable status message containing
information about the migration's progress. | [
"SetStatusMessage",
"sets",
"a",
"human",
"readable",
"status",
"message",
"containing",
"information",
"about",
"the",
"migration",
"'",
"s",
"progress",
"."
] | [
"'''\n SetStatusMessage sets a human readable status message containing\n information about the migration's progress. This will be shown in\n status output shown to the end user.\n\n message : str\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "message",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "message",
"type": null,
"docstring": null,
"docstring_tokens"... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self):
'''
Watch starts watching for an active migration for the model
associated with the API connection. The returned id should be used
with the NotifyWatcher facade to receive events.
Returns -> NotifyWatchResult
'''
# map input types to rpc ... |
Watch starts watching for an active migration for the model
associated with the API connection. The returned id should be used
with the NotifyWatcher facade to receive events.
Returns -> NotifyWatchResult
| Watch starts watching for an active migration for the model
associated with the API connection. The returned id should be used
with the NotifyWatcher facade to receive events.
| [
"Watch",
"starts",
"watching",
"for",
"an",
"active",
"migration",
"for",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
".",
"The",
"returned",
"id",
"should",
"be",
"used",
"with",
"the",
"NotifyWatcher",
"facade",
"to",
"receive",
"events... | async def Watch(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='Watch',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Watch",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'Watch'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
... | Watch starts watching for an active migration for the model
associated with the API connection. | [
"Watch",
"starts",
"watching",
"for",
"an",
"active",
"migration",
"for",
"the",
"model",
"associated",
"with",
"the",
"API",
"connection",
"."
] | [
"'''\n Watch starts watching for an active migration for the model\n associated with the API connection. The returned id should be used\n with the NotifyWatcher facade to receive events.\n\n\n Returns -> NotifyWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | WatchMinionReports | <not_specific> | async def WatchMinionReports(self):
'''
WatchMinionReports sets up a watcher which reports when a report
for a migration minion has arrived.
Returns -> NotifyWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='MigrationMaster'... |
WatchMinionReports sets up a watcher which reports when a report
for a migration minion has arrived.
Returns -> NotifyWatchResult
| WatchMinionReports sets up a watcher which reports when a report
for a migration minion has arrived.
| [
"WatchMinionReports",
"sets",
"up",
"a",
"watcher",
"which",
"reports",
"when",
"a",
"report",
"for",
"a",
"migration",
"minion",
"has",
"arrived",
"."
] | async def WatchMinionReports(self):
_params = dict()
msg = dict(type='MigrationMaster',
request='WatchMinionReports',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchMinionReports",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'MigrationMaster'",
",",
"request",
"=",
"'WatchMinionReports'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
... | WatchMinionReports sets up a watcher which reports when a report
for a migration minion has arrived. | [
"WatchMinionReports",
"sets",
"up",
"a",
"watcher",
"which",
"reports",
"when",
"a",
"report",
"for",
"a",
"migration",
"minion",
"has",
"arrived",
"."
] | [
"'''\n WatchMinionReports sets up a watcher which reports when a report\n for a migration minion has arrived.\n\n\n Returns -> NotifyWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | CurrentSeries | <not_specific> | async def CurrentSeries(self, entities=None):
'''
CurrentSeries returns what Juju thinks the current series of the machine is.
Note that a machine could have been upgraded out-of-band by running
do-release-upgrade outside of the upgrade-series workflow,
making this value incorrec... |
CurrentSeries returns what Juju thinks the current series of the machine is.
Note that a machine could have been upgraded out-of-band by running
do-release-upgrade outside of the upgrade-series workflow,
making this value incorrect.
entities : typing.Sequence[~Entity]
R... | CurrentSeries returns what Juju thinks the current series of the machine is.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"CurrentSeries",
"returns",
"what",
"Juju",
"thinks",
"the",
"current",
"series",
"of",
"the",
"machine",
"is",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringResults"
] | async def CurrentSeries(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
requ... | [
"async",
"def",
"CurrentSeries",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | CurrentSeries returns what Juju thinks the current series of the machine is. | [
"CurrentSeries",
"returns",
"what",
"Juju",
"thinks",
"the",
"current",
"series",
"of",
"the",
"machine",
"is",
"."
] | [
"'''\n CurrentSeries returns what Juju thinks the current series of the machine is.\n Note that a machine could have been upgraded out-of-band by running\n do-release-upgrade outside of the upgrade-series workflow,\n making this value incorrect.\n\n entities : typing.Sequence[~Ent... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | FinishUpgradeSeries | <not_specific> | async def FinishUpgradeSeries(self, args=None):
'''
FinishUpgradeSeries is the last action in the upgrade workflow and is
called after all machine and unit statuses are "completed".
It updates the machine series to reflect the completed upgrade, then
removes the upgrade-series lo... |
FinishUpgradeSeries is the last action in the upgrade workflow and is
called after all machine and unit statuses are "completed".
It updates the machine series to reflect the completed upgrade, then
removes the upgrade-series lock.
args : typing.Sequence[~UpdateSeriesArg]
... | FinishUpgradeSeries is the last action in the upgrade workflow and is
called after all machine and unit statuses are "completed".
It updates the machine series to reflect the completed upgrade, then
removes the upgrade-series lock.
| [
"FinishUpgradeSeries",
"is",
"the",
"last",
"action",
"in",
"the",
"upgrade",
"workflow",
"and",
"is",
"called",
"after",
"all",
"machine",
"and",
"unit",
"statuses",
"are",
"\"",
"completed",
"\"",
".",
"It",
"updates",
"the",
"machine",
"series",
"to",
"re... | async def FinishUpgradeSeries(self, args=None):
if args is not None and not isinstance(args, (bytes, str, list)):
raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
_params = dict()
msg = dict(type='UpgradeSeries',
request='FinishUpg... | [
"async",
"def",
"FinishUpgradeSeries",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | FinishUpgradeSeries is the last action in the upgrade workflow and is
called after all machine and unit statuses are "completed". | [
"FinishUpgradeSeries",
"is",
"the",
"last",
"action",
"in",
"the",
"upgrade",
"workflow",
"and",
"is",
"called",
"after",
"all",
"machine",
"and",
"unit",
"statuses",
"are",
"\"",
"completed",
"\"",
"."
] | [
"'''\n FinishUpgradeSeries is the last action in the upgrade workflow and is\n called after all machine and unit statuses are \"completed\".\n It updates the machine series to reflect the completed upgrade, then\n removes the upgrade-series lock.\n\n args : typing.Sequence[~Update... | [
{
"param": "self",
"type": null
},
{
"param": "args",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "args",
"type": null,
"docstring": null,
"docstring_tokens": [... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | MachineStatus | <not_specific> | async def MachineStatus(self, entities=None):
'''
MachineStatus gets the current upgrade-series status of a machine.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeriesStatusResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
MachineStatus gets the current upgrade-series status of a machine.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeriesStatusResults
| MachineStatus gets the current upgrade-series status of a machine.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeriesStatusResults | [
"MachineStatus",
"gets",
"the",
"current",
"upgrade",
"-",
"series",
"status",
"of",
"a",
"machine",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"UpgradeSeriesStatusResults"
] | async def MachineStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
requ... | [
"async",
"def",
"MachineStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | MachineStatus gets the current upgrade-series status of a machine. | [
"MachineStatus",
"gets",
"the",
"current",
"upgrade",
"-",
"series",
"status",
"of",
"a",
"machine",
"."
] | [
"'''\n MachineStatus gets the current upgrade-series status of a machine.\n\n entities : typing.Sequence[~Entity]\n Returns -> UpgradeSeriesStatusResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | PinMachineApplications | <not_specific> | async def PinMachineApplications(self):
'''
PinMachineApplications pins leadership for applications represented by units
running on the auth'd machine.
Returns -> PinApplicationsResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='... |
PinMachineApplications pins leadership for applications represented by units
running on the auth'd machine.
Returns -> PinApplicationsResults
| PinMachineApplications pins leadership for applications represented by units
running on the auth'd machine.
| [
"PinMachineApplications",
"pins",
"leadership",
"for",
"applications",
"represented",
"by",
"units",
"running",
"on",
"the",
"auth",
"'",
"d",
"machine",
"."
] | async def PinMachineApplications(self):
_params = dict()
msg = dict(type='UpgradeSeries',
request='PinMachineApplications',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"PinMachineApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'UpgradeSeries'",
",",
"request",
"=",
"'PinMachineApplications'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_par... | PinMachineApplications pins leadership for applications represented by units
running on the auth'd machine. | [
"PinMachineApplications",
"pins",
"leadership",
"for",
"applications",
"represented",
"by",
"units",
"running",
"on",
"the",
"auth",
"'",
"d",
"machine",
"."
] | [
"'''\n PinMachineApplications pins leadership for applications represented by units\n running on the auth'd machine.\n\n\n Returns -> PinApplicationsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | PinnedLeadership | <not_specific> | async def PinnedLeadership(self):
'''
PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model.
Returns -> PinnedLeadershipResult
'''
# map input types to rpc msg
_params = dict()... |
PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model.
Returns -> PinnedLeadershipResult
| PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model.
| [
"PinnedLeadership",
"returns",
"all",
"pinned",
"applications",
"and",
"the",
"entities",
"that",
"require",
"their",
"pinned",
"behaviour",
"for",
"leadership",
"in",
"the",
"current",
"model",
"."
] | async def PinnedLeadership(self):
_params = dict()
msg = dict(type='UpgradeSeries',
request='PinnedLeadership',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"PinnedLeadership",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'UpgradeSeries'",
",",
"request",
"=",
"'PinnedLeadership'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"_params",
")",... | PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model. | [
"PinnedLeadership",
"returns",
"all",
"pinned",
"applications",
"and",
"the",
"entities",
"that",
"require",
"their",
"pinned",
"behaviour",
"for",
"leadership",
"in",
"the",
"current",
"model",
"."
] | [
"'''\n PinnedLeadership returns all pinned applications and the entities that\n require their pinned behaviour, for leadership in the current model.\n\n\n Returns -> PinnedLeadershipResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetInstanceStatus | <not_specific> | async def SetInstanceStatus(self, entities=None):
'''
SetInstanceStatus sets the status of the machine.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise E... |
SetInstanceStatus sets the status of the machine.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetInstanceStatus sets the status of the machine. | [
"SetInstanceStatus",
"sets",
"the",
"status",
"of",
"the",
"machine",
"."
] | async def SetInstanceStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
... | [
"async",
"def",
"SetInstanceStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | SetInstanceStatus sets the status of the machine. | [
"SetInstanceStatus",
"sets",
"the",
"status",
"of",
"the",
"machine",
"."
] | [
"'''\n SetInstanceStatus sets the status of the machine.\n\n entities : typing.Sequence[~EntityStatusArgs]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetMachineStatus | <not_specific> | async def SetMachineStatus(self, params=None):
'''
SetMachineStatus sets the current upgrade-series status of a machine.
params : typing.Sequence[~UpgradeSeriesStatusParam]
Returns -> ErrorResults
'''
if params is not None and not isinstance(params, (bytes, str, list)):
... |
SetMachineStatus sets the current upgrade-series status of a machine.
params : typing.Sequence[~UpgradeSeriesStatusParam]
Returns -> ErrorResults
| SetMachineStatus sets the current upgrade-series status of a machine. | [
"SetMachineStatus",
"sets",
"the",
"current",
"upgrade",
"-",
"series",
"status",
"of",
"a",
"machine",
"."
] | async def SetMachineStatus(self, params=None):
if params is not None and not isinstance(params, (bytes, str, list)):
raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
_params = dict()
msg = dict(type='UpgradeSeries',
request='Se... | [
"async",
"def",
"SetMachineStatus",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"params",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"params",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | SetMachineStatus sets the current upgrade-series status of a machine. | [
"SetMachineStatus",
"sets",
"the",
"current",
"upgrade",
"-",
"series",
"status",
"of",
"a",
"machine",
"."
] | [
"'''\n SetMachineStatus sets the current upgrade-series status of a machine.\n\n params : typing.Sequence[~UpgradeSeriesStatusParam]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "params",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "params",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | SetUpgradeSeriesUnitStatus | <not_specific> | async def SetUpgradeSeriesUnitStatus(self, params=None):
'''
SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
If no upgrade is in progress an error is returned instead.
params : typing.Sequence[~UpgradeSeriesStatusParam]
Returns -> ErrorResults
'''
... |
SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
If no upgrade is in progress an error is returned instead.
params : typing.Sequence[~UpgradeSeriesStatusParam]
Returns -> ErrorResults
| SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
If no upgrade is in progress an error is returned instead.
| [
"SetUpgradeSeriesUnitStatus",
"sets",
"the",
"upgrade",
"series",
"status",
"of",
"the",
"unit",
".",
"If",
"no",
"upgrade",
"is",
"in",
"progress",
"an",
"error",
"is",
"returned",
"instead",
"."
] | async def SetUpgradeSeriesUnitStatus(self, params=None):
if params is not None and not isinstance(params, (bytes, str, list)):
raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
_params = dict()
msg = dict(type='UpgradeSeries',
r... | [
"async",
"def",
"SetUpgradeSeriesUnitStatus",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"params",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"params",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit. | [
"SetUpgradeSeriesUnitStatus",
"sets",
"the",
"upgrade",
"series",
"status",
"of",
"the",
"unit",
"."
] | [
"'''\n SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.\n If no upgrade is in progress an error is returned instead.\n\n params : typing.Sequence[~UpgradeSeriesStatusParam]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "params",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "params",
"type": null,
"docstring": null,
"docstring_tokens":... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | StartUnitCompletion | <not_specific> | async def StartUnitCompletion(self, entities=None, message=None):
'''
StartUnitCompletion starts the upgrade series completion phase for all subordinate
units of a given machine.
entities : typing.Sequence[~Entity]
message : str
Returns -> ErrorResults
'''
... |
StartUnitCompletion starts the upgrade series completion phase for all subordinate
units of a given machine.
entities : typing.Sequence[~Entity]
message : str
Returns -> ErrorResults
| StartUnitCompletion starts the upgrade series completion phase for all subordinate
units of a given machine.
entities : typing.Sequence[~Entity]
message : str
Returns -> ErrorResults | [
"StartUnitCompletion",
"starts",
"the",
"upgrade",
"series",
"completion",
"phase",
"for",
"all",
"subordinate",
"units",
"of",
"a",
"given",
"machine",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"message",
":",
"str",
"Returns",
"-"... | async def StartUnitCompletion(self, entities=None, message=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
if message is not None and not isinstance(message, (bytes, st... | [
"async",
"def",
"StartUnitCompletion",
"(",
"self",
",",
"entities",
"=",
"None",
",",
"message",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")"... | StartUnitCompletion starts the upgrade series completion phase for all subordinate
units of a given machine. | [
"StartUnitCompletion",
"starts",
"the",
"upgrade",
"series",
"completion",
"phase",
"for",
"all",
"subordinate",
"units",
"of",
"a",
"given",
"machine",
"."
] | [
"'''\n StartUnitCompletion starts the upgrade series completion phase for all subordinate\n units of a given machine.\n\n entities : typing.Sequence[~Entity]\n message : str\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
},
{
"param": "message",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | TargetSeries | <not_specific> | async def TargetSeries(self, entities=None):
'''
TargetSeries returns the series that a machine has been locked
for upgrading to.
entities : typing.Sequence[~Entity]
Returns -> StringResults
'''
if entities is not None and not isinstance(entities, (bytes, str, li... |
TargetSeries returns the series that a machine has been locked
for upgrading to.
entities : typing.Sequence[~Entity]
Returns -> StringResults
| TargetSeries returns the series that a machine has been locked
for upgrading to.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"TargetSeries",
"returns",
"the",
"series",
"that",
"a",
"machine",
"has",
"been",
"locked",
"for",
"upgrading",
"to",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringResults"
] | async def TargetSeries(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
reque... | [
"async",
"def",
"TargetSeries",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | TargetSeries returns the series that a machine has been locked
for upgrading to. | [
"TargetSeries",
"returns",
"the",
"series",
"that",
"a",
"machine",
"has",
"been",
"locked",
"for",
"upgrading",
"to",
"."
] | [
"'''\n TargetSeries returns the series that a machine has been locked\n for upgrading to.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | UnitsCompleted | <not_specific> | async def UnitsCompleted(self, entities=None):
'''
UnitsCompleted returns the units running on this machine that have completed
the upgrade-series workflow and are in their normal running state.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults
'''
i... |
UnitsCompleted returns the units running on this machine that have completed
the upgrade-series workflow and are in their normal running state.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults
| UnitsCompleted returns the units running on this machine that have completed
the upgrade-series workflow and are in their normal running state.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults | [
"UnitsCompleted",
"returns",
"the",
"units",
"running",
"on",
"this",
"machine",
"that",
"have",
"completed",
"the",
"upgrade",
"-",
"series",
"workflow",
"and",
"are",
"in",
"their",
"normal",
"running",
"state",
".",
"entities",
":",
"typing",
".",
"Sequence... | async def UnitsCompleted(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
req... | [
"async",
"def",
"UnitsCompleted",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | UnitsCompleted returns the units running on this machine that have completed
the upgrade-series workflow and are in their normal running state. | [
"UnitsCompleted",
"returns",
"the",
"units",
"running",
"on",
"this",
"machine",
"that",
"have",
"completed",
"the",
"upgrade",
"-",
"series",
"workflow",
"and",
"are",
"in",
"their",
"normal",
"running",
"state",
"."
] | [
"'''\n UnitsCompleted returns the units running on this machine that have completed\n the upgrade-series workflow and are in their normal running state.\n\n entities : typing.Sequence[~Entity]\n Returns -> EntitiesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | UnitsPrepared | <not_specific> | async def UnitsPrepared(self, entities=None):
'''
UnitsPrepared returns the units running on this machine that have completed
their upgrade-series preparation, and are ready to be stopped and have their
unit agent services converted for the target series.
entities : typing.Seque... |
UnitsPrepared returns the units running on this machine that have completed
their upgrade-series preparation, and are ready to be stopped and have their
unit agent services converted for the target series.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults
| UnitsPrepared returns the units running on this machine that have completed
their upgrade-series preparation, and are ready to be stopped and have their
unit agent services converted for the target series.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults | [
"UnitsPrepared",
"returns",
"the",
"units",
"running",
"on",
"this",
"machine",
"that",
"have",
"completed",
"their",
"upgrade",
"-",
"series",
"preparation",
"and",
"are",
"ready",
"to",
"be",
"stopped",
"and",
"have",
"their",
"unit",
"agent",
"services",
"c... | async def UnitsPrepared(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
requ... | [
"async",
"def",
"UnitsPrepared",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | UnitsPrepared returns the units running on this machine that have completed
their upgrade-series preparation, and are ready to be stopped and have their
unit agent services converted for the target series. | [
"UnitsPrepared",
"returns",
"the",
"units",
"running",
"on",
"this",
"machine",
"that",
"have",
"completed",
"their",
"upgrade",
"-",
"series",
"preparation",
"and",
"are",
"ready",
"to",
"be",
"stopped",
"and",
"have",
"their",
"unit",
"agent",
"services",
"c... | [
"'''\n UnitsPrepared returns the units running on this machine that have completed\n their upgrade-series preparation, and are ready to be stopped and have their\n unit agent services converted for the target series.\n\n entities : typing.Sequence[~Entity]\n Returns -> EntitiesRes... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | UnpinMachineApplications | <not_specific> | async def UnpinMachineApplications(self):
'''
UnpinMachineApplications unpins leadership for applications represented by
units running on the auth'd machine.
Returns -> PinApplicationsResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(... |
UnpinMachineApplications unpins leadership for applications represented by
units running on the auth'd machine.
Returns -> PinApplicationsResults
| UnpinMachineApplications unpins leadership for applications represented by
units running on the auth'd machine.
| [
"UnpinMachineApplications",
"unpins",
"leadership",
"for",
"applications",
"represented",
"by",
"units",
"running",
"on",
"the",
"auth",
"'",
"d",
"machine",
"."
] | async def UnpinMachineApplications(self):
_params = dict()
msg = dict(type='UpgradeSeries',
request='UnpinMachineApplications',
version=3,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"UnpinMachineApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'UpgradeSeries'",
",",
"request",
"=",
"'UnpinMachineApplications'",
",",
"version",
"=",
"3",
",",
"params",
"=",
"... | UnpinMachineApplications unpins leadership for applications represented by
units running on the auth'd machine. | [
"UnpinMachineApplications",
"unpins",
"leadership",
"for",
"applications",
"represented",
"by",
"units",
"running",
"on",
"the",
"auth",
"'",
"d",
"machine",
"."
] | [
"'''\n UnpinMachineApplications unpins leadership for applications represented by\n units running on the auth'd machine.\n\n\n Returns -> PinApplicationsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | UpgradeSeriesUnitStatus | <not_specific> | async def UpgradeSeriesUnitStatus(self, entities=None):
'''
UpgradeSeriesUnitStatus returns the current preparation status of an
upgrading unit.
If no series upgrade is in progress an error is returned instead.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeries... |
UpgradeSeriesUnitStatus returns the current preparation status of an
upgrading unit.
If no series upgrade is in progress an error is returned instead.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeriesStatusResults
| UpgradeSeriesUnitStatus returns the current preparation status of an
upgrading unit.
If no series upgrade is in progress an error is returned instead.
entities : typing.Sequence[~Entity]
Returns -> UpgradeSeriesStatusResults | [
"UpgradeSeriesUnitStatus",
"returns",
"the",
"current",
"preparation",
"status",
"of",
"an",
"upgrading",
"unit",
".",
"If",
"no",
"series",
"upgrade",
"is",
"in",
"progress",
"an",
"error",
"is",
"returned",
"instead",
".",
"entities",
":",
"typing",
".",
"Se... | async def UpgradeSeriesUnitStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
... | [
"async",
"def",
"UpgradeSeriesUnitStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exc... | UpgradeSeriesUnitStatus returns the current preparation status of an
upgrading unit. | [
"UpgradeSeriesUnitStatus",
"returns",
"the",
"current",
"preparation",
"status",
"of",
"an",
"upgrading",
"unit",
"."
] | [
"'''\n UpgradeSeriesUnitStatus returns the current preparation status of an\n upgrading unit.\n If no series upgrade is in progress an error is returned instead.\n\n entities : typing.Sequence[~Entity]\n Returns -> UpgradeSeriesStatusResults\n '''",
"# map input types to ... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f1c5edd2764131b66760835a53f04b87b39c931a | sed-i/python-libjuju | juju/client/_client3.py | [
"Apache-2.0"
] | Python | WatchUpgradeSeriesNotifications | <not_specific> | async def WatchUpgradeSeriesNotifications(self, entities=None):
'''
WatchUpgradeSeriesNotifications returns a NotifyWatcher for observing changes to upgrade series locks.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and no... |
WatchUpgradeSeriesNotifications returns a NotifyWatcher for observing changes to upgrade series locks.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchUpgradeSeriesNotifications returns a NotifyWatcher for observing changes to upgrade series locks.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchUpgradeSeriesNotifications",
"returns",
"a",
"NotifyWatcher",
"for",
"observing",
"changes",
"to",
"upgrade",
"series",
"locks",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchUpgradeSeriesNotifications(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='UpgradeSeries',
... | [
"async",
"def",
"WatchUpgradeSeriesNotifications",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise"... | WatchUpgradeSeriesNotifications returns a NotifyWatcher for observing changes to upgrade series locks. | [
"WatchUpgradeSeriesNotifications",
"returns",
"a",
"NotifyWatcher",
"for",
"observing",
"changes",
"to",
"upgrade",
"series",
"locks",
"."
] | [
"'''\n WatchUpgradeSeriesNotifications returns a NotifyWatcher for observing changes to upgrade series locks.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | AddCredentials | <not_specific> | async def AddCredentials(self, credentials=None):
'''
AddCredentials adds new credentials.
In contrast to UpdateCredentials() below, the new credentials can be
for a cloud that the controller does not manage (this is required
for CAAS models)
credentials : typing.Sequenc... |
AddCredentials adds new credentials.
In contrast to UpdateCredentials() below, the new credentials can be
for a cloud that the controller does not manage (this is required
for CAAS models)
credentials : typing.Sequence[~TaggedCredential]
Returns -> ErrorResults
| AddCredentials adds new credentials.
In contrast to UpdateCredentials() below, the new credentials can be
for a cloud that the controller does not manage (this is required
for CAAS models)
| [
"AddCredentials",
"adds",
"new",
"credentials",
".",
"In",
"contrast",
"to",
"UpdateCredentials",
"()",
"below",
"the",
"new",
"credentials",
"can",
"be",
"for",
"a",
"cloud",
"that",
"the",
"controller",
"does",
"not",
"manage",
"(",
"this",
"is",
"required",... | async def AddCredentials(self, credentials=None):
if credentials is not None and not isinstance(credentials, (bytes, str, list)):
raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
_params = dict()
msg = dict(type='Cloud',
... | [
"async",
"def",
"AddCredentials",
"(",
"self",
",",
"credentials",
"=",
"None",
")",
":",
"if",
"credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"credentials",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exc... | AddCredentials adds new credentials. | [
"AddCredentials",
"adds",
"new",
"credentials",
"."
] | [
"'''\n AddCredentials adds new credentials.\n In contrast to UpdateCredentials() below, the new credentials can be\n for a cloud that the controller does not manage (this is required\n for CAAS models)\n\n credentials : typing.Sequence[~TaggedCredential]\n Returns -> ErrorR... | [
{
"param": "self",
"type": null
},
{
"param": "credentials",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "credentials",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | CheckCredentialsModels | <not_specific> | async def CheckCredentialsModels(self, credentials=None):
'''
CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials.
If there are any models that are using a credential and these models or their
cloud instances ar... |
CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials.
If there are any models that are using a credential and these models or their
cloud instances are not going to be accessible with corresponding credential,
t... | CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials.
If there are any models that are using a credential and these models or their
cloud instances are not going to be accessible with corresponding credential,
there will be detailed validation errors p... | [
"CheckCredentialsModels",
"validates",
"supplied",
"cloud",
"credentials",
"'",
"content",
"against",
"models",
"that",
"currently",
"use",
"these",
"credentials",
".",
"If",
"there",
"are",
"any",
"models",
"that",
"are",
"using",
"a",
"credential",
"and",
"these... | async def CheckCredentialsModels(self, credentials=None):
if credentials is not None and not isinstance(credentials, (bytes, str, list)):
raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
_params = dict()
msg = dict(type='Cloud',
... | [
"async",
"def",
"CheckCredentialsModels",
"(",
"self",
",",
"credentials",
"=",
"None",
")",
":",
"if",
"credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"credentials",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise"... | CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials. | [
"CheckCredentialsModels",
"validates",
"supplied",
"cloud",
"credentials",
"'",
"content",
"against",
"models",
"that",
"currently",
"use",
"these",
"credentials",
"."
] | [
"'''\n CheckCredentialsModels validates supplied cloud credentials' content against\n models that currently use these credentials.\n If there are any models that are using a credential and these models or their\n cloud instances are not going to be accessible with corresponding credentia... | [
{
"param": "self",
"type": null
},
{
"param": "credentials",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "credentials",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | Cloud | <not_specific> | async def Cloud(self, entities=None):
'''
Cloud returns the cloud definitions for the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("... |
Cloud returns the cloud definitions for the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudResults
| Cloud returns the cloud definitions for the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudResults | [
"Cloud",
"returns",
"the",
"cloud",
"definitions",
"for",
"the",
"specified",
"clouds",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"CloudResults"
] | async def Cloud(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Cloud',
request='Cloud',
... | [
"async",
"def",
"Cloud",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Cloud returns the cloud definitions for the specified clouds. | [
"Cloud",
"returns",
"the",
"cloud",
"definitions",
"for",
"the",
"specified",
"clouds",
"."
] | [
"'''\n Cloud returns the cloud definitions for the specified clouds.\n\n entities : typing.Sequence[~Entity]\n Returns -> CloudResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | CloudInfo | <not_specific> | async def CloudInfo(self, entities=None):
'''
CloudInfo returns information about the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudInfoResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Excepti... |
CloudInfo returns information about the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudInfoResults
| CloudInfo returns information about the specified clouds.
entities : typing.Sequence[~Entity]
Returns -> CloudInfoResults | [
"CloudInfo",
"returns",
"information",
"about",
"the",
"specified",
"clouds",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"CloudInfoResults"
] | async def CloudInfo(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Cloud',
request='CloudIn... | [
"async",
"def",
"CloudInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | CloudInfo returns information about the specified clouds. | [
"CloudInfo",
"returns",
"information",
"about",
"the",
"specified",
"clouds",
"."
] | [
"'''\n CloudInfo returns information about the specified clouds.\n\n entities : typing.Sequence[~Entity]\n Returns -> CloudInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | Clouds | <not_specific> | async def Clouds(self):
'''
Clouds returns the definitions of all clouds supported by the controller
that the logged in user can see.
Returns -> CloudsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Cloud',
r... |
Clouds returns the definitions of all clouds supported by the controller
that the logged in user can see.
Returns -> CloudsResult
| Clouds returns the definitions of all clouds supported by the controller
that the logged in user can see.
| [
"Clouds",
"returns",
"the",
"definitions",
"of",
"all",
"clouds",
"supported",
"by",
"the",
"controller",
"that",
"the",
"logged",
"in",
"user",
"can",
"see",
"."
] | async def Clouds(self):
_params = dict()
msg = dict(type='Cloud',
request='Clouds',
version=7,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Clouds",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Cloud'",
",",
"request",
"=",
"'Clouds'",
",",
"version",
"=",
"7",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"await"... | Clouds returns the definitions of all clouds supported by the controller
that the logged in user can see. | [
"Clouds",
"returns",
"the",
"definitions",
"of",
"all",
"clouds",
"supported",
"by",
"the",
"controller",
"that",
"the",
"logged",
"in",
"user",
"can",
"see",
"."
] | [
"'''\n Clouds returns the definitions of all clouds supported by the controller\n that the logged in user can see.\n\n\n Returns -> CloudsResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | Credential | <not_specific> | async def Credential(self, entities=None):
'''
Credential returns the specified cloud credential for each tag, minus secrets.
entities : typing.Sequence[~Entity]
Returns -> CloudCredentialResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)... |
Credential returns the specified cloud credential for each tag, minus secrets.
entities : typing.Sequence[~Entity]
Returns -> CloudCredentialResults
| Credential returns the specified cloud credential for each tag, minus secrets.
entities : typing.Sequence[~Entity]
Returns -> CloudCredentialResults | [
"Credential",
"returns",
"the",
"specified",
"cloud",
"credential",
"for",
"each",
"tag",
"minus",
"secrets",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"CloudCredentialResults"
] | async def Credential(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Cloud',
request='Creden... | [
"async",
"def",
"Credential",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | Credential returns the specified cloud credential for each tag, minus secrets. | [
"Credential",
"returns",
"the",
"specified",
"cloud",
"credential",
"for",
"each",
"tag",
"minus",
"secrets",
"."
] | [
"'''\n Credential returns the specified cloud credential for each tag, minus secrets.\n\n entities : typing.Sequence[~Entity]\n Returns -> CloudCredentialResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | CredentialContents | <not_specific> | async def CredentialContents(self, credentials=None, include_secrets=None):
'''
CredentialContents returns the specified cloud credentials,
including the secrets if requested.
If no specific credential name/cloud was passed in, all credentials for this user
are returned.
... |
CredentialContents returns the specified cloud credentials,
including the secrets if requested.
If no specific credential name/cloud was passed in, all credentials for this user
are returned.
Only credential owner can see its contents as well as what models use it.
Contr... | CredentialContents returns the specified cloud credentials,
including the secrets if requested.
If no specific credential name/cloud was passed in, all credentials for this user
are returned.
Only credential owner can see its contents as well as what models use it.
Controller admin has no special superpowers here and i... | [
"CredentialContents",
"returns",
"the",
"specified",
"cloud",
"credentials",
"including",
"the",
"secrets",
"if",
"requested",
".",
"If",
"no",
"specific",
"credential",
"name",
"/",
"cloud",
"was",
"passed",
"in",
"all",
"credentials",
"for",
"this",
"user",
"a... | async def CredentialContents(self, credentials=None, include_secrets=None):
if credentials is not None and not isinstance(credentials, (bytes, str, list)):
raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
if include_secrets is not None and not ... | [
"async",
"def",
"CredentialContents",
"(",
"self",
",",
"credentials",
"=",
"None",
",",
"include_secrets",
"=",
"None",
")",
":",
"if",
"credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"credentials",
",",
"(",
"bytes",
",",
"str",
",",... | CredentialContents returns the specified cloud credentials,
including the secrets if requested. | [
"CredentialContents",
"returns",
"the",
"specified",
"cloud",
"credentials",
"including",
"the",
"secrets",
"if",
"requested",
"."
] | [
"'''\n CredentialContents returns the specified cloud credentials,\n including the secrets if requested.\n If no specific credential name/cloud was passed in, all credentials for this user\n are returned.\n Only credential owner can see its contents as well as what models use it.\... | [
{
"param": "self",
"type": null
},
{
"param": "credentials",
"type": null
},
{
"param": "include_secrets",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "credentials",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | InstanceTypes | <not_specific> | async def InstanceTypes(self, constraints=None):
'''
InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
constraints : typing.Sequence[~CloudInstanceTypesConstraint]
Returns -> InstanceTypesResults
'''
... |
InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
constraints : typing.Sequence[~CloudInstanceTypesConstraint]
Returns -> InstanceTypesResults
| InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
| [
"InstanceTypes",
"returns",
"instance",
"type",
"information",
"for",
"the",
"cloud",
"and",
"region",
"in",
"which",
"the",
"current",
"model",
"is",
"deployed",
"."
] | async def InstanceTypes(self, constraints=None):
if constraints is not None and not isinstance(constraints, (bytes, str, list)):
raise Exception("Expected constraints to be a Sequence, received: {}".format(type(constraints)))
_params = dict()
msg = dict(type='Cloud',
... | [
"async",
"def",
"InstanceTypes",
"(",
"self",
",",
"constraints",
"=",
"None",
")",
":",
"if",
"constraints",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"constraints",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed. | [
"InstanceTypes",
"returns",
"instance",
"type",
"information",
"for",
"the",
"cloud",
"and",
"region",
"in",
"which",
"the",
"current",
"model",
"is",
"deployed",
"."
] | [
"'''\n InstanceTypes returns instance type information for the cloud and region\n in which the current model is deployed.\n\n constraints : typing.Sequence[~CloudInstanceTypesConstraint]\n Returns -> InstanceTypesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "constraints",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "constraints",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | ListCloudInfo | <not_specific> | async def ListCloudInfo(self, all_=None, user_tag=None):
'''
ListCloudInfo returns clouds that the specified user has access to.
Controller admins (superuser) can list clouds for any user.
Other users can only ask about their own clouds.
all_ : bool
user_tag : str
... |
ListCloudInfo returns clouds that the specified user has access to.
Controller admins (superuser) can list clouds for any user.
Other users can only ask about their own clouds.
all_ : bool
user_tag : str
Returns -> ListCloudInfoResults
| ListCloudInfo returns clouds that the specified user has access to.
Controller admins (superuser) can list clouds for any user.
Other users can only ask about their own clouds.
all_ : bool
user_tag : str
Returns -> ListCloudInfoResults | [
"ListCloudInfo",
"returns",
"clouds",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
".",
"Controller",
"admins",
"(",
"superuser",
")",
"can",
"list",
"clouds",
"for",
"any",
"user",
".",
"Other",
"users",
"can",
"only",
"ask",
"about",
"their",... | async def ListCloudInfo(self, all_=None, user_tag=None):
if all_ is not None and not isinstance(all_, bool):
raise Exception("Expected all_ to be a bool, received: {}".format(type(all_)))
if user_tag is not None and not isinstance(user_tag, (bytes, str)):
raise Exception("Expecte... | [
"async",
"def",
"ListCloudInfo",
"(",
"self",
",",
"all_",
"=",
"None",
",",
"user_tag",
"=",
"None",
")",
":",
"if",
"all_",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"all_",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Expected al... | ListCloudInfo returns clouds that the specified user has access to. | [
"ListCloudInfo",
"returns",
"clouds",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
"."
] | [
"'''\n ListCloudInfo returns clouds that the specified user has access to.\n Controller admins (superuser) can list clouds for any user.\n Other users can only ask about their own clouds.\n\n all_ : bool\n user_tag : str\n Returns -> ListCloudInfoResults\n '''",
"#... | [
{
"param": "self",
"type": null
},
{
"param": "all_",
"type": null
},
{
"param": "user_tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "all_",
"type": null,
"docstring": null,
"docstring_tokens": [... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | ModifyCloudAccess | <not_specific> | async def ModifyCloudAccess(self, changes=None):
'''
ModifyCloudAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyCloudAccess]
Returns -> ErrorResults
'''
if changes is not None and not isinstance(changes, (bytes, str, list)):
... |
ModifyCloudAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyCloudAccess]
Returns -> ErrorResults
| ModifyCloudAccess changes the model access granted to users. | [
"ModifyCloudAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | async def ModifyCloudAccess(self, changes=None):
if changes is not None and not isinstance(changes, (bytes, str, list)):
raise Exception("Expected changes to be a Sequence, received: {}".format(type(changes)))
_params = dict()
msg = dict(type='Cloud',
request='Modi... | [
"async",
"def",
"ModifyCloudAccess",
"(",
"self",
",",
"changes",
"=",
"None",
")",
":",
"if",
"changes",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"changes",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | ModifyCloudAccess changes the model access granted to users. | [
"ModifyCloudAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | [
"'''\n ModifyCloudAccess changes the model access granted to users.\n\n changes : typing.Sequence[~ModifyCloudAccess]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "changes",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "changes",
"type": null,
"docstring": null,
"docstring_tokens"... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | RemoveClouds | <not_specific> | async def RemoveClouds(self, entities=None):
'''
RemoveClouds removes the specified clouds from the controller.
If a cloud is in use (has models deployed to it), the removal will fail.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is... |
RemoveClouds removes the specified clouds from the controller.
If a cloud is in use (has models deployed to it), the removal will fail.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| RemoveClouds removes the specified clouds from the controller.
If a cloud is in use (has models deployed to it), the removal will fail.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"RemoveClouds",
"removes",
"the",
"specified",
"clouds",
"from",
"the",
"controller",
".",
"If",
"a",
"cloud",
"is",
"in",
"use",
"(",
"has",
"models",
"deployed",
"to",
"it",
")",
"the",
"removal",
"will",
"fail",
".",
"entities",
":",
"typing",
".",
"S... | async def RemoveClouds(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Cloud',
request='Remo... | [
"async",
"def",
"RemoveClouds",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | RemoveClouds removes the specified clouds from the controller. | [
"RemoveClouds",
"removes",
"the",
"specified",
"clouds",
"from",
"the",
"controller",
"."
] | [
"'''\n RemoveClouds removes the specified clouds from the controller.\n If a cloud is in use (has models deployed to it), the removal will fail.\n\n entities : typing.Sequence[~Entity]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | RevokeCredentialsCheckModels | <not_specific> | async def RevokeCredentialsCheckModels(self, credentials=None):
'''
RevokeCredentialsCheckModels revokes a set of cloud credentials.
If the credentials are used by any of the models, the credential deletion will be aborted.
If credential-in-use needs to be revoked nonetheless, this metho... |
RevokeCredentialsCheckModels revokes a set of cloud credentials.
If the credentials are used by any of the models, the credential deletion will be aborted.
If credential-in-use needs to be revoked nonetheless, this method allows the use of force.
credentials : typing.Sequence[~RevokeCr... | RevokeCredentialsCheckModels revokes a set of cloud credentials.
If the credentials are used by any of the models, the credential deletion will be aborted.
If credential-in-use needs to be revoked nonetheless, this method allows the use of force.
| [
"RevokeCredentialsCheckModels",
"revokes",
"a",
"set",
"of",
"cloud",
"credentials",
".",
"If",
"the",
"credentials",
"are",
"used",
"by",
"any",
"of",
"the",
"models",
"the",
"credential",
"deletion",
"will",
"be",
"aborted",
".",
"If",
"credential",
"-",
"in... | async def RevokeCredentialsCheckModels(self, credentials=None):
if credentials is not None and not isinstance(credentials, (bytes, str, list)):
raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
_params = dict()
msg = dict(type='Cloud',
... | [
"async",
"def",
"RevokeCredentialsCheckModels",
"(",
"self",
",",
"credentials",
"=",
"None",
")",
":",
"if",
"credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"credentials",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"... | RevokeCredentialsCheckModels revokes a set of cloud credentials. | [
"RevokeCredentialsCheckModels",
"revokes",
"a",
"set",
"of",
"cloud",
"credentials",
"."
] | [
"'''\n RevokeCredentialsCheckModels revokes a set of cloud credentials.\n If the credentials are used by any of the models, the credential deletion will be aborted.\n If credential-in-use needs to be revoked nonetheless, this method allows the use of force.\n\n credentials : typing.Seque... | [
{
"param": "self",
"type": null
},
{
"param": "credentials",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "credentials",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | UpdateCloud | <not_specific> | async def UpdateCloud(self, clouds=None):
'''
UpdateCloud updates an existing cloud that the controller knows about.
clouds : typing.Sequence[~AddCloudArgs]
Returns -> ErrorResults
'''
if clouds is not None and not isinstance(clouds, (bytes, str, list)):
rais... |
UpdateCloud updates an existing cloud that the controller knows about.
clouds : typing.Sequence[~AddCloudArgs]
Returns -> ErrorResults
| UpdateCloud updates an existing cloud that the controller knows about. | [
"UpdateCloud",
"updates",
"an",
"existing",
"cloud",
"that",
"the",
"controller",
"knows",
"about",
"."
] | async def UpdateCloud(self, clouds=None):
if clouds is not None and not isinstance(clouds, (bytes, str, list)):
raise Exception("Expected clouds to be a Sequence, received: {}".format(type(clouds)))
_params = dict()
msg = dict(type='Cloud',
request='UpdateCloud',
... | [
"async",
"def",
"UpdateCloud",
"(",
"self",
",",
"clouds",
"=",
"None",
")",
":",
"if",
"clouds",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"clouds",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | UpdateCloud updates an existing cloud that the controller knows about. | [
"UpdateCloud",
"updates",
"an",
"existing",
"cloud",
"that",
"the",
"controller",
"knows",
"about",
"."
] | [
"'''\n UpdateCloud updates an existing cloud that the controller knows about.\n\n clouds : typing.Sequence[~AddCloudArgs]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "clouds",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "clouds",
"type": null,
"docstring": null,
"docstring_tokens":... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | UpdateCredentialsCheckModels | <not_specific> | async def UpdateCredentialsCheckModels(self, credentials=None, force=None):
'''
UpdateCredentialsCheckModels updates a set of cloud credentials' content.
If there are any models that are using a credential and these models
are not going to be visible with updated credential content,
... |
UpdateCredentialsCheckModels updates a set of cloud credentials' content.
If there are any models that are using a credential and these models
are not going to be visible with updated credential content,
there will be detailed validation errors per model. Such model errors are returned... | UpdateCredentialsCheckModels updates a set of cloud credentials' content.
If there are any models that are using a credential and these models
are not going to be visible with updated credential content,
there will be detailed validation errors per model. Such model errors are returned
separately and do not contribute... | [
"UpdateCredentialsCheckModels",
"updates",
"a",
"set",
"of",
"cloud",
"credentials",
"'",
"content",
".",
"If",
"there",
"are",
"any",
"models",
"that",
"are",
"using",
"a",
"credential",
"and",
"these",
"models",
"are",
"not",
"going",
"to",
"be",
"visible",
... | async def UpdateCredentialsCheckModels(self, credentials=None, force=None):
if credentials is not None and not isinstance(credentials, (bytes, str, list)):
raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
if force is not None and not isinstance... | [
"async",
"def",
"UpdateCredentialsCheckModels",
"(",
"self",
",",
"credentials",
"=",
"None",
",",
"force",
"=",
"None",
")",
":",
"if",
"credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"credentials",
",",
"(",
"bytes",
",",
"str",
",",... | UpdateCredentialsCheckModels updates a set of cloud credentials' content. | [
"UpdateCredentialsCheckModels",
"updates",
"a",
"set",
"of",
"cloud",
"credentials",
"'",
"content",
"."
] | [
"'''\n UpdateCredentialsCheckModels updates a set of cloud credentials' content.\n If there are any models that are using a credential and these models\n are not going to be visible with updated credential content,\n there will be detailed validation errors per model. Such model errors ... | [
{
"param": "self",
"type": null
},
{
"param": "credentials",
"type": null
},
{
"param": "force",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "credentials",
"type": null,
"docstring": null,
"docstring_tok... |
5fbd7b178fb8af05fc73e4920efeaf7a62debff3 | sed-i/python-libjuju | juju/client/_client7.py | [
"Apache-2.0"
] | Python | UserCredentials | <not_specific> | async def UserCredentials(self, user_clouds=None):
'''
UserCredentials returns the cloud credentials for a set of users.
user_clouds : typing.Sequence[~UserCloud]
Returns -> StringsResults
'''
if user_clouds is not None and not isinstance(user_clouds, (bytes, str, list))... |
UserCredentials returns the cloud credentials for a set of users.
user_clouds : typing.Sequence[~UserCloud]
Returns -> StringsResults
| UserCredentials returns the cloud credentials for a set of users. | [
"UserCredentials",
"returns",
"the",
"cloud",
"credentials",
"for",
"a",
"set",
"of",
"users",
"."
] | async def UserCredentials(self, user_clouds=None):
if user_clouds is not None and not isinstance(user_clouds, (bytes, str, list)):
raise Exception("Expected user_clouds to be a Sequence, received: {}".format(type(user_clouds)))
_params = dict()
msg = dict(type='Cloud',
... | [
"async",
"def",
"UserCredentials",
"(",
"self",
",",
"user_clouds",
"=",
"None",
")",
":",
"if",
"user_clouds",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"user_clouds",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Ex... | UserCredentials returns the cloud credentials for a set of users. | [
"UserCredentials",
"returns",
"the",
"cloud",
"credentials",
"for",
"a",
"set",
"of",
"users",
"."
] | [
"'''\n UserCredentials returns the cloud credentials for a set of users.\n\n user_clouds : typing.Sequence[~UserCloud]\n Returns -> StringsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "user_clouds",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "user_clouds",
"type": null,
"docstring": null,
"docstring_tok... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ClearReboot | <not_specific> | async def ClearReboot(self, entities=None):
'''
ClearReboot will clear the reboot flag on provided machines, if it exists.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
ClearReboot will clear the reboot flag on provided machines, if it exists.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| ClearReboot will clear the reboot flag on provided machines, if it exists.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"ClearReboot",
"will",
"clear",
"the",
"reboot",
"flag",
"on",
"provided",
"machines",
"if",
"it",
"exists",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def ClearReboot(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Agent',
request='Clear... | [
"async",
"def",
"ClearReboot",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"... | ClearReboot will clear the reboot flag on provided machines, if it exists. | [
"ClearReboot",
"will",
"clear",
"the",
"reboot",
"flag",
"on",
"provided",
"machines",
"if",
"it",
"exists",
"."
] | [
"'''\n ClearReboot will clear the reboot flag on provided machines, if it exists.\n\n entities : typing.Sequence[~Entity]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ControllerAPIInfoForModels | <not_specific> | async def ControllerAPIInfoForModels(self, entities=None):
'''
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
'''
if entities is not None and not i... |
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
| ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ControllerAPIInfoResults"
] | async def ControllerAPIInfoForModels(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Agent',
... | [
"async",
"def",
"ControllerAPIInfoForModels",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"... | ControllerAPIInfoForModels returns the controller api connection details for the specified models. | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
"."
] | [
"'''\n ControllerAPIInfoForModels returns the controller api connection details for the specified models.\n\n entities : typing.Sequence[~Entity]\n Returns -> ControllerAPIInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ControllerConfig | <not_specific> | async def ControllerConfig(self):
'''
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Agent',
request='ControllerConfig',
... |
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
| ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | async def ControllerConfig(self):
_params = dict()
msg = dict(type='Agent',
request='ControllerConfig',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Agent'",
",",
"request",
"=",
"'ControllerConfig'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"repl... | ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | [
"'''\n ControllerConfig returns the controller's configuration.\n\n\n Returns -> ControllerConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | GetCloudSpec | <not_specific> | async def GetCloudSpec(self):
'''
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Agent',
request='GetCloudSpec',
... |
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
| GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | async def GetCloudSpec(self):
_params = dict()
msg = dict(type='Agent',
request='GetCloudSpec',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"GetCloudSpec",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Agent'",
",",
"request",
"=",
"'GetCloudSpec'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply",
"=... | GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | [
"'''\n GetCloudSpec constructs the CloudSpec for a validated and authorized model.\n\n\n Returns -> CloudSpecResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ModelConfig | <not_specific> | async def ModelConfig(self):
'''
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Agent',
request='ModelConfig',
version=... |
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
| ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | async def ModelConfig(self):
_params = dict()
msg = dict(type='Agent',
request='ModelConfig',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Agent'",
",",
"request",
"=",
"'ModelConfig'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply",
"=",... | ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | [
"'''\n ModelConfig returns the current model's configuration.\n\n\n Returns -> ModelConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | SetPasswords | <not_specific> | async def SetPasswords(self, changes=None):
'''
SetPasswords sets the given password for each supplied entity, if possible.
changes : typing.Sequence[~EntityPassword]
Returns -> ErrorResults
'''
if changes is not None and not isinstance(changes, (bytes, str, list)):
... |
SetPasswords sets the given password for each supplied entity, if possible.
changes : typing.Sequence[~EntityPassword]
Returns -> ErrorResults
| SetPasswords sets the given password for each supplied entity, if possible. | [
"SetPasswords",
"sets",
"the",
"given",
"password",
"for",
"each",
"supplied",
"entity",
"if",
"possible",
"."
] | async def SetPasswords(self, changes=None):
if changes is not None and not isinstance(changes, (bytes, str, list)):
raise Exception("Expected changes to be a Sequence, received: {}".format(type(changes)))
_params = dict()
msg = dict(type='Agent',
request='SetPasswo... | [
"async",
"def",
"SetPasswords",
"(",
"self",
",",
"changes",
"=",
"None",
")",
":",
"if",
"changes",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"changes",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | SetPasswords sets the given password for each supplied entity, if possible. | [
"SetPasswords",
"sets",
"the",
"given",
"password",
"for",
"each",
"supplied",
"entity",
"if",
"possible",
"."
] | [
"'''\n SetPasswords sets the given password for each supplied entity, if possible.\n\n changes : typing.Sequence[~EntityPassword]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "changes",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "changes",
"type": null,
"docstring": null,
"docstring_tokens"... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | WatchCloudSpecsChanges | <not_specific> | async def WatchCloudSpecsChanges(self, entities=None):
'''
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchCloudSpecsChanges(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Agent',
req... | [
"async",
"def",
"WatchCloudSpecsChanges",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | WatchCloudSpecsChanges returns a watcher for cloud spec changes. | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
"."
] | [
"'''\n WatchCloudSpecsChanges returns a watcher for cloud spec changes.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | WatchCredentials | <not_specific> | async def WatchCredentials(self, entities=None):
'''
WatchCredentials watches for changes to the specified credentials.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
WatchCredentials watches for changes to the specified credentials.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchCredentials watches for changes to the specified credentials.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchCredentials",
"watches",
"for",
"changes",
"to",
"the",
"specified",
"credentials",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchCredentials(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Agent',
request='... | [
"async",
"def",
"WatchCredentials",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception"... | WatchCredentials watches for changes to the specified credentials. | [
"WatchCredentials",
"watches",
"for",
"changes",
"to",
"the",
"specified",
"credentials",
"."
] | [
"'''\n WatchCredentials watches for changes to the specified credentials.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | WatchForModelConfigChanges | <not_specific> | async def WatchForModelConfigChanges(self):
'''
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
... |
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
Retu... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
| [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
".",
"Note",
"that",
"although",
"the",
"NotifyWatchResult",
"contains",
"an",
"Error",
"field",
"it",
"'",
"s",
"not",
"used",
"be... | async def WatchForModelConfigChanges(self):
_params = dict()
msg = dict(type='Agent',
request='WatchForModelConfigChanges',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchForModelConfigChanges",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Agent'",
",",
"request",
"=",
"'WatchForModelConfigChanges'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_par... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration. | [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
"."
] | [
"'''\n WatchForModelConfigChanges returns a NotifyWatcher that observes\n changes to the model configuration.\n Note that although the NotifyWatchResult contains an Error field,\n it's not used because we are only returning a single watcher,\n so we use the regular error return.\n... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Next | <not_specific> | async def Next(self):
'''
Next will return the current state of everything on the first call
and subsequent calls will
Returns -> AllWatcherNextResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='AllModelWatcher',
... |
Next will return the current state of everything on the first call
and subsequent calls will
Returns -> AllWatcherNextResults
| Next will return the current state of everything on the first call
and subsequent calls will
| [
"Next",
"will",
"return",
"the",
"current",
"state",
"of",
"everything",
"on",
"the",
"first",
"call",
"and",
"subsequent",
"calls",
"will"
] | async def Next(self):
_params = dict()
msg = dict(type='AllModelWatcher',
request='Next',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Next",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'AllModelWatcher'",
",",
"request",
"=",
"'Next'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"... | Next will return the current state of everything on the first call
and subsequent calls will | [
"Next",
"will",
"return",
"the",
"current",
"state",
"of",
"everything",
"on",
"the",
"first",
"call",
"and",
"subsequent",
"calls",
"will"
] | [
"'''\n Next will return the current state of everything on the first call\n and subsequent calls will\n\n\n Returns -> AllWatcherNextResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Get | <not_specific> | async def Get(self, entities=None):
'''
Get returns annotations for given entities.
If annotations cannot be retrieved for a given entity, an error is returned.
Each entity is treated independently and, hence, will fail or succeed independently.
entities : typing.Sequence[~Entit... |
Get returns annotations for given entities.
If annotations cannot be retrieved for a given entity, an error is returned.
Each entity is treated independently and, hence, will fail or succeed independently.
entities : typing.Sequence[~Entity]
Returns -> AnnotationsGetResults
... | Get returns annotations for given entities.
If annotations cannot be retrieved for a given entity, an error is returned.
Each entity is treated independently and, hence, will fail or succeed independently.
entities : typing.Sequence[~Entity]
Returns -> AnnotationsGetResults | [
"Get",
"returns",
"annotations",
"for",
"given",
"entities",
".",
"If",
"annotations",
"cannot",
"be",
"retrieved",
"for",
"a",
"given",
"entity",
"an",
"error",
"is",
"returned",
".",
"Each",
"entity",
"is",
"treated",
"independently",
"and",
"hence",
"will",... | async def Get(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Annotations',
request='Get',
... | [
"async",
"def",
"Get",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\... | Get returns annotations for given entities. | [
"Get",
"returns",
"annotations",
"for",
"given",
"entities",
"."
] | [
"'''\n Get returns annotations for given entities.\n If annotations cannot be retrieved for a given entity, an error is returned.\n Each entity is treated independently and, hence, will fail or succeed independently.\n\n entities : typing.Sequence[~Entity]\n Returns -> Annotations... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Set | <not_specific> | async def Set(self, annotations=None):
'''
Set stores annotations for given entities
annotations : typing.Sequence[~EntityAnnotations]
Returns -> ErrorResults
'''
if annotations is not None and not isinstance(annotations, (bytes, str, list)):
raise Exception(... |
Set stores annotations for given entities
annotations : typing.Sequence[~EntityAnnotations]
Returns -> ErrorResults
| Set stores annotations for given entities
annotations : typing.Sequence[~EntityAnnotations]
Returns -> ErrorResults | [
"Set",
"stores",
"annotations",
"for",
"given",
"entities",
"annotations",
":",
"typing",
".",
"Sequence",
"[",
"~EntityAnnotations",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def Set(self, annotations=None):
if annotations is not None and not isinstance(annotations, (bytes, str, list)):
raise Exception("Expected annotations to be a Sequence, received: {}".format(type(annotations)))
_params = dict()
msg = dict(type='Annotations',
r... | [
"async",
"def",
"Set",
"(",
"self",
",",
"annotations",
"=",
"None",
")",
":",
"if",
"annotations",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"annotations",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | Set stores annotations for given entities
annotations : typing.Sequence[~EntityAnnotations]
Returns -> ErrorResults | [
"Set",
"stores",
"annotations",
"for",
"given",
"entities",
"annotations",
":",
"typing",
".",
"Sequence",
"[",
"~EntityAnnotations",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | [
"'''\n Set stores annotations for given entities\n\n annotations : typing.Sequence[~EntityAnnotations]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "annotations",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "annotations",
"type": null,
"docstring": null,
"docstring_tok... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | CharmRelations | <not_specific> | async def CharmRelations(self, application=None):
'''
application : str
Returns -> ApplicationCharmRelationsResults
'''
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(ty... |
application : str
Returns -> ApplicationCharmRelationsResults
| application : str
Returns -> ApplicationCharmRelationsResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"ApplicationCharmRelationsResults"
] | async def CharmRelations(self, application=None):
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(application)))
_params = dict()
msg = dict(type='Application',
r... | [
"async",
"def",
"CharmRelations",
"(",
"self",
",",
"application",
"=",
"None",
")",
":",
"if",
"application",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"application",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
... | application : str
Returns -> ApplicationCharmRelationsResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"ApplicationCharmRelationsResults"
] | [
"'''\n application : str\n Returns -> ApplicationCharmRelationsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "application",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "application",
"type": null,
"docstring": null,
"docstring_tok... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Get | <not_specific> | async def Get(self, application=None):
'''
application : str
Returns -> ApplicationGetResults
'''
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(application)))
... |
application : str
Returns -> ApplicationGetResults
| application : str
Returns -> ApplicationGetResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"ApplicationGetResults"
] | async def Get(self, application=None):
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(application)))
_params = dict()
msg = dict(type='Application',
request='Get... | [
"async",
"def",
"Get",
"(",
"self",
",",
"application",
"=",
"None",
")",
":",
"if",
"application",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"application",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expecte... | application : str
Returns -> ApplicationGetResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"ApplicationGetResults"
] | [
"'''\n application : str\n Returns -> ApplicationGetResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "application",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "application",
"type": null,
"docstring": null,
"docstring_tok... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | GetConstraints | <not_specific> | async def GetConstraints(self, application=None):
'''
application : str
Returns -> GetConstraintsResults
'''
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(applicat... |
application : str
Returns -> GetConstraintsResults
| application : str
Returns -> GetConstraintsResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"GetConstraintsResults"
] | async def GetConstraints(self, application=None):
if application is not None and not isinstance(application, (bytes, str)):
raise Exception("Expected application to be a str, received: {}".format(type(application)))
_params = dict()
msg = dict(type='Application',
r... | [
"async",
"def",
"GetConstraints",
"(",
"self",
",",
"application",
"=",
"None",
")",
":",
"if",
"application",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"application",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
... | application : str
Returns -> GetConstraintsResults | [
"application",
":",
"str",
"Returns",
"-",
">",
"GetConstraintsResults"
] | [
"'''\n application : str\n Returns -> GetConstraintsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "application",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "application",
"type": null,
"docstring": null,
"docstring_tok... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ApplicationOffers | <not_specific> | async def ApplicationOffers(self, bakery_version=None, offer_urls=None):
'''
ApplicationOffers gets details about remote applications that match given URLs.
bakery_version : int
offer_urls : typing.Sequence[str]
Returns -> ApplicationOffersResults
'''
if bakery_v... |
ApplicationOffers gets details about remote applications that match given URLs.
bakery_version : int
offer_urls : typing.Sequence[str]
Returns -> ApplicationOffersResults
| ApplicationOffers gets details about remote applications that match given URLs. | [
"ApplicationOffers",
"gets",
"details",
"about",
"remote",
"applications",
"that",
"match",
"given",
"URLs",
"."
] | async def ApplicationOffers(self, bakery_version=None, offer_urls=None):
if bakery_version is not None and not isinstance(bakery_version, int):
raise Exception("Expected bakery_version to be a int, received: {}".format(type(bakery_version)))
if offer_urls is not None and not isinstance(offer... | [
"async",
"def",
"ApplicationOffers",
"(",
"self",
",",
"bakery_version",
"=",
"None",
",",
"offer_urls",
"=",
"None",
")",
":",
"if",
"bakery_version",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"bakery_version",
",",
"int",
")",
":",
"raise",
"... | ApplicationOffers gets details about remote applications that match given URLs. | [
"ApplicationOffers",
"gets",
"details",
"about",
"remote",
"applications",
"that",
"match",
"given",
"URLs",
"."
] | [
"'''\n ApplicationOffers gets details about remote applications that match given URLs.\n\n bakery_version : int\n offer_urls : typing.Sequence[str]\n Returns -> ApplicationOffersResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "bakery_version",
"type": null
},
{
"param": "offer_urls",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "bakery_version",
"type": null,
"docstring": null,
"docstring_... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | DestroyOffers | <not_specific> | async def DestroyOffers(self, force=None, offer_urls=None):
'''
DestroyOffers removes the offers specified by the given URLs, forcing if necessary.
force : bool
offer_urls : typing.Sequence[str]
Returns -> ErrorResults
'''
if force is not None and not isinstance(... |
DestroyOffers removes the offers specified by the given URLs, forcing if necessary.
force : bool
offer_urls : typing.Sequence[str]
Returns -> ErrorResults
| DestroyOffers removes the offers specified by the given URLs, forcing if necessary.
force : bool
offer_urls : typing.Sequence[str]
Returns -> ErrorResults | [
"DestroyOffers",
"removes",
"the",
"offers",
"specified",
"by",
"the",
"given",
"URLs",
"forcing",
"if",
"necessary",
".",
"force",
":",
"bool",
"offer_urls",
":",
"typing",
".",
"Sequence",
"[",
"str",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def DestroyOffers(self, force=None, offer_urls=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if offer_urls is not None and not isinstance(offer_urls, (bytes, str, list)):
raise E... | [
"async",
"def",
"DestroyOffers",
"(",
"self",
",",
"force",
"=",
"None",
",",
"offer_urls",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Expect... | DestroyOffers removes the offers specified by the given URLs, forcing if necessary. | [
"DestroyOffers",
"removes",
"the",
"offers",
"specified",
"by",
"the",
"given",
"URLs",
"forcing",
"if",
"necessary",
"."
] | [
"'''\n DestroyOffers removes the offers specified by the given URLs, forcing if necessary.\n\n force : bool\n offer_urls : typing.Sequence[str]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "offer_urls",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | FindApplicationOffers | <not_specific> | async def FindApplicationOffers(self, filters=None):
'''
FindApplicationOffers gets details about remote applications that match given filter.
filters : typing.Sequence[~OfferFilter]
Returns -> QueryApplicationOffersResults
'''
if filters is not None and not isinstance(f... |
FindApplicationOffers gets details about remote applications that match given filter.
filters : typing.Sequence[~OfferFilter]
Returns -> QueryApplicationOffersResults
| FindApplicationOffers gets details about remote applications that match given filter. | [
"FindApplicationOffers",
"gets",
"details",
"about",
"remote",
"applications",
"that",
"match",
"given",
"filter",
"."
] | async def FindApplicationOffers(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='ApplicationOffers',
... | [
"async",
"def",
"FindApplicationOffers",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exceptio... | FindApplicationOffers gets details about remote applications that match given filter. | [
"FindApplicationOffers",
"gets",
"details",
"about",
"remote",
"applications",
"that",
"match",
"given",
"filter",
"."
] | [
"'''\n FindApplicationOffers gets details about remote applications that match given filter.\n\n filters : typing.Sequence[~OfferFilter]\n Returns -> QueryApplicationOffersResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | GetConsumeDetails | <not_specific> | async def GetConsumeDetails(self, bakery_version=None, offer_urls=None):
'''
GetConsumeDetails returns the details necessary to pass to another model to
consume the specified offers represented by the urls.
bakery_version : int
offer_urls : typing.Sequence[str]
Returns -... |
GetConsumeDetails returns the details necessary to pass to another model to
consume the specified offers represented by the urls.
bakery_version : int
offer_urls : typing.Sequence[str]
Returns -> ConsumeOfferDetailsResults
| GetConsumeDetails returns the details necessary to pass to another model to
consume the specified offers represented by the urls.
| [
"GetConsumeDetails",
"returns",
"the",
"details",
"necessary",
"to",
"pass",
"to",
"another",
"model",
"to",
"consume",
"the",
"specified",
"offers",
"represented",
"by",
"the",
"urls",
"."
] | async def GetConsumeDetails(self, bakery_version=None, offer_urls=None):
if bakery_version is not None and not isinstance(bakery_version, int):
raise Exception("Expected bakery_version to be a int, received: {}".format(type(bakery_version)))
if offer_urls is not None and not isinstance(offer... | [
"async",
"def",
"GetConsumeDetails",
"(",
"self",
",",
"bakery_version",
"=",
"None",
",",
"offer_urls",
"=",
"None",
")",
":",
"if",
"bakery_version",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"bakery_version",
",",
"int",
")",
":",
"raise",
"... | GetConsumeDetails returns the details necessary to pass to another model to
consume the specified offers represented by the urls. | [
"GetConsumeDetails",
"returns",
"the",
"details",
"necessary",
"to",
"pass",
"to",
"another",
"model",
"to",
"consume",
"the",
"specified",
"offers",
"represented",
"by",
"the",
"urls",
"."
] | [
"'''\n GetConsumeDetails returns the details necessary to pass to another model to\n consume the specified offers represented by the urls.\n\n bakery_version : int\n offer_urls : typing.Sequence[str]\n Returns -> ConsumeOfferDetailsResults\n '''",
"# map input types to rp... | [
{
"param": "self",
"type": null
},
{
"param": "bakery_version",
"type": null
},
{
"param": "offer_urls",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "bakery_version",
"type": null,
"docstring": null,
"docstring_... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ListApplicationOffers | <not_specific> | async def ListApplicationOffers(self, filters=None):
'''
ListApplicationOffers gets deployed details about application offers that match given filter.
The results contain details about the deployed applications such as connection count.
filters : typing.Sequence[~OfferFilter]
Re... |
ListApplicationOffers gets deployed details about application offers that match given filter.
The results contain details about the deployed applications such as connection count.
filters : typing.Sequence[~OfferFilter]
Returns -> QueryApplicationOffersResults
| ListApplicationOffers gets deployed details about application offers that match given filter.
The results contain details about the deployed applications such as connection count.
| [
"ListApplicationOffers",
"gets",
"deployed",
"details",
"about",
"application",
"offers",
"that",
"match",
"given",
"filter",
".",
"The",
"results",
"contain",
"details",
"about",
"the",
"deployed",
"applications",
"such",
"as",
"connection",
"count",
"."
] | async def ListApplicationOffers(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='ApplicationOffers',
... | [
"async",
"def",
"ListApplicationOffers",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exceptio... | ListApplicationOffers gets deployed details about application offers that match given filter. | [
"ListApplicationOffers",
"gets",
"deployed",
"details",
"about",
"application",
"offers",
"that",
"match",
"given",
"filter",
"."
] | [
"'''\n ListApplicationOffers gets deployed details about application offers that match given filter.\n The results contain details about the deployed applications such as connection count.\n\n filters : typing.Sequence[~OfferFilter]\n Returns -> QueryApplicationOffersResults\n '''... | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ModifyOfferAccess | <not_specific> | async def ModifyOfferAccess(self, changes=None):
'''
ModifyOfferAccess changes the application offer access granted to users.
changes : typing.Sequence[~ModifyOfferAccess]
Returns -> ErrorResults
'''
if changes is not None and not isinstance(changes, (bytes, str, list)):... |
ModifyOfferAccess changes the application offer access granted to users.
changes : typing.Sequence[~ModifyOfferAccess]
Returns -> ErrorResults
| ModifyOfferAccess changes the application offer access granted to users. | [
"ModifyOfferAccess",
"changes",
"the",
"application",
"offer",
"access",
"granted",
"to",
"users",
"."
] | async def ModifyOfferAccess(self, changes=None):
if changes is not None and not isinstance(changes, (bytes, str, list)):
raise Exception("Expected changes to be a Sequence, received: {}".format(type(changes)))
_params = dict()
msg = dict(type='ApplicationOffers',
r... | [
"async",
"def",
"ModifyOfferAccess",
"(",
"self",
",",
"changes",
"=",
"None",
")",
":",
"if",
"changes",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"changes",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | ModifyOfferAccess changes the application offer access granted to users. | [
"ModifyOfferAccess",
"changes",
"the",
"application",
"offer",
"access",
"granted",
"to",
"users",
"."
] | [
"'''\n ModifyOfferAccess changes the application offer access granted to users.\n\n changes : typing.Sequence[~ModifyOfferAccess]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "changes",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "changes",
"type": null,
"docstring": null,
"docstring_tokens"... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Offer | <not_specific> | async def Offer(self, offers=None):
'''
Offer makes application endpoints available for consumption at a specified URL.
offers : typing.Sequence[~AddApplicationOffer]
Returns -> ErrorResults
'''
if offers is not None and not isinstance(offers, (bytes, str, list)):
... |
Offer makes application endpoints available for consumption at a specified URL.
offers : typing.Sequence[~AddApplicationOffer]
Returns -> ErrorResults
| Offer makes application endpoints available for consumption at a specified URL. | [
"Offer",
"makes",
"application",
"endpoints",
"available",
"for",
"consumption",
"at",
"a",
"specified",
"URL",
"."
] | async def Offer(self, offers=None):
if offers is not None and not isinstance(offers, (bytes, str, list)):
raise Exception("Expected offers to be a Sequence, received: {}".format(type(offers)))
_params = dict()
msg = dict(type='ApplicationOffers',
request='Offer',
... | [
"async",
"def",
"Offer",
"(",
"self",
",",
"offers",
"=",
"None",
")",
":",
"if",
"offers",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"offers",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Exp... | Offer makes application endpoints available for consumption at a specified URL. | [
"Offer",
"makes",
"application",
"endpoints",
"available",
"for",
"consumption",
"at",
"a",
"specified",
"URL",
"."
] | [
"'''\n Offer makes application endpoints available for consumption at a specified URL.\n\n offers : typing.Sequence[~AddApplicationOffer]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "offers",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "offers",
"type": null,
"docstring": null,
"docstring_tokens":... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | RemoteApplicationInfo | <not_specific> | async def RemoteApplicationInfo(self, bakery_version=None, offer_urls=None):
'''
RemoteApplicationInfo returns information about the requested remote application.
This call currently has no client side API, only there for the GUI at this stage.
bakery_version : int
offer_urls : ... |
RemoteApplicationInfo returns information about the requested remote application.
This call currently has no client side API, only there for the GUI at this stage.
bakery_version : int
offer_urls : typing.Sequence[str]
Returns -> RemoteApplicationInfoResults
| RemoteApplicationInfo returns information about the requested remote application.
This call currently has no client side API, only there for the GUI at this stage.
| [
"RemoteApplicationInfo",
"returns",
"information",
"about",
"the",
"requested",
"remote",
"application",
".",
"This",
"call",
"currently",
"has",
"no",
"client",
"side",
"API",
"only",
"there",
"for",
"the",
"GUI",
"at",
"this",
"stage",
"."
] | async def RemoteApplicationInfo(self, bakery_version=None, offer_urls=None):
if bakery_version is not None and not isinstance(bakery_version, int):
raise Exception("Expected bakery_version to be a int, received: {}".format(type(bakery_version)))
if offer_urls is not None and not isinstance(o... | [
"async",
"def",
"RemoteApplicationInfo",
"(",
"self",
",",
"bakery_version",
"=",
"None",
",",
"offer_urls",
"=",
"None",
")",
":",
"if",
"bakery_version",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"bakery_version",
",",
"int",
")",
":",
"raise",... | RemoteApplicationInfo returns information about the requested remote application. | [
"RemoteApplicationInfo",
"returns",
"information",
"about",
"the",
"requested",
"remote",
"application",
"."
] | [
"'''\n RemoteApplicationInfo returns information about the requested remote application.\n This call currently has no client side API, only there for the GUI at this stage.\n\n bakery_version : int\n offer_urls : typing.Sequence[str]\n Returns -> RemoteApplicationInfoResults\n ... | [
{
"param": "self",
"type": null
},
{
"param": "bakery_version",
"type": null
},
{
"param": "offer_urls",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "bakery_version",
"type": null,
"docstring": null,
"docstring_... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | FinishRestore | <not_specific> | async def FinishRestore(self):
'''
FinishRestore implements the server side of Backups.FinishRestore.
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Backups',
request='FinishRestore',
ver... |
FinishRestore implements the server side of Backups.FinishRestore.
Returns -> None
| FinishRestore implements the server side of Backups.FinishRestore.
Returns -> None | [
"FinishRestore",
"implements",
"the",
"server",
"side",
"of",
"Backups",
".",
"FinishRestore",
".",
"Returns",
"-",
">",
"None"
] | async def FinishRestore(self):
_params = dict()
msg = dict(type='Backups',
request='FinishRestore',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"FinishRestore",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Backups'",
",",
"request",
"=",
"'FinishRestore'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply",
... | FinishRestore implements the server side of Backups.FinishRestore. | [
"FinishRestore",
"implements",
"the",
"server",
"side",
"of",
"Backups",
".",
"FinishRestore",
"."
] | [
"'''\n FinishRestore implements the server side of Backups.FinishRestore.\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Info | <not_specific> | async def Info(self, id_=None):
'''
Info provides the implementation of the API method.
id_ : str
Returns -> BackupsMetadataResult
'''
if id_ is not None and not isinstance(id_, (bytes, str)):
raise Exception("Expected id_ to be a str, received: {}".format(ty... |
Info provides the implementation of the API method.
id_ : str
Returns -> BackupsMetadataResult
| Info provides the implementation of the API method.
id_ : str
Returns -> BackupsMetadataResult | [
"Info",
"provides",
"the",
"implementation",
"of",
"the",
"API",
"method",
".",
"id_",
":",
"str",
"Returns",
"-",
">",
"BackupsMetadataResult"
] | async def Info(self, id_=None):
if id_ is not None and not isinstance(id_, (bytes, str)):
raise Exception("Expected id_ to be a str, received: {}".format(type(id_)))
_params = dict()
msg = dict(type='Backups',
request='Info',
version=2,
... | [
"async",
"def",
"Info",
"(",
"self",
",",
"id_",
"=",
"None",
")",
":",
"if",
"id_",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"id_",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected id_ to be a str, rece... | Info provides the implementation of the API method. | [
"Info",
"provides",
"the",
"implementation",
"of",
"the",
"API",
"method",
"."
] | [
"'''\n Info provides the implementation of the API method.\n\n id_ : str\n Returns -> BackupsMetadataResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "id_",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "id_",
"type": null,
"docstring": null,
"docstring_tokens": []... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | List | <not_specific> | async def List(self):
'''
List provides the implementation of the API method.
Returns -> BackupsListResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Backups',
request='List',
version=2,
... |
List provides the implementation of the API method.
Returns -> BackupsListResult
| List provides the implementation of the API method. | [
"List",
"provides",
"the",
"implementation",
"of",
"the",
"API",
"method",
"."
] | async def List(self):
_params = dict()
msg = dict(type='Backups',
request='List',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"List",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Backups'",
",",
"request",
"=",
"'List'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"await",
... | List provides the implementation of the API method. | [
"List",
"provides",
"the",
"implementation",
"of",
"the",
"API",
"method",
"."
] | [
"'''\n List provides the implementation of the API method.\n\n\n Returns -> BackupsListResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | PrepareRestore | <not_specific> | async def PrepareRestore(self):
'''
PrepareRestore implements the server side of Backups.PrepareRestore.
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Backups',
request='PrepareRestore',
... |
PrepareRestore implements the server side of Backups.PrepareRestore.
Returns -> None
| PrepareRestore implements the server side of Backups.PrepareRestore.
Returns -> None | [
"PrepareRestore",
"implements",
"the",
"server",
"side",
"of",
"Backups",
".",
"PrepareRestore",
".",
"Returns",
"-",
">",
"None"
] | async def PrepareRestore(self):
_params = dict()
msg = dict(type='Backups',
request='PrepareRestore',
version=2,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"PrepareRestore",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Backups'",
",",
"request",
"=",
"'PrepareRestore'",
",",
"version",
"=",
"2",
",",
"params",
"=",
"_params",
")",
"reply"... | PrepareRestore implements the server side of Backups.PrepareRestore. | [
"PrepareRestore",
"implements",
"the",
"server",
"side",
"of",
"Backups",
".",
"PrepareRestore",
"."
] | [
"'''\n PrepareRestore implements the server side of Backups.PrepareRestore.\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Remove | <not_specific> | async def Remove(self, ids=None):
'''
Remove deletes the backups defined by ID from the database.
ids : typing.Sequence[str]
Returns -> ErrorResults
'''
if ids is not None and not isinstance(ids, (bytes, str, list)):
raise Exception("Expected ids to be a Sequ... |
Remove deletes the backups defined by ID from the database.
ids : typing.Sequence[str]
Returns -> ErrorResults
| Remove deletes the backups defined by ID from the database.
ids : typing.Sequence[str]
Returns -> ErrorResults | [
"Remove",
"deletes",
"the",
"backups",
"defined",
"by",
"ID",
"from",
"the",
"database",
".",
"ids",
":",
"typing",
".",
"Sequence",
"[",
"str",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def Remove(self, ids=None):
if ids is not None and not isinstance(ids, (bytes, str, list)):
raise Exception("Expected ids to be a Sequence, received: {}".format(type(ids)))
_params = dict()
msg = dict(type='Backups',
request='Remove',
versi... | [
"async",
"def",
"Remove",
"(",
"self",
",",
"ids",
"=",
"None",
")",
":",
"if",
"ids",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"ids",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected id... | Remove deletes the backups defined by ID from the database. | [
"Remove",
"deletes",
"the",
"backups",
"defined",
"by",
"ID",
"from",
"the",
"database",
"."
] | [
"'''\n Remove deletes the backups defined by ID from the database.\n\n ids : typing.Sequence[str]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "ids",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "ids",
"type": null,
"docstring": null,
"docstring_tokens": []... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ApplicationsConfig | <not_specific> | async def ApplicationsConfig(self, entities=None):
'''
ApplicationsConfig returns the config for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationGetConfigResults
'''
if entities is not None and not isinstance(entities, (bytes, str, l... |
ApplicationsConfig returns the config for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationGetConfigResults
| ApplicationsConfig returns the config for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationGetConfigResults | [
"ApplicationsConfig",
"returns",
"the",
"config",
"for",
"the",
"specified",
"applications",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ApplicationGetConfigResults"
] | async def ApplicationsConfig(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"ApplicationsConfig",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exceptio... | ApplicationsConfig returns the config for the specified applications. | [
"ApplicationsConfig",
"returns",
"the",
"config",
"for",
"the",
"specified",
"applications",
"."
] | [
"'''\n ApplicationsConfig returns the config for the specified applications.\n\n entities : typing.Sequence[~Entity]\n Returns -> ApplicationGetConfigResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ApplicationsScale | <not_specific> | async def ApplicationsScale(self, entities=None):
'''
ApplicationsScale returns the scaling info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> IntResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list... |
ApplicationsScale returns the scaling info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> IntResults
| ApplicationsScale returns the scaling info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> IntResults | [
"ApplicationsScale",
"returns",
"the",
"scaling",
"info",
"for",
"specified",
"applications",
"in",
"this",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"IntResults"
] | async def ApplicationsScale(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"ApplicationsScale",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | ApplicationsScale returns the scaling info for specified applications in this model. | [
"ApplicationsScale",
"returns",
"the",
"scaling",
"info",
"for",
"specified",
"applications",
"in",
"this",
"model",
"."
] | [
"'''\n ApplicationsScale returns the scaling info for specified applications in this model.\n\n entities : typing.Sequence[~Entity]\n Returns -> IntResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ApplicationsTrust | <not_specific> | async def ApplicationsTrust(self, entities=None):
'''
ApplicationsTrust returns the trust status for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
'''
if entities is not None and not isinstance(entities, (bytes, str, lis... |
ApplicationsTrust returns the trust status for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
| ApplicationsTrust returns the trust status for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> BoolResults | [
"ApplicationsTrust",
"returns",
"the",
"trust",
"status",
"for",
"specified",
"applications",
"in",
"this",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"BoolResults"
] | async def ApplicationsTrust(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"ApplicationsTrust",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | ApplicationsTrust returns the trust status for specified applications in this model. | [
"ApplicationsTrust",
"returns",
"the",
"trust",
"status",
"for",
"specified",
"applications",
"in",
"this",
"model",
"."
] | [
"'''\n ApplicationsTrust returns the trust status for specified applications in this model.\n\n entities : typing.Sequence[~Entity]\n Returns -> BoolResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ClearApplicationsResources | <not_specific> | async def ClearApplicationsResources(self, entities=None):
'''
ClearApplicationsResources clears the flags which indicate
applications still have resources in the cluster.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and... |
ClearApplicationsResources clears the flags which indicate
applications still have resources in the cluster.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| ClearApplicationsResources clears the flags which indicate
applications still have resources in the cluster.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"ClearApplicationsResources",
"clears",
"the",
"flags",
"which",
"indicate",
"applications",
"still",
"have",
"resources",
"in",
"the",
"cluster",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def ClearApplicationsResources(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"ClearApplicationsResources",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"... | ClearApplicationsResources clears the flags which indicate
applications still have resources in the cluster. | [
"ClearApplicationsResources",
"clears",
"the",
"flags",
"which",
"indicate",
"applications",
"still",
"have",
"resources",
"in",
"the",
"cluster",
"."
] | [
"'''\n ClearApplicationsResources clears the flags which indicate\n applications still have resources in the cluster.\n\n entities : typing.Sequence[~Entity]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | DeploymentMode | <not_specific> | async def DeploymentMode(self, entities=None):
'''
DeploymentMode returns the deployment mode of the given applications' charms.
entities : typing.Sequence[~Entity]
Returns -> StringResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
DeploymentMode returns the deployment mode of the given applications' charms.
entities : typing.Sequence[~Entity]
Returns -> StringResults
| DeploymentMode returns the deployment mode of the given applications' charms.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"DeploymentMode",
"returns",
"the",
"deployment",
"mode",
"of",
"the",
"given",
"applications",
"'",
"charms",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringResults"
] | async def DeploymentMode(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"DeploymentMode",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | DeploymentMode returns the deployment mode of the given applications' charms. | [
"DeploymentMode",
"returns",
"the",
"deployment",
"mode",
"of",
"the",
"given",
"applications",
"'",
"charms",
"."
] | [
"'''\n DeploymentMode returns the deployment mode of the given applications' charms.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | Life | <not_specific> | async def Life(self, entities=None):
'''
Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exc... |
Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults
| Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults | [
"Life",
"returns",
"the",
"life",
"status",
"of",
"every",
"supplied",
"entity",
"where",
"available",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"LifeResults"
] | async def Life(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
request... | [
"async",
"def",
"Life",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"... | Life returns the life status of every supplied entity, where available. | [
"Life",
"returns",
"the",
"life",
"status",
"of",
"every",
"supplied",
"entity",
"where",
"available",
"."
] | [
"'''\n Life returns the life status of every supplied entity, where available.\n\n entities : typing.Sequence[~Entity]\n Returns -> LifeResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | ProvisioningInfo | <not_specific> | async def ProvisioningInfo(self, entities=None):
'''
ProvisioningInfo returns the provisioning info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> KubernetesProvisioningInfoResults
'''
if entities is not None and not isinstance(e... |
ProvisioningInfo returns the provisioning info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> KubernetesProvisioningInfoResults
| ProvisioningInfo returns the provisioning info for specified applications in this model.
entities : typing.Sequence[~Entity]
Returns -> KubernetesProvisioningInfoResults | [
"ProvisioningInfo",
"returns",
"the",
"provisioning",
"info",
"for",
"specified",
"applications",
"in",
"this",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"KubernetesProvisioningInfoResults"
] | async def ProvisioningInfo(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"ProvisioningInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception"... | ProvisioningInfo returns the provisioning info for specified applications in this model. | [
"ProvisioningInfo",
"returns",
"the",
"provisioning",
"info",
"for",
"specified",
"applications",
"in",
"this",
"model",
"."
] | [
"'''\n ProvisioningInfo returns the provisioning info for specified applications in this model.\n\n entities : typing.Sequence[~Entity]\n Returns -> KubernetesProvisioningInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | SetOperatorStatus | <not_specific> | async def SetOperatorStatus(self, entities=None):
'''
SetOperatorStatus updates the operator status for each given application.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, lis... |
SetOperatorStatus updates the operator status for each given application.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetOperatorStatus updates the operator status for each given application. | [
"SetOperatorStatus",
"updates",
"the",
"operator",
"status",
"for",
"each",
"given",
"application",
"."
] | async def SetOperatorStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... | [
"async",
"def",
"SetOperatorStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | SetOperatorStatus updates the operator status for each given application. | [
"SetOperatorStatus",
"updates",
"the",
"operator",
"status",
"for",
"each",
"given",
"application",
"."
] | [
"'''\n SetOperatorStatus updates the operator status for each given application.\n\n entities : typing.Sequence[~EntityStatusArgs]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | UpdateApplicationsService | <not_specific> | async def UpdateApplicationsService(self, args=None):
'''
UpdateApplicationsService updates the Juju data model to reflect the given
service details of the specified application.
args : typing.Sequence[~UpdateApplicationServiceArg]
Returns -> ErrorResults
'''
if ... |
UpdateApplicationsService updates the Juju data model to reflect the given
service details of the specified application.
args : typing.Sequence[~UpdateApplicationServiceArg]
Returns -> ErrorResults
| UpdateApplicationsService updates the Juju data model to reflect the given
service details of the specified application.
| [
"UpdateApplicationsService",
"updates",
"the",
"Juju",
"data",
"model",
"to",
"reflect",
"the",
"given",
"service",
"details",
"of",
"the",
"specified",
"application",
"."
] | async def UpdateApplicationsService(self, args=None):
if args is not None and not isinstance(args, (bytes, str, list)):
raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
reques... | [
"async",
"def",
"UpdateApplicationsService",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | UpdateApplicationsService updates the Juju data model to reflect the given
service details of the specified application. | [
"UpdateApplicationsService",
"updates",
"the",
"Juju",
"data",
"model",
"to",
"reflect",
"the",
"given",
"service",
"details",
"of",
"the",
"specified",
"application",
"."
] | [
"'''\n UpdateApplicationsService updates the Juju data model to reflect the given\n service details of the specified application.\n\n args : typing.Sequence[~UpdateApplicationServiceArg]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "args",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "args",
"type": null,
"docstring": null,
"docstring_tokens": [... |
f697638db76b9fc35cd762f0cbbb058c9ee6f5b1 | sed-i/python-libjuju | juju/client/_client2.py | [
"Apache-2.0"
] | Python | UpdateApplicationsUnits | <not_specific> | async def UpdateApplicationsUnits(self, args=None):
'''
UpdateApplicationsUnits updates the Juju data model to reflect the given
units of the specified application.
args : typing.Sequence[~UpdateApplicationUnits]
Returns -> UpdateApplicationUnitResults
'''
if arg... |
UpdateApplicationsUnits updates the Juju data model to reflect the given
units of the specified application.
args : typing.Sequence[~UpdateApplicationUnits]
Returns -> UpdateApplicationUnitResults
| UpdateApplicationsUnits updates the Juju data model to reflect the given
units of the specified application.
| [
"UpdateApplicationsUnits",
"updates",
"the",
"Juju",
"data",
"model",
"to",
"reflect",
"the",
"given",
"units",
"of",
"the",
"specified",
"application",
"."
] | async def UpdateApplicationsUnits(self, args=None):
if args is not None and not isinstance(args, (bytes, str, list)):
raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
_params = dict()
msg = dict(type='CAASUnitProvisioner',
request=... | [
"async",
"def",
"UpdateApplicationsUnits",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"... | UpdateApplicationsUnits updates the Juju data model to reflect the given
units of the specified application. | [
"UpdateApplicationsUnits",
"updates",
"the",
"Juju",
"data",
"model",
"to",
"reflect",
"the",
"given",
"units",
"of",
"the",
"specified",
"application",
"."
] | [
"'''\n UpdateApplicationsUnits updates the Juju data model to reflect the given\n units of the specified application.\n\n args : typing.Sequence[~UpdateApplicationUnits]\n Returns -> UpdateApplicationUnitResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "args",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "args",
"type": null,
"docstring": null,
"docstring_tokens": [... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.