Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.api.modules.set_num_instances_async

Returns a UserRPC to set the number of instances on the module version.

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.

A UserRPC to set the number of instances on the module version.