google.appengine.api.dispatchinfo.LoadSingleDispatch
Stay organized with collections
Save and categorize content based on your preferences.
Load a dispatch.yaml file or string and return a DispatchInfoExternal.
google.appengine.api.dispatchinfo.LoadSingleDispatch(
dispatch_info, open_fn=None
)
Args |
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 appcfg.py yaml parsing.
|
Returns |
|
A DispatchInfoExternal instance which represents the contents of the parsed
yaml file.
|
Raises |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[null,null,["Last updated 2025-06-16 UTC."],[],[]]