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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAdmission',
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='CAASAdmission',
request='ControllerConfig',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASAdmission'",
",",
"request",
"=",
"'ControllerConfig'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",... | 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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
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='CAASAgent',
request='ControllerConfig',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASAgent'",
",",
"request",
"=",
"'ControllerConfig'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"... | 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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
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='CAASAgent',
request='GetCloudSpec',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"GetCloudSpec",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASAgent'",
",",
"request",
"=",
"'GetCloudSpec'",
",",
"version",
"=",
"1",
",",
"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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
request='ModelConfig',
vers... |
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='CAASAgent',
request='ModelConfig',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASAgent'",
",",
"request",
"=",
"'ModelConfig'",
",",
"version",
"=",
"1",
",",
"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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASAgent',
request='WatchForModelConfigChanges',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchForModelConfigChanges",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASAgent'",
",",
"request",
"=",
"'WatchForModelConfigChanges'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"... | 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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | UnitIntroduction | <not_specific> | async def UnitIntroduction(self, pod_name=None, pod_uuid=None):
'''
UnitIntroduction sets the status of each given entity.
pod_name : str
pod_uuid : str
Returns -> CAASUnitIntroductionResult
'''
if pod_name is not None and not isinstance(pod_name, (bytes, str)):
... |
UnitIntroduction sets the status of each given entity.
pod_name : str
pod_uuid : str
Returns -> CAASUnitIntroductionResult
| UnitIntroduction sets the status of each given entity. | [
"UnitIntroduction",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | async def UnitIntroduction(self, pod_name=None, pod_uuid=None):
if pod_name is not None and not isinstance(pod_name, (bytes, str)):
raise Exception("Expected pod_name to be a str, received: {}".format(type(pod_name)))
if pod_uuid is not None and not isinstance(pod_uuid, (bytes, str)):
... | [
"async",
"def",
"UnitIntroduction",
"(",
"self",
",",
"pod_name",
"=",
"None",
",",
"pod_uuid",
"=",
"None",
")",
":",
"if",
"pod_name",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"pod_name",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"... | UnitIntroduction sets the status of each given entity. | [
"UnitIntroduction",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | [
"'''\n UnitIntroduction sets the status of each given entity.\n\n pod_name : str\n pod_uuid : str\n Returns -> CAASUnitIntroductionResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "pod_name",
"type": null
},
{
"param": "pod_uuid",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "pod_name",
"type": null,
"docstring": null,
"docstring_tokens... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ApplicationCharmURLs | <not_specific> | async def ApplicationCharmURLs(self, entities=None):
'''
ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
rai... |
ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults
| ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"ApplicationCharmURLs",
"finds",
"the",
"CharmURL",
"for",
"an",
"application",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringResults"
] | async def ApplicationCharmURLs(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='CAASApplicationProvisioner',
... | [
"async",
"def",
"ApplicationCharmURLs",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | ApplicationCharmURLs finds the CharmURL for an application. | [
"ApplicationCharmURLs",
"finds",
"the",
"CharmURL",
"for",
"an",
"application",
"."
] | [
"'''\n ApplicationCharmURLs finds the CharmURL for an application.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ApplicationOCIResources | <not_specific> | async def ApplicationOCIResources(self, entities=None):
'''
ApplicationOCIResources returns the OCI image resources for an application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationOCIResourceResults
'''
if entities is not None and not isinstance(entitie... |
ApplicationOCIResources returns the OCI image resources for an application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationOCIResourceResults
| ApplicationOCIResources returns the OCI image resources for an application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationOCIResourceResults | [
"ApplicationOCIResources",
"returns",
"the",
"OCI",
"image",
"resources",
"for",
"an",
"application",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"CAASApplicationOCIResourceResults"
] | async def ApplicationOCIResources(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='CAASApplicationProvisioner',
... | [
"async",
"def",
"ApplicationOCIResources",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exc... | ApplicationOCIResources returns the OCI image resources for an application. | [
"ApplicationOCIResources",
"returns",
"the",
"OCI",
"image",
"resources",
"for",
"an",
"application",
"."
] | [
"'''\n ApplicationOCIResources returns the OCI image resources for an application.\n\n entities : typing.Sequence[~Entity]\n Returns -> CAASApplicationOCIResourceResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | CAASApplicationGarbageCollect | <not_specific> | async def CAASApplicationGarbageCollect(self, args=None):
'''
CAASApplicationGarbageCollect cleans up units that have gone away permanently.
Only observed units will be deleted as new units could have surfaced between
the capturing of kuberentes pod state/application state and this call.... |
CAASApplicationGarbageCollect cleans up units that have gone away permanently.
Only observed units will be deleted as new units could have surfaced between
the capturing of kuberentes pod state/application state and this call.
args : typing.Sequence[~CAASApplicationGarbageCollectArg]
... | CAASApplicationGarbageCollect cleans up units that have gone away permanently.
Only observed units will be deleted as new units could have surfaced between
the capturing of kuberentes pod state/application state and this call.
| [
"CAASApplicationGarbageCollect",
"cleans",
"up",
"units",
"that",
"have",
"gone",
"away",
"permanently",
".",
"Only",
"observed",
"units",
"will",
"be",
"deleted",
"as",
"new",
"units",
"could",
"have",
"surfaced",
"between",
"the",
"capturing",
"of",
"kuberentes"... | async def CAASApplicationGarbageCollect(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='CAASApplicationProvisioner',
... | [
"async",
"def",
"CAASApplicationGarbageCollect",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | CAASApplicationGarbageCollect cleans up units that have gone away permanently. | [
"CAASApplicationGarbageCollect",
"cleans",
"up",
"units",
"that",
"have",
"gone",
"away",
"permanently",
"."
] | [
"'''\n CAASApplicationGarbageCollect cleans up units that have gone away permanently.\n Only observed units will be deleted as new units could have surfaced between\n the capturing of kuberentes pod state/application state and this call.\n\n args : typing.Sequence[~CAASApplicationGarbage... | [
{
"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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | CharmInfo | <not_specific> | async def CharmInfo(self, url=None):
'''
CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm
'''
if url is not None and not isinstance(url, (bytes, str)):
... |
CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm
| CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm | [
"CharmInfo",
"returns",
"information",
"about",
"the",
"requested",
"charm",
".",
"NOTE",
":",
"thumper",
"2016",
"-",
"06",
"-",
"29",
"this",
"is",
"not",
"a",
"bulk",
"call",
"and",
"probably",
"should",
"be",
".",
"url",
":",
"str",
"Returns",
"-",
... | async def CharmInfo(self, url=None):
if url is not None and not isinstance(url, (bytes, str)):
raise Exception("Expected url to be a str, received: {}".format(type(url)))
_params = dict()
msg = dict(type='CAASApplicationProvisioner',
request='CharmInfo',
... | [
"async",
"def",
"CharmInfo",
"(",
"self",
",",
"url",
"=",
"None",
")",
":",
"if",
"url",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"url",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected url to be a str,... | CharmInfo returns information about the requested charm. | [
"CharmInfo",
"returns",
"information",
"about",
"the",
"requested",
"charm",
"."
] | [
"'''\n CharmInfo returns information about the requested charm.\n NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.\n\n url : str\n Returns -> Charm\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "url",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "url",
"type": null,
"docstring": null,
"docstring_tokens": []... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASApplicationProvisioner',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ProvisioningInfo | <not_specific> | async def ProvisioningInfo(self, entities=None):
'''
ProvisioningInfo returns the info needed to provision a caas application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationProvisioningInfoResults
'''
if entities is not None and not isinstance(entities, (... |
ProvisioningInfo returns the info needed to provision a caas application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationProvisioningInfoResults
| ProvisioningInfo returns the info needed to provision a caas application.
entities : typing.Sequence[~Entity]
Returns -> CAASApplicationProvisioningInfoResults | [
"ProvisioningInfo",
"returns",
"the",
"info",
"needed",
"to",
"provision",
"a",
"caas",
"application",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"CAASApplicationProvisioningInfoResults"
] | 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='CAASApplicationProvisioner',
... | [
"async",
"def",
"ProvisioningInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception"... | ProvisioningInfo returns the info needed to provision a caas application. | [
"ProvisioningInfo",
"returns",
"the",
"info",
"needed",
"to",
"provision",
"a",
"caas",
"application",
"."
] | [
"'''\n ProvisioningInfo returns the info needed to provision a caas application.\n\n entities : typing.Sequence[~Entity]\n Returns -> CAASApplicationProvisioningInfoResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetOperatorStatus | <not_specific> | async def SetOperatorStatus(self, entities=None):
'''
SetOperatorStatus sets the status of each given entity.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
r... |
SetOperatorStatus sets the status of each given entity.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetOperatorStatus sets the status of each given entity. | [
"SetOperatorStatus",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | 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='CAASApplicationProvisioner',
... | [
"async",
"def",
"SetOperatorStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | SetOperatorStatus sets the status of each given entity. | [
"SetOperatorStatus",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | [
"'''\n SetOperatorStatus sets the status of each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASApplicationProvisioner',
... | [
"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"... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Units | <not_specific> | async def Units(self, entities=None):
'''
Units returns all the units for each application specified.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception(... |
Units returns all the units for each application specified.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults
| Units returns all the units for each application specified.
entities : typing.Sequence[~Entity]
Returns -> EntitiesResults | [
"Units",
"returns",
"all",
"the",
"units",
"for",
"each",
"application",
"specified",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"EntitiesResults"
] | async def Units(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='CAASApplicationProvisioner',
... | [
"async",
"def",
"Units",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Units returns all the units for each application specified. | [
"Units",
"returns",
"all",
"the",
"units",
"for",
"each",
"application",
"specified",
"."
] | [
"'''\n Units returns all the units for each application specified.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASApplicationProvisioner',
r... | [
"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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self, entities=None):
'''
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Exp... |
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def Watch(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='CAASApplicationProvisioner',
... | [
"async",
"def",
"Watch",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Watch starts an NotifyWatcher for each given entity. | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
"."
] | [
"'''\n Watch starts an NotifyWatcher for each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplications | <not_specific> | async def WatchApplications(self):
'''
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASApplicationProvisioner',
... |
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
| WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | async def WatchApplications(self):
_params = dict()
msg = dict(type='CAASApplicationProvisioner',
request='WatchApplications',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASApplicationProvisioner'",
",",
"request",
"=",
"'WatchApplications'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_... | WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | [
"'''\n WatchApplications starts a StringsWatcher to watch applications deployed to this model.\n\n\n Returns -> StringsWatchResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ApplicationCharmURLs | <not_specific> | async def ApplicationCharmURLs(self, entities=None):
'''
ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
rai... |
ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults
| ApplicationCharmURLs finds the CharmURL for an application.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"ApplicationCharmURLs",
"finds",
"the",
"CharmURL",
"for",
"an",
"application",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringResults"
] | async def ApplicationCharmURLs(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='CAASFirewallerEmbedded',
... | [
"async",
"def",
"ApplicationCharmURLs",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | ApplicationCharmURLs finds the CharmURL for an application. | [
"ApplicationCharmURLs",
"finds",
"the",
"CharmURL",
"for",
"an",
"application",
"."
] | [
"'''\n ApplicationCharmURLs finds the CharmURL for an application.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASFirewallerEmbedded',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | CharmInfo | <not_specific> | async def CharmInfo(self, url=None):
'''
CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm
'''
if url is not None and not isinstance(url, (bytes, str)):
... |
CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm
| CharmInfo returns information about the requested charm.
NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.
url : str
Returns -> Charm | [
"CharmInfo",
"returns",
"information",
"about",
"the",
"requested",
"charm",
".",
"NOTE",
":",
"thumper",
"2016",
"-",
"06",
"-",
"29",
"this",
"is",
"not",
"a",
"bulk",
"call",
"and",
"probably",
"should",
"be",
".",
"url",
":",
"str",
"Returns",
"-",
... | async def CharmInfo(self, url=None):
if url is not None and not isinstance(url, (bytes, str)):
raise Exception("Expected url to be a str, received: {}".format(type(url)))
_params = dict()
msg = dict(type='CAASFirewallerEmbedded',
request='CharmInfo',
... | [
"async",
"def",
"CharmInfo",
"(",
"self",
",",
"url",
"=",
"None",
")",
":",
"if",
"url",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"url",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected url to be a str,... | CharmInfo returns information about the requested charm. | [
"CharmInfo",
"returns",
"information",
"about",
"the",
"requested",
"charm",
"."
] | [
"'''\n CharmInfo returns information about the requested charm.\n NOTE: thumper 2016-06-29, this is not a bulk call and probably should be.\n\n url : str\n Returns -> Charm\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "url",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "url",
"type": null,
"docstring": null,
"docstring_tokens": []... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | IsExposed | <not_specific> | async def IsExposed(self, entities=None):
'''
IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exce... |
IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
| IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults | [
"IsExposed",
"returns",
"whether",
"the",
"specified",
"applications",
"are",
"exposed",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"BoolResults"
] | async def IsExposed(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='CAASFirewallerEmbedded',
... | [
"async",
"def",
"IsExposed",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | IsExposed returns whether the specified applications are exposed. | [
"IsExposed",
"returns",
"whether",
"the",
"specified",
"applications",
"are",
"exposed",
"."
] | [
"'''\n IsExposed returns whether the specified applications are exposed.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASFirewallerEmbedded',
requ... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self, entities=None):
'''
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Exp... |
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def Watch(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='CAASFirewallerEmbedded',
req... | [
"async",
"def",
"Watch",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Watch starts an NotifyWatcher for each given entity. | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
"."
] | [
"'''\n Watch starts an NotifyWatcher for each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplications | <not_specific> | async def WatchApplications(self):
'''
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASFirewallerEmbedded',
... |
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
| WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | async def WatchApplications(self):
_params = dict()
msg = dict(type='CAASFirewallerEmbedded',
request='WatchApplications',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASFirewallerEmbedded'",
",",
"request",
"=",
"'WatchApplications'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_para... | WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | [
"'''\n WatchApplications starts a StringsWatcher to watch applications deployed to this model.\n\n\n Returns -> StringsWatchResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchOpenedPorts | <not_specific> | async def WatchOpenedPorts(self, entities=None):
'''
WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, l... |
WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchOpenedPorts",
"returns",
"a",
"new",
"StringsWatcher",
"for",
"each",
"given",
"model",
"tag",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringsWatchResults"
] | async def WatchOpenedPorts(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='CAASFirewallerEmbedded',
... | [
"async",
"def",
"WatchOpenedPorts",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception"... | WatchOpenedPorts returns a new StringsWatcher for each given
model tag. | [
"WatchOpenedPorts",
"returns",
"a",
"new",
"StringsWatcher",
"for",
"each",
"given",
"model",
"tag",
"."
] | [
"'''\n WatchOpenedPorts returns a new StringsWatcher for each given\n model tag.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASFirewaller',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | IsExposed | <not_specific> | async def IsExposed(self, entities=None):
'''
IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exce... |
IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
| IsExposed returns whether the specified applications are exposed.
entities : typing.Sequence[~Entity]
Returns -> BoolResults | [
"IsExposed",
"returns",
"whether",
"the",
"specified",
"applications",
"are",
"exposed",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"BoolResults"
] | async def IsExposed(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='CAASFirewaller',
request... | [
"async",
"def",
"IsExposed",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | IsExposed returns whether the specified applications are exposed. | [
"IsExposed",
"returns",
"whether",
"the",
"specified",
"applications",
"are",
"exposed",
"."
] | [
"'''\n IsExposed returns whether the specified applications are exposed.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASFirewaller',
request='Lif... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self, entities=None):
'''
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Exp... |
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def Watch(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='CAASFirewaller',
request='Wa... | [
"async",
"def",
"Watch",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Watch starts an NotifyWatcher for each given entity. | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
"."
] | [
"'''\n Watch starts an NotifyWatcher for each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplications | <not_specific> | async def WatchApplications(self):
'''
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASFirewaller',
r... |
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
| WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | async def WatchApplications(self):
_params = dict()
msg = dict(type='CAASFirewaller',
request='WatchApplications',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASFirewaller'",
",",
"request",
"=",
"'WatchApplications'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
"... | WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | [
"'''\n WatchApplications starts a StringsWatcher to watch applications deployed to this model.\n\n\n Returns -> StringsWatchResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIAddresses | <not_specific> | async def APIAddresses(self):
'''
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASModelOperator',
request='APIAddresses',
... |
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
| APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | async def APIAddresses(self):
_params = dict()
msg = dict(type='CAASModelOperator',
request='APIAddresses',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIAddresses",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASModelOperator'",
",",
"request",
"=",
"'APIAddresses'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"... | APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | [
"'''\n APIAddresses returns the list of addresses used to connect to the API.\n\n\n Returns -> StringsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIHostPorts | <not_specific> | async def APIHostPorts(self):
'''
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASModelOperator',
request='APIHostPorts',
v... |
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
| APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | async def APIHostPorts(self):
_params = dict()
msg = dict(type='CAASModelOperator',
request='APIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASModelOperator'",
",",
"request",
"=",
"'APIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"... | APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n APIHostPorts returns the API server addresses.\n\n\n Returns -> APIHostPortsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelOperatorProvisioningInfo | <not_specific> | async def ModelOperatorProvisioningInfo(self):
'''
ModelOperatorProvisioningInfo returns the information needed for provisioning
a new model operator into a caas cluster.
Returns -> ModelOperatorInfo
'''
# map input types to rpc msg
_params = dict()
msg... |
ModelOperatorProvisioningInfo returns the information needed for provisioning
a new model operator into a caas cluster.
Returns -> ModelOperatorInfo
| ModelOperatorProvisioningInfo returns the information needed for provisioning
a new model operator into a caas cluster.
| [
"ModelOperatorProvisioningInfo",
"returns",
"the",
"information",
"needed",
"for",
"provisioning",
"a",
"new",
"model",
"operator",
"into",
"a",
"caas",
"cluster",
"."
] | async def ModelOperatorProvisioningInfo(self):
_params = dict()
msg = dict(type='CAASModelOperator',
request='ModelOperatorProvisioningInfo',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelOperatorProvisioningInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASModelOperator'",
",",
"request",
"=",
"'ModelOperatorProvisioningInfo'",
",",
"version",
"=",
"1",
",",
"param... | ModelOperatorProvisioningInfo returns the information needed for provisioning
a new model operator into a caas cluster. | [
"ModelOperatorProvisioningInfo",
"returns",
"the",
"information",
"needed",
"for",
"provisioning",
"a",
"new",
"model",
"operator",
"into",
"a",
"caas",
"cluster",
"."
] | [
"'''\n ModelOperatorProvisioningInfo returns the information needed for provisioning\n a new model operator into a caas cluster.\n\n\n Returns -> ModelOperatorInfo\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelUUID | <not_specific> | async def ModelUUID(self):
'''
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next i... |
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
Returns -> Strin... | ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
| [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
".",
"It",
"is",
"implemented",
"here",
"directly",
"as",
"a",
"result",
"of",
"removing",
"it",
"from",
"embedded",
"APIAddresser",
"*",
"without",
"*",... | async def ModelUUID(self):
_params = dict()
msg = dict(type='CAASModelOperator',
request='ModelUUID',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelUUID",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASModelOperator'",
",",
"request",
"=",
"'ModelUUID'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply"... | ModelUUID returns the model UUID that this facade is used to operate. | [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
"."
] | [
"'''\n ModelUUID returns the model UUID that this facade is used to operate.\n It is implemented here directly as a result of removing it from\n embedded APIAddresser *without* bumping the facade version.\n It should be blanked when this facade version is next incremented.\n\n\n R... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASModelOperator',
reques... | [
"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"... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchAPIHostPorts | <not_specific> | async def WatchAPIHostPorts(self):
'''
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASModelOperator',
request='WatchAPIHostPorts',
... |
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
| WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | async def WatchAPIHostPorts(self):
_params = dict()
msg = dict(type='CAASModelOperator',
request='WatchAPIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAPIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASModelOperator'",
",",
"request",
"=",
"'WatchAPIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
... | WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n WatchAPIHostPorts watches the API server addresses.\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIAddresses | <not_specific> | async def APIAddresses(self):
'''
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperator',
request='APIAddresses',
... |
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
| APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | async def APIAddresses(self):
_params = dict()
msg = dict(type='CAASOperator',
request='APIAddresses',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIAddresses",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperator'",
",",
"request",
"=",
"'APIAddresses'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply... | APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | [
"'''\n APIAddresses returns the list of addresses used to connect to the API.\n\n\n Returns -> StringsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIHostPorts | <not_specific> | async def APIHostPorts(self):
'''
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperator',
request='APIHostPorts',
versio... |
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
| APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | async def APIHostPorts(self):
_params = dict()
msg = dict(type='CAASOperator',
request='APIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperator'",
",",
"request",
"=",
"'APIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply... | APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n APIHostPorts returns the API server addresses.\n\n\n Returns -> APIHostPortsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Charm | <not_specific> | async def Charm(self, entities=None):
'''
Charm returns the charm info for all given applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationCharmResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Excep... |
Charm returns the charm info for all given applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationCharmResults
| Charm returns the charm info for all given applications.
entities : typing.Sequence[~Entity]
Returns -> ApplicationCharmResults | [
"Charm",
"returns",
"the",
"charm",
"info",
"for",
"all",
"given",
"applications",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ApplicationCharmResults"
] | async def Charm(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='CAASOperator',
request='Char... | [
"async",
"def",
"Charm",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Charm returns the charm info for all given applications. | [
"Charm",
"returns",
"the",
"charm",
"info",
"for",
"all",
"given",
"applications",
"."
] | [
"'''\n Charm returns the charm info for all given applications.\n\n entities : typing.Sequence[~Entity]\n Returns -> ApplicationCharmResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | CurrentModel | <not_specific> | async def CurrentModel(self):
'''
CurrentModel returns the name and UUID for the current juju model.
Returns -> ModelResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperator',
request='CurrentModel',
... |
CurrentModel returns the name and UUID for the current juju model.
Returns -> ModelResult
| CurrentModel returns the name and UUID for the current juju model. | [
"CurrentModel",
"returns",
"the",
"name",
"and",
"UUID",
"for",
"the",
"current",
"juju",
"model",
"."
] | async def CurrentModel(self):
_params = dict()
msg = dict(type='CAASOperator',
request='CurrentModel',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"CurrentModel",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperator'",
",",
"request",
"=",
"'CurrentModel'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply... | CurrentModel returns the name and UUID for the current juju model. | [
"CurrentModel",
"returns",
"the",
"name",
"and",
"UUID",
"for",
"the",
"current",
"juju",
"model",
"."
] | [
"'''\n CurrentModel returns the name and UUID for the current juju model.\n\n\n Returns -> ModelResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASOperator',
request='Life'... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelUUID | <not_specific> | async def ModelUUID(self):
'''
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next i... |
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
Returns -> Strin... | ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
| [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
".",
"It",
"is",
"implemented",
"here",
"directly",
"as",
"a",
"result",
"of",
"removing",
"it",
"from",
"embedded",
"APIAddresser",
"*",
"without",
"*",... | async def ModelUUID(self):
_params = dict()
msg = dict(type='CAASOperator',
request='ModelUUID',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelUUID",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperator'",
",",
"request",
"=",
"'ModelUUID'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
"... | ModelUUID returns the model UUID that this facade is used to operate. | [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
"."
] | [
"'''\n ModelUUID returns the model UUID that this facade is used to operate.\n It is implemented here directly as a result of removing it from\n embedded APIAddresser *without* bumping the facade version.\n It should be blanked when this facade version is next incremented.\n\n\n R... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Remove | <not_specific> | async def Remove(self, entities=None):
'''
Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and ... |
Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"Remove",
"removes",
"every",
"given",
"entity",
"from",
"state",
"calling",
"EnsureDead",
"first",
"then",
"Remove",
".",
"It",
"will",
"fail",
"if",
"the",
"entity",
"is",
"not",
"present",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
... | async def Remove(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='CAASOperator',
request='Rem... | [
"async",
"def",
"Remove",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Remove removes every given entity from state, calling EnsureDead
first, then Remove. | [
"Remove",
"removes",
"every",
"given",
"entity",
"from",
"state",
"calling",
"EnsureDead",
"first",
"then",
"Remove",
"."
] | [
"'''\n Remove removes every given entity from state, calling EnsureDead\n first, then Remove. It will fail if the entity is not present.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetPodSpec | <not_specific> | async def SetPodSpec(self, specs=None):
'''
SetPodSpec sets the container specs for a set of applications.
TODO(juju3) - remove
specs : typing.Sequence[~EntityString]
Returns -> ErrorResults
'''
if specs is not None and not isinstance(specs, (bytes, str, list)):
... |
SetPodSpec sets the container specs for a set of applications.
TODO(juju3) - remove
specs : typing.Sequence[~EntityString]
Returns -> ErrorResults
| SetPodSpec sets the container specs for a set of applications.
| [
"SetPodSpec",
"sets",
"the",
"container",
"specs",
"for",
"a",
"set",
"of",
"applications",
"."
] | async def SetPodSpec(self, specs=None):
if specs is not None and not isinstance(specs, (bytes, str, list)):
raise Exception("Expected specs to be a Sequence, received: {}".format(type(specs)))
_params = dict()
msg = dict(type='CAASOperator',
request='SetPodSpec',
... | [
"async",
"def",
"SetPodSpec",
"(",
"self",
",",
"specs",
"=",
"None",
")",
":",
"if",
"specs",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"specs",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"E... | SetPodSpec sets the container specs for a set of applications. | [
"SetPodSpec",
"sets",
"the",
"container",
"specs",
"for",
"a",
"set",
"of",
"applications",
"."
] | [
"'''\n SetPodSpec sets the container specs for a set of applications.\n TODO(juju3) - remove\n\n specs : typing.Sequence[~EntityString]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "specs",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "specs",
"type": null,
"docstring": null,
"docstring_tokens": ... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetStatus | <not_specific> | async def SetStatus(self, entities=None):
'''
SetStatus sets the status of each given entity.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("... |
SetStatus sets the status of each given entity.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetStatus sets the status of each given entity. | [
"SetStatus",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | async def SetStatus(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='CAASOperator',
request='... | [
"async",
"def",
"SetStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | SetStatus sets the status of each given entity. | [
"SetStatus",
"sets",
"the",
"status",
"of",
"each",
"given",
"entity",
"."
] | [
"'''\n SetStatus sets the status of each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetTools | <not_specific> | async def SetTools(self, agent_tools=None):
'''
SetTools updates the recorded tools version for the agents.
agent_tools : typing.Sequence[~EntityVersion]
Returns -> ErrorResults
'''
if agent_tools is not None and not isinstance(agent_tools, (bytes, str, list)):
... |
SetTools updates the recorded tools version for the agents.
agent_tools : typing.Sequence[~EntityVersion]
Returns -> ErrorResults
| SetTools updates the recorded tools version for the agents. | [
"SetTools",
"updates",
"the",
"recorded",
"tools",
"version",
"for",
"the",
"agents",
"."
] | async def SetTools(self, agent_tools=None):
if agent_tools is not None and not isinstance(agent_tools, (bytes, str, list)):
raise Exception("Expected agent_tools to be a Sequence, received: {}".format(type(agent_tools)))
_params = dict()
msg = dict(type='CAASOperator',
... | [
"async",
"def",
"SetTools",
"(",
"self",
",",
"agent_tools",
"=",
"None",
")",
":",
"if",
"agent_tools",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"agent_tools",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception... | SetTools updates the recorded tools version for the agents. | [
"SetTools",
"updates",
"the",
"recorded",
"tools",
"version",
"for",
"the",
"agents",
"."
] | [
"'''\n SetTools updates the recorded tools version for the agents.\n\n agent_tools : typing.Sequence[~EntityVersion]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "agent_tools",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "agent_tools",
"type": null,
"docstring": null,
"docstring_tok... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self, entities=None):
'''
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Exp... |
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def Watch(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='CAASOperator',
request='Watc... | [
"async",
"def",
"Watch",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Watch starts an NotifyWatcher for each given entity. | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
"."
] | [
"'''\n Watch starts an NotifyWatcher for each given entity.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchAPIHostPorts | <not_specific> | async def WatchAPIHostPorts(self):
'''
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperator',
request='WatchAPIHostPorts',
... |
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
| WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | async def WatchAPIHostPorts(self):
_params = dict()
msg = dict(type='CAASOperator',
request='WatchAPIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAPIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperator'",
",",
"request",
"=",
"'WatchAPIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")"... | WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n WatchAPIHostPorts watches the API server addresses.\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchContainerStart | <not_specific> | async def WatchContainerStart(self, args=None):
'''
WatchContainerStart starts a StringWatcher to watch for container start events
on the CAAS api for a specific application and container.
args : typing.Sequence[~WatchContainerStartArg]
Returns -> StringsWatchResults
'''... |
WatchContainerStart starts a StringWatcher to watch for container start events
on the CAAS api for a specific application and container.
args : typing.Sequence[~WatchContainerStartArg]
Returns -> StringsWatchResults
| WatchContainerStart starts a StringWatcher to watch for container start events
on the CAAS api for a specific application and container.
| [
"WatchContainerStart",
"starts",
"a",
"StringWatcher",
"to",
"watch",
"for",
"container",
"start",
"events",
"on",
"the",
"CAAS",
"api",
"for",
"a",
"specific",
"application",
"and",
"container",
"."
] | async def WatchContainerStart(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='CAASOperator',
request='WatchConta... | [
"async",
"def",
"WatchContainerStart",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | WatchContainerStart starts a StringWatcher to watch for container start events
on the CAAS api for a specific application and container. | [
"WatchContainerStart",
"starts",
"a",
"StringWatcher",
"to",
"watch",
"for",
"container",
"start",
"events",
"on",
"the",
"CAAS",
"api",
"for",
"a",
"specific",
"application",
"and",
"container",
"."
] | [
"'''\n WatchContainerStart starts a StringWatcher to watch for container start events\n on the CAAS api for a specific application and container.\n\n args : typing.Sequence[~WatchContainerStartArg]\n Returns -> StringsWatchResults\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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchUnits | <not_specific> | async def WatchUnits(self, entities=None):
'''
WatchUnits starts a StringsWatcher to watch changes to the
lifecycle states of units for the specified applications in
this model.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if ent... |
WatchUnits starts a StringsWatcher to watch changes to the
lifecycle states of units for the specified applications in
this model.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchUnits starts a StringsWatcher to watch changes to the
lifecycle states of units for the specified applications in
this model.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"changes",
"to",
"the",
"lifecycle",
"states",
"of",
"units",
"for",
"the",
"specified",
"applications",
"in",
"this",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
... | async def WatchUnits(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='CAASOperator',
request=... | [
"async",
"def",
"WatchUnits",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | WatchUnits starts a StringsWatcher to watch changes to the
lifecycle states of units for the specified applications in
this model. | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"changes",
"to",
"the",
"lifecycle",
"states",
"of",
"units",
"for",
"the",
"specified",
"applications",
"in",
"this",
"model",
"."
] | [
"'''\n WatchUnits starts a StringsWatcher to watch changes to the\n lifecycle states of units for the specified applications in\n this model.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIAddresses | <not_specific> | async def APIAddresses(self):
'''
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='APIAddress... |
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
| APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | async def APIAddresses(self):
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='APIAddresses',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIAddresses",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperatorProvisioner'",
",",
"request",
"=",
"'APIAddresses'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")... | APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | [
"'''\n APIAddresses returns the list of addresses used to connect to the API.\n\n\n Returns -> StringsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIHostPorts | <not_specific> | async def APIHostPorts(self):
'''
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='APIHostPorts',
... |
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
| APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | async def APIHostPorts(self):
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='APIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperatorProvisioner'",
",",
"request",
"=",
"'APIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")... | APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n APIHostPorts returns the API server addresses.\n\n\n Returns -> APIHostPortsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | IssueOperatorCertificate | <not_specific> | async def IssueOperatorCertificate(self, entities=None):
'''
IssueOperatorCertificate issues an x509 certificate for use by the specified application operator.
entities : typing.Sequence[~Entity]
Returns -> IssueOperatorCertificateResults
'''
if entities is not None and ... |
IssueOperatorCertificate issues an x509 certificate for use by the specified application operator.
entities : typing.Sequence[~Entity]
Returns -> IssueOperatorCertificateResults
| IssueOperatorCertificate issues an x509 certificate for use by the specified application operator.
entities : typing.Sequence[~Entity]
Returns -> IssueOperatorCertificateResults | [
"IssueOperatorCertificate",
"issues",
"an",
"x509",
"certificate",
"for",
"use",
"by",
"the",
"specified",
"application",
"operator",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"IssueOperatorCertificateResults"
] | async def IssueOperatorCertificate(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='CAASOperatorProvisioner',
... | [
"async",
"def",
"IssueOperatorCertificate",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Ex... | IssueOperatorCertificate issues an x509 certificate for use by the specified application operator. | [
"IssueOperatorCertificate",
"issues",
"an",
"x509",
"certificate",
"for",
"use",
"by",
"the",
"specified",
"application",
"operator",
"."
] | [
"'''\n IssueOperatorCertificate issues an x509 certificate for use by the specified application operator.\n\n entities : typing.Sequence[~Entity]\n Returns -> IssueOperatorCertificateResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASOperatorProvisioner',
req... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelUUID | <not_specific> | async def ModelUUID(self):
'''
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next i... |
ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
Returns -> Strin... | ModelUUID returns the model UUID that this facade is used to operate.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
| [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
".",
"It",
"is",
"implemented",
"here",
"directly",
"as",
"a",
"result",
"of",
"removing",
"it",
"from",
"embedded",
"APIAddresser",
"*",
"without",
"*",... | async def ModelUUID(self):
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='ModelUUID',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelUUID",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperatorProvisioner'",
",",
"request",
"=",
"'ModelUUID'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"... | ModelUUID returns the model UUID that this facade is used to operate. | [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"used",
"to",
"operate",
"."
] | [
"'''\n ModelUUID returns the model UUID that this facade is used to operate.\n It is implemented here directly as a result of removing it from\n embedded APIAddresser *without* bumping the facade version.\n It should be blanked when this facade version is next incremented.\n\n\n R... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | OperatorProvisioningInfo | <not_specific> | async def OperatorProvisioningInfo(self, entities=None):
'''
OperatorProvisioningInfo returns the info needed to provision an operator.
entities : typing.Sequence[~Entity]
Returns -> OperatorProvisioningInfoResults
'''
if entities is not None and not isinstance(entities,... |
OperatorProvisioningInfo returns the info needed to provision an operator.
entities : typing.Sequence[~Entity]
Returns -> OperatorProvisioningInfoResults
| OperatorProvisioningInfo returns the info needed to provision an operator.
entities : typing.Sequence[~Entity]
Returns -> OperatorProvisioningInfoResults | [
"OperatorProvisioningInfo",
"returns",
"the",
"info",
"needed",
"to",
"provision",
"an",
"operator",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"OperatorProvisioningInfoResults"
] | async def OperatorProvisioningInfo(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='CAASOperatorProvisioner',
... | [
"async",
"def",
"OperatorProvisioningInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Ex... | OperatorProvisioningInfo returns the info needed to provision an operator. | [
"OperatorProvisioningInfo",
"returns",
"the",
"info",
"needed",
"to",
"provision",
"an",
"operator",
"."
] | [
"'''\n OperatorProvisioningInfo returns the info needed to provision an operator.\n\n entities : typing.Sequence[~Entity]\n Returns -> OperatorProvisioningInfoResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='CAASOperatorProvisioner',
... | [
"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"... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchAPIHostPorts | <not_specific> | async def WatchAPIHostPorts(self):
'''
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='WatchAPIHostPorts',
... |
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
| WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | async def WatchAPIHostPorts(self):
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='WatchAPIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAPIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperatorProvisioner'",
",",
"request",
"=",
"'WatchAPIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_par... | WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n WatchAPIHostPorts watches the API server addresses.\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplications | <not_specific> | async def WatchApplications(self):
'''
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
... |
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
| WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | async def WatchApplications(self):
_params = dict()
msg = dict(type='CAASOperatorProvisioner',
request='WatchApplications',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASOperatorProvisioner'",
",",
"request",
"=",
"'WatchApplications'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_par... | WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | [
"'''\n WatchApplications starts a StringsWatcher to watch applications deployed to this model.\n\n\n Returns -> StringsWatchResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | UpgradeOperator | <not_specific> | async def UpgradeOperator(self, agent_tag=None, version=None):
'''
UpgradeOperator upgrades the operator for the specified agents.
agent_tag : str
version : Number
Returns -> ErrorResult
'''
if agent_tag is not None and not isinstance(agent_tag, (bytes, str)):
... |
UpgradeOperator upgrades the operator for the specified agents.
agent_tag : str
version : Number
Returns -> ErrorResult
| UpgradeOperator upgrades the operator for the specified agents.
agent_tag : str
version : Number
Returns -> ErrorResult | [
"UpgradeOperator",
"upgrades",
"the",
"operator",
"for",
"the",
"specified",
"agents",
".",
"agent_tag",
":",
"str",
"version",
":",
"Number",
"Returns",
"-",
">",
"ErrorResult"
] | async def UpgradeOperator(self, agent_tag=None, version=None):
if agent_tag is not None and not isinstance(agent_tag, (bytes, str)):
raise Exception("Expected agent_tag to be a str, received: {}".format(type(agent_tag)))
if version is not None and not isinstance(version, (dict, Number)):
... | [
"async",
"def",
"UpgradeOperator",
"(",
"self",
",",
"agent_tag",
"=",
"None",
",",
"version",
"=",
"None",
")",
":",
"if",
"agent_tag",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"agent_tag",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
... | UpgradeOperator upgrades the operator for the specified agents. | [
"UpgradeOperator",
"upgrades",
"the",
"operator",
"for",
"the",
"specified",
"agents",
"."
] | [
"'''\n UpgradeOperator upgrades the operator for the specified agents.\n\n agent_tag : str\n version : Number\n Returns -> ErrorResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "agent_tag",
"type": null
},
{
"param": "version",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "agent_tag",
"type": null,
"docstring": null,
"docstring_token... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplications | <not_specific> | async def WatchApplications(self):
'''
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CAASUnitProvisioner',
... |
WatchApplications starts a StringsWatcher to watch applications deployed to this model.
Returns -> StringsWatchResult
| WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | async def WatchApplications(self):
_params = dict()
msg = dict(type='CAASUnitProvisioner',
request='WatchApplications',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchApplications",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CAASUnitProvisioner'",
",",
"request",
"=",
"'WatchApplications'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params"... | WatchApplications starts a StringsWatcher to watch applications deployed to this model. | [
"WatchApplications",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"applications",
"deployed",
"to",
"this",
"model",
"."
] | [
"'''\n WatchApplications starts a StringsWatcher to watch applications deployed to this model.\n\n\n Returns -> StringsWatchResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchApplicationsScale | <not_specific> | async def WatchApplicationsScale(self, entities=None):
'''
WatchApplicationsScale starts a NotifyWatcher to watch changes
to the applications' scale.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(... |
WatchApplicationsScale starts a NotifyWatcher to watch changes
to the applications' scale.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchApplicationsScale starts a NotifyWatcher to watch changes
to the applications' scale.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchApplicationsScale",
"starts",
"a",
"NotifyWatcher",
"to",
"watch",
"changes",
"to",
"the",
"applications",
"'",
"scale",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchApplicationsScale(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",
"WatchApplicationsScale",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | WatchApplicationsScale starts a NotifyWatcher to watch changes
to the applications' scale. | [
"WatchApplicationsScale",
"starts",
"a",
"NotifyWatcher",
"to",
"watch",
"changes",
"to",
"the",
"applications",
"'",
"scale",
"."
] | [
"'''\n WatchApplicationsScale starts a NotifyWatcher to watch changes\n to the applications' scale.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchPodSpec | <not_specific> | async def WatchPodSpec(self, entities=None):
'''
WatchPodSpec starts a NotifyWatcher to watch changes to the
pod spec for specified units in this model.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstan... |
WatchPodSpec starts a NotifyWatcher to watch changes to the
pod spec for specified units in this model.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchPodSpec starts a NotifyWatcher to watch changes to the
pod spec for specified units in this model.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchPodSpec",
"starts",
"a",
"NotifyWatcher",
"to",
"watch",
"changes",
"to",
"the",
"pod",
"spec",
"for",
"specified",
"units",
"in",
"this",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchR... | async def WatchPodSpec(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",
"WatchPodSpec",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | WatchPodSpec starts a NotifyWatcher to watch changes to the
pod spec for specified units in this model. | [
"WatchPodSpec",
"starts",
"a",
"NotifyWatcher",
"to",
"watch",
"changes",
"to",
"the",
"pod",
"spec",
"for",
"specified",
"units",
"in",
"this",
"model",
"."
] | [
"'''\n WatchPodSpec starts a NotifyWatcher to watch changes to the\n pod spec for specified units in this model.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Find | <not_specific> | async def Find(self, category=None, channel=None, platforms=None, publisher=None, query=None, relation_provides=None, relation_requires=None, type_=None):
'''
Find queries the CharmHub API with a given entity ID.
category : str
channel : str
platforms : str
publisher : s... |
Find queries the CharmHub API with a given entity ID.
category : str
channel : str
platforms : str
publisher : str
query : str
relation_provides : str
relation_requires : str
type_ : str
Returns -> CharmHubEntityFindResult
| Find queries the CharmHub API with a given entity ID. | [
"Find",
"queries",
"the",
"CharmHub",
"API",
"with",
"a",
"given",
"entity",
"ID",
"."
] | async def Find(self, category=None, channel=None, platforms=None, publisher=None, query=None, relation_provides=None, relation_requires=None, type_=None):
if category is not None and not isinstance(category, (bytes, str)):
raise Exception("Expected category to be a str, received: {}".format(type(cat... | [
"async",
"def",
"Find",
"(",
"self",
",",
"category",
"=",
"None",
",",
"channel",
"=",
"None",
",",
"platforms",
"=",
"None",
",",
"publisher",
"=",
"None",
",",
"query",
"=",
"None",
",",
"relation_provides",
"=",
"None",
",",
"relation_requires",
"=",... | Find queries the CharmHub API with a given entity ID. | [
"Find",
"queries",
"the",
"CharmHub",
"API",
"with",
"a",
"given",
"entity",
"ID",
"."
] | [
"'''\n Find queries the CharmHub API with a given entity ID.\n\n category : str\n channel : str\n platforms : str\n publisher : str\n query : str\n relation_provides : str\n relation_requires : str\n type_ : str\n Returns -> CharmHubEntityFindRes... | [
{
"param": "self",
"type": null
},
{
"param": "category",
"type": null
},
{
"param": "channel",
"type": null
},
{
"param": "platforms",
"type": null
},
{
"param": "publisher",
"type": null
},
{
"param": "query",
"type": null
},
{
"param": "... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "category",
"type": null,
"docstring": null,
"docstring_tokens... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Info | <not_specific> | async def Info(self, channel=None, tag=None):
'''
Info queries the CharmHub API with a given entity ID.
channel : str
tag : str
Returns -> CharmHubEntityInfoResult
'''
if channel is not None and not isinstance(channel, (bytes, str)):
raise Exception("... |
Info queries the CharmHub API with a given entity ID.
channel : str
tag : str
Returns -> CharmHubEntityInfoResult
| Info queries the CharmHub API with a given entity ID.
channel : str
tag : str
Returns -> CharmHubEntityInfoResult | [
"Info",
"queries",
"the",
"CharmHub",
"API",
"with",
"a",
"given",
"entity",
"ID",
".",
"channel",
":",
"str",
"tag",
":",
"str",
"Returns",
"-",
">",
"CharmHubEntityInfoResult"
] | async def Info(self, channel=None, tag=None):
if channel is not None and not isinstance(channel, (bytes, str)):
raise Exception("Expected channel to be a str, received: {}".format(type(channel)))
if tag is not None and not isinstance(tag, (bytes, str)):
raise Exception("Expected ... | [
"async",
"def",
"Info",
"(",
"self",
",",
"channel",
"=",
"None",
",",
"tag",
"=",
"None",
")",
":",
"if",
"channel",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"channel",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception... | Info queries the CharmHub API with a given entity ID. | [
"Info",
"queries",
"the",
"CharmHub",
"API",
"with",
"a",
"given",
"entity",
"ID",
"."
] | [
"'''\n Info queries the CharmHub API with a given entity ID.\n\n channel : str\n tag : str\n Returns -> CharmHubEntityInfoResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "channel",
"type": null
},
{
"param": "tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "channel",
"type": null,
"docstring": null,
"docstring_tokens"... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | PrivateAddress | <not_specific> | async def PrivateAddress(self, target=None):
'''
target : str
Returns -> PrivateAddressResults
'''
if target is not None and not isinstance(target, (bytes, str)):
raise Exception("Expected target to be a str, received: {}".format(type(target)))
# map input ty... |
target : str
Returns -> PrivateAddressResults
| target : str
Returns -> PrivateAddressResults | [
"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... | target : str
Returns -> PrivateAddressResults | [
"target",
":",
"str",
"Returns",
"-",
">",
"PrivateAddressResults"
] | [
"'''\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":... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | InvalidateModelCredential | <not_specific> | async def InvalidateModelCredential(self, reason=None):
'''
InvalidateModelCredential marks the cloud credential for this model as invalid.
reason : str
Returns -> ErrorResult
'''
if reason is not None and not isinstance(reason, (bytes, str)):
raise Exception... |
InvalidateModelCredential marks the cloud credential for this model as invalid.
reason : str
Returns -> ErrorResult
| InvalidateModelCredential marks the cloud credential for this model as invalid.
reason : str
Returns -> ErrorResult | [
"InvalidateModelCredential",
"marks",
"the",
"cloud",
"credential",
"for",
"this",
"model",
"as",
"invalid",
".",
"reason",
":",
"str",
"Returns",
"-",
">",
"ErrorResult"
] | async def InvalidateModelCredential(self, reason=None):
if reason is not None and not isinstance(reason, (bytes, str)):
raise Exception("Expected reason to be a str, received: {}".format(type(reason)))
_params = dict()
msg = dict(type='CredentialManager',
request='... | [
"async",
"def",
"InvalidateModelCredential",
"(",
"self",
",",
"reason",
"=",
"None",
")",
":",
"if",
"reason",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"reason",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"... | InvalidateModelCredential marks the cloud credential for this model as invalid. | [
"InvalidateModelCredential",
"marks",
"the",
"cloud",
"credential",
"for",
"this",
"model",
"as",
"invalid",
"."
] | [
"'''\n InvalidateModelCredential marks the cloud credential for this model as invalid.\n\n reason : str\n Returns -> ErrorResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "reason",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "reason",
"type": null,
"docstring": null,
"docstring_tokens":... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ControllerInfo | <not_specific> | async def ControllerInfo(self):
'''
ControllerInfo returns the API info for the controller.
Returns -> ControllerAPIInfoResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CrossController',
request='ControllerInfo',
... |
ControllerInfo returns the API info for the controller.
Returns -> ControllerAPIInfoResults
| ControllerInfo returns the API info for the controller. | [
"ControllerInfo",
"returns",
"the",
"API",
"info",
"for",
"the",
"controller",
"."
] | async def ControllerInfo(self):
_params = dict()
msg = dict(type='CrossController',
request='ControllerInfo',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CrossController'",
",",
"request",
"=",
"'ControllerInfo'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
... | ControllerInfo returns the API info for the controller. | [
"ControllerInfo",
"returns",
"the",
"API",
"info",
"for",
"the",
"controller",
"."
] | [
"'''\n ControllerInfo returns the API info for the controller.\n\n\n Returns -> ControllerAPIInfoResults\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchControllerInfo | <not_specific> | async def WatchControllerInfo(self):
'''
WatchControllerInfo creates a watcher that notifies when the API info
for the controller changes.
Returns -> NotifyWatchResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='CrossController',... |
WatchControllerInfo creates a watcher that notifies when the API info
for the controller changes.
Returns -> NotifyWatchResults
| WatchControllerInfo creates a watcher that notifies when the API info
for the controller changes.
| [
"WatchControllerInfo",
"creates",
"a",
"watcher",
"that",
"notifies",
"when",
"the",
"API",
"info",
"for",
"the",
"controller",
"changes",
"."
] | async def WatchControllerInfo(self):
_params = dict()
msg = dict(type='CrossController',
request='WatchControllerInfo',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchControllerInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'CrossController'",
",",
"request",
"=",
"'WatchControllerInfo'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params"... | WatchControllerInfo creates a watcher that notifies when the API info
for the controller changes. | [
"WatchControllerInfo",
"creates",
"a",
"watcher",
"that",
"notifies",
"when",
"the",
"API",
"info",
"for",
"the",
"controller",
"changes",
"."
] | [
"'''\n WatchControllerInfo creates a watcher that notifies when the API info\n for the controller changes.\n\n\n Returns -> NotifyWatchResults\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIAddresses | <not_specific> | async def APIAddresses(self):
'''
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Deployer',
request='APIAddresses',
... |
APIAddresses returns the list of addresses used to connect to the API.
Returns -> StringsResult
| APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | async def APIAddresses(self):
_params = dict()
msg = dict(type='Deployer',
request='APIAddresses',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIAddresses",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Deployer'",
",",
"request",
"=",
"'APIAddresses'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
... | APIAddresses returns the list of addresses used to connect to the API. | [
"APIAddresses",
"returns",
"the",
"list",
"of",
"addresses",
"used",
"to",
"connect",
"to",
"the",
"API",
"."
] | [
"'''\n APIAddresses returns the list of addresses used to connect to the API.\n\n\n Returns -> StringsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | APIHostPorts | <not_specific> | async def APIHostPorts(self):
'''
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Deployer',
request='APIHostPorts',
version=1,... |
APIHostPorts returns the API server addresses.
Returns -> APIHostPortsResult
| APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | async def APIHostPorts(self):
_params = dict()
msg = dict(type='Deployer',
request='APIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"APIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Deployer'",
",",
"request",
"=",
"'APIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
... | APIHostPorts returns the API server addresses. | [
"APIHostPorts",
"returns",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n APIHostPorts returns the API server addresses.\n\n\n Returns -> APIHostPortsResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ConnectionInfo | <not_specific> | async def ConnectionInfo(self):
'''
ConnectionInfo returns all the address information that the
deployer task needs in one call.
Returns -> DeployerConnectionValues
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Deployer',
... |
ConnectionInfo returns all the address information that the
deployer task needs in one call.
Returns -> DeployerConnectionValues
| ConnectionInfo returns all the address information that the
deployer task needs in one call.
| [
"ConnectionInfo",
"returns",
"all",
"the",
"address",
"information",
"that",
"the",
"deployer",
"task",
"needs",
"in",
"one",
"call",
"."
] | async def ConnectionInfo(self):
_params = dict()
msg = dict(type='Deployer',
request='ConnectionInfo',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ConnectionInfo",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Deployer'",
",",
"request",
"=",
"'ConnectionInfo'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply... | ConnectionInfo returns all the address information that the
deployer task needs in one call. | [
"ConnectionInfo",
"returns",
"all",
"the",
"address",
"information",
"that",
"the",
"deployer",
"task",
"needs",
"in",
"one",
"call",
"."
] | [
"'''\n ConnectionInfo returns all the address information that the\n deployer task needs in one call.\n\n\n Returns -> DeployerConnectionValues\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='Deployer',
request='Life',
... | [
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelUUID | <not_specific> | async def ModelUUID(self):
'''
ModelUUID returns the model UUID that this facade is deploying into.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next in... |
ModelUUID returns the model UUID that this facade is deploying into.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
Returns -> String... | ModelUUID returns the model UUID that this facade is deploying into.
It is implemented here directly as a result of removing it from
embedded APIAddresser *without* bumping the facade version.
It should be blanked when this facade version is next incremented.
| [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"deploying",
"into",
".",
"It",
"is",
"implemented",
"here",
"directly",
"as",
"a",
"result",
"of",
"removing",
"it",
"from",
"embedded",
"APIAddresser",
"*",
"without",
"*",
"bu... | async def ModelUUID(self):
_params = dict()
msg = dict(type='Deployer',
request='ModelUUID',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelUUID",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Deployer'",
",",
"request",
"=",
"'ModelUUID'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
... | ModelUUID returns the model UUID that this facade is deploying into. | [
"ModelUUID",
"returns",
"the",
"model",
"UUID",
"that",
"this",
"facade",
"is",
"deploying",
"into",
"."
] | [
"'''\n ModelUUID returns the model UUID that this facade is deploying into.\n It is implemented here directly as a result of removing it from\n embedded APIAddresser *without* bumping the facade version.\n It should be blanked when this facade version is next incremented.\n\n\n Re... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Remove | <not_specific> | async def Remove(self, entities=None):
'''
Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and ... |
Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| Remove removes every given entity from state, calling EnsureDead
first, then Remove. It will fail if the entity is not present.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"Remove",
"removes",
"every",
"given",
"entity",
"from",
"state",
"calling",
"EnsureDead",
"first",
"then",
"Remove",
".",
"It",
"will",
"fail",
"if",
"the",
"entity",
"is",
"not",
"present",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
... | async def Remove(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='Deployer',
request='Remove'... | [
"async",
"def",
"Remove",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Remove removes every given entity from state, calling EnsureDead
first, then Remove. | [
"Remove",
"removes",
"every",
"given",
"entity",
"from",
"state",
"calling",
"EnsureDead",
"first",
"then",
"Remove",
"."
] | [
"'''\n Remove removes every given entity from state, calling EnsureDead\n first, then Remove. It will fail if the entity is not present.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.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='Deployer',
request='SetPas... | [
"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"... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetStatus | <not_specific> | async def SetStatus(self, entities=None):
'''
SetStatus sets the status of the specified entities.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Except... |
SetStatus sets the status of the specified entities.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetStatus sets the status of the specified entities. | [
"SetStatus",
"sets",
"the",
"status",
"of",
"the",
"specified",
"entities",
"."
] | async def SetStatus(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='Deployer',
request='SetS... | [
"async",
"def",
"SetStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | SetStatus sets the status of the specified entities. | [
"SetStatus",
"sets",
"the",
"status",
"of",
"the",
"specified",
"entities",
"."
] | [
"'''\n SetStatus sets the status of the specified entities.\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | UpdateStatus | <not_specific> | async def UpdateStatus(self, entities=None):
'''
UpdateStatus updates the status data of each given entity.
TODO(fwereade): WTF. This method exists *only* for the convenience of the
*client* API -- and is itself completely broken -- but we still expose it
in every facade with a S... |
UpdateStatus updates the status data of each given entity.
TODO(fwereade): WTF. This method exists *only* for the convenience of the
*client* API -- and is itself completely broken -- but we still expose it
in every facade with a StatusSetter? FFS.
entities : typing.Sequence[~E... | UpdateStatus updates the status data of each given entity.
| [
"UpdateStatus",
"updates",
"the",
"status",
"data",
"of",
"each",
"given",
"entity",
"."
] | async def UpdateStatus(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='Deployer',
request='U... | [
"async",
"def",
"UpdateStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | UpdateStatus updates the status data of each given entity. | [
"UpdateStatus",
"updates",
"the",
"status",
"data",
"of",
"each",
"given",
"entity",
"."
] | [
"'''\n UpdateStatus updates the status data of each given entity.\n TODO(fwereade): WTF. This method exists *only* for the convenience of the\n *client* API -- and is itself completely broken -- but we still expose it\n in every facade with a StatusSetter? FFS.\n\n entities : typi... | [
{
"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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchAPIHostPorts | <not_specific> | async def WatchAPIHostPorts(self):
'''
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Deployer',
request='WatchAPIHostPorts',
... |
WatchAPIHostPorts watches the API server addresses.
Returns -> NotifyWatchResult
| WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | async def WatchAPIHostPorts(self):
_params = dict()
msg = dict(type='Deployer',
request='WatchAPIHostPorts',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAPIHostPorts",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Deployer'",
",",
"request",
"=",
"'WatchAPIHostPorts'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
... | WatchAPIHostPorts watches the API server addresses. | [
"WatchAPIHostPorts",
"watches",
"the",
"API",
"server",
"addresses",
"."
] | [
"'''\n WatchAPIHostPorts watches the API server addresses.\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchUnits | <not_specific> | async def WatchUnits(self, entities=None):
'''
WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if entities is not None and... |
WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"all",
"units",
"belonging",
"to",
"to",
"any",
"entity",
"(",
"machine",
"or",
"service",
")",
"passed",
"in",
"args",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Ret... | async def WatchUnits(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='Deployer',
request='Wat... | [
"async",
"def",
"WatchUnits",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args. | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"all",
"units",
"belonging",
"to",
"to",
"any",
"entity",
"(",
"machine",
"or",
"service",
")",
"passed",
"in",
"args",
"."
] | [
"'''\n WatchUnits starts a StringsWatcher to watch all units belonging to\n to any entity (machine or service) passed in args.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ExternalControllerInfo | <not_specific> | async def ExternalControllerInfo(self, entities=None):
'''
ExternalControllerInfo returns the info for the specified external controllers.
entities : typing.Sequence[~Entity]
Returns -> ExternalControllerInfoResults
'''
if entities is not None and not isinstance(entities... |
ExternalControllerInfo returns the info for the specified external controllers.
entities : typing.Sequence[~Entity]
Returns -> ExternalControllerInfoResults
| ExternalControllerInfo returns the info for the specified external controllers.
entities : typing.Sequence[~Entity]
Returns -> ExternalControllerInfoResults | [
"ExternalControllerInfo",
"returns",
"the",
"info",
"for",
"the",
"specified",
"external",
"controllers",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ExternalControllerInfoResults"
] | async def ExternalControllerInfo(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='ExternalControllerUpdater',
... | [
"async",
"def",
"ExternalControllerInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | ExternalControllerInfo returns the info for the specified external controllers. | [
"ExternalControllerInfo",
"returns",
"the",
"info",
"for",
"the",
"specified",
"external",
"controllers",
"."
] | [
"'''\n ExternalControllerInfo returns the info for the specified external controllers.\n\n entities : typing.Sequence[~Entity]\n Returns -> ExternalControllerInfoResults\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... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetExternalControllerInfo | <not_specific> | async def SetExternalControllerInfo(self, controllers=None):
'''
SetExternalControllerInfo saves the info for the specified external controllers.
controllers : typing.Sequence[~SetExternalControllerInfoParams]
Returns -> ErrorResults
'''
if controllers is not None and no... |
SetExternalControllerInfo saves the info for the specified external controllers.
controllers : typing.Sequence[~SetExternalControllerInfoParams]
Returns -> ErrorResults
| SetExternalControllerInfo saves the info for the specified external controllers. | [
"SetExternalControllerInfo",
"saves",
"the",
"info",
"for",
"the",
"specified",
"external",
"controllers",
"."
] | async def SetExternalControllerInfo(self, controllers=None):
if controllers is not None and not isinstance(controllers, (bytes, str, list)):
raise Exception("Expected controllers to be a Sequence, received: {}".format(type(controllers)))
_params = dict()
msg = dict(type='ExternalCont... | [
"async",
"def",
"SetExternalControllerInfo",
"(",
"self",
",",
"controllers",
"=",
"None",
")",
":",
"if",
"controllers",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"controllers",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"rai... | SetExternalControllerInfo saves the info for the specified external controllers. | [
"SetExternalControllerInfo",
"saves",
"the",
"info",
"for",
"the",
"specified",
"external",
"controllers",
"."
] | [
"'''\n SetExternalControllerInfo saves the info for the specified external controllers.\n\n controllers : typing.Sequence[~SetExternalControllerInfoParams]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "controllers",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "controllers",
"type": null,
"docstring": null,
"docstring_tok... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchExternalControllers | <not_specific> | async def WatchExternalControllers(self):
'''
WatchExternalControllers watches for the addition and removal of external
controller records to the local controller's database.
Returns -> StringsWatchResults
'''
# map input types to rpc msg
_params = dict()
... |
WatchExternalControllers watches for the addition and removal of external
controller records to the local controller's database.
Returns -> StringsWatchResults
| WatchExternalControllers watches for the addition and removal of external
controller records to the local controller's database.
| [
"WatchExternalControllers",
"watches",
"for",
"the",
"addition",
"and",
"removal",
"of",
"external",
"controller",
"records",
"to",
"the",
"local",
"controller",
"'",
"s",
"database",
"."
] | async def WatchExternalControllers(self):
_params = dict()
msg = dict(type='ExternalControllerUpdater',
request='WatchExternalControllers',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchExternalControllers",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'ExternalControllerUpdater'",
",",
"request",
"=",
"'WatchExternalControllers'",
",",
"version",
"=",
"1",
",",
"params"... | WatchExternalControllers watches for the addition and removal of external
controller records to the local controller's database. | [
"WatchExternalControllers",
"watches",
"for",
"the",
"addition",
"and",
"removal",
"of",
"external",
"controller",
"records",
"to",
"the",
"local",
"controller",
"'",
"s",
"database",
"."
] | [
"'''\n WatchExternalControllers watches for the addition and removal of external\n controller records to the local controller's database.\n\n\n Returns -> StringsWatchResults\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | FanConfig | <not_specific> | async def FanConfig(self):
'''
FanConfig returns current FAN configuration.
Returns -> FanConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='FanConfigurer',
request='FanConfig',
version=1,
... |
FanConfig returns current FAN configuration.
Returns -> FanConfigResult
| FanConfig returns current FAN configuration. | [
"FanConfig",
"returns",
"current",
"FAN",
"configuration",
"."
] | async def FanConfig(self):
_params = dict()
msg = dict(type='FanConfigurer',
request='FanConfig',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"FanConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'FanConfigurer'",
",",
"request",
"=",
"'FanConfig'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
... | FanConfig returns current FAN configuration. | [
"FanConfig",
"returns",
"current",
"FAN",
"configuration",
"."
] | [
"'''\n FanConfig returns current FAN configuration.\n\n\n Returns -> FanConfigResult\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchForFanConfigChanges | <not_specific> | async def WatchForFanConfigChanges(self):
'''
WatchForFanConfigChanges returns a NotifyWatcher that observes
changes to the FAN configuration.
so we use the regular error return.
TODO(wpk) 2017-09-21 We should use Model directly, and watch only for FanConfig changes.
Re... |
WatchForFanConfigChanges returns a NotifyWatcher that observes
changes to the FAN configuration.
so we use the regular error return.
TODO(wpk) 2017-09-21 We should use Model directly, and watch only for FanConfig changes.
Returns -> NotifyWatchResult
| WatchForFanConfigChanges returns a NotifyWatcher that observes
changes to the FAN configuration.
so we use the regular error return.
TODO(wpk) 2017-09-21 We should use Model directly, and watch only for FanConfig changes.
| [
"WatchForFanConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"FAN",
"configuration",
".",
"so",
"we",
"use",
"the",
"regular",
"error",
"return",
".",
"TODO",
"(",
"wpk",
")",
"2017",
"-",
"09",
"-",
"21",
"We",
... | async def WatchForFanConfigChanges(self):
_params = dict()
msg = dict(type='FanConfigurer',
request='WatchForFanConfigChanges',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchForFanConfigChanges",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'FanConfigurer'",
",",
"request",
"=",
"'WatchForFanConfigChanges'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"... | WatchForFanConfigChanges returns a NotifyWatcher that observes
changes to the FAN configuration. | [
"WatchForFanConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"FAN",
"configuration",
"."
] | [
"'''\n WatchForFanConfigChanges returns a NotifyWatcher that observes\n changes to the FAN configuration.\n so we use the regular error return.\n TODO(wpk) 2017-09-21 We should use Model directly, and watch only for FanConfig changes.\n\n\n Returns -> NotifyWatchResult\n ''... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ListFirewallRules | <not_specific> | async def ListFirewallRules(self):
'''
ListFirewallRules returns all the firewall rules.
Returns -> ListFirewallRulesResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='FirewallRules',
request='ListFirewallRules',
... |
ListFirewallRules returns all the firewall rules.
Returns -> ListFirewallRulesResults
| ListFirewallRules returns all the firewall rules. | [
"ListFirewallRules",
"returns",
"all",
"the",
"firewall",
"rules",
"."
] | async def ListFirewallRules(self):
_params = dict()
msg = dict(type='FirewallRules',
request='ListFirewallRules',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ListFirewallRules",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'FirewallRules'",
",",
"request",
"=",
"'ListFirewallRules'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")... | ListFirewallRules returns all the firewall rules. | [
"ListFirewallRules",
"returns",
"all",
"the",
"firewall",
"rules",
"."
] | [
"'''\n ListFirewallRules returns all the firewall rules.\n\n\n Returns -> ListFirewallRulesResults\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": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | SetFirewallRules | <not_specific> | async def SetFirewallRules(self, args=None):
'''
SetFirewallRules creates or updates the specified firewall rules.
args : typing.Sequence[~FirewallRule]
Returns -> ErrorResults
'''
if args is not None and not isinstance(args, (bytes, str, list)):
raise Except... |
SetFirewallRules creates or updates the specified firewall rules.
args : typing.Sequence[~FirewallRule]
Returns -> ErrorResults
| SetFirewallRules creates or updates the specified firewall rules. | [
"SetFirewallRules",
"creates",
"or",
"updates",
"the",
"specified",
"firewall",
"rules",
"."
] | async def SetFirewallRules(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='FirewallRules',
request='SetFirewallR... | [
"async",
"def",
"SetFirewallRules",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"... | SetFirewallRules creates or updates the specified firewall rules. | [
"SetFirewallRules",
"creates",
"or",
"updates",
"the",
"specified",
"firewall",
"rules",
"."
] | [
"'''\n SetFirewallRules creates or updates the specified firewall rules.\n\n args : typing.Sequence[~FirewallRule]\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": [... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ReportKeys | <not_specific> | async def ReportKeys(self, entity_keys=None):
'''
ReportKeys sets the SSH host keys for one or more entities.
entity_keys : typing.Sequence[~SSHHostKeys]
Returns -> ErrorResults
'''
if entity_keys is not None and not isinstance(entity_keys, (bytes, str, list)):
... |
ReportKeys sets the SSH host keys for one or more entities.
entity_keys : typing.Sequence[~SSHHostKeys]
Returns -> ErrorResults
| ReportKeys sets the SSH host keys for one or more entities. | [
"ReportKeys",
"sets",
"the",
"SSH",
"host",
"keys",
"for",
"one",
"or",
"more",
"entities",
"."
] | async def ReportKeys(self, entity_keys=None):
if entity_keys is not None and not isinstance(entity_keys, (bytes, str, list)):
raise Exception("Expected entity_keys to be a Sequence, received: {}".format(type(entity_keys)))
_params = dict()
msg = dict(type='HostKeyReporter',
... | [
"async",
"def",
"ReportKeys",
"(",
"self",
",",
"entity_keys",
"=",
"None",
")",
":",
"if",
"entity_keys",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entity_keys",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Excepti... | ReportKeys sets the SSH host keys for one or more entities. | [
"ReportKeys",
"sets",
"the",
"SSH",
"host",
"keys",
"for",
"one",
"or",
"more",
"entities",
"."
] | [
"'''\n ReportKeys sets the SSH host keys for one or more entities.\n\n entity_keys : typing.Sequence[~SSHHostKeys]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entity_keys",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entity_keys",
"type": null,
"docstring": null,
"docstring_tok... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.