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 generally available.


Load a dispatch.yaml file or string and return a DispatchInfoExternal.

dispatch_info The contents of a dispatch.yaml file as a string, or an open file object.
open_fn Function for opening files. Unused here, needed to provide a polymorphic API used by yaml parsing.

A DispatchInfoExternal instance which represents the contents of the parsed yaml file.

MalformedDispatchConfigurationError The yaml file contains multiple dispatch sections or is missing a required value.
yaml_errors.EventError An error occured while parsing the yaml file.