Sets the number of instances on the module and version.
View aliases
Main aliases
`google.appengine.api.modules.modules.set_num_instances`
google.appengine.api.modules.set_num_instances(
instances, module=None, version=None
)
Args |
instances
|
The number of instances to set.
|
module
|
The module to set the number of instances for, if None the current
module will be used.
|
version
|
The version set the number of instances for, if None the current
version will be used.
|
Raises |
InvalidVersionError if the given module version isn't valid,
TransientError if there is an issue persisting the change.
TypeError if the given instances type is invalid.
|