This method validates that the values in the AppInfo match the
validators that are defined in this file, in particular,
AppInfoExternal.ATTRIBUTES.
Args
app_info
A file-like object or string. If the argument is a string, the
argument is parsed as a configuration file. If the argument is a
file-like object, the data is read, then parsed.
Returns
An instance of AppInfoExternal as loaded from a YAML file.
Raises
ValueError
If a specified service is not valid.
EmptyConfigurationFile
If there are no documents in YAML file.
MultipleConfigurationFile
If more than one document exists in the YAML
file.
DuplicateBackend
If a backend is found more than once in the backends
directive.
yaml_errors.EventError
If the app.yaml file fails validation.
appinfo_errors.MultipleProjectNames
If the app.yaml file has both an
application directive and a project directive.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["This method, `LoadSingleAppInfo`, is designed to load and validate a single `AppInfo` object from a configuration file."],["The input `app_info` can be either a string representing the configuration file or a file-like object containing the configuration data."],["Upon successful loading, the method returns an instance of `AppInfoExternal` derived from the YAML configuration."],["The method will raise various errors like `ValueError`, `EmptyConfigurationFile`, `MultipleConfigurationFile`, `DuplicateBackend`, `yaml_errors.EventError`, or `appinfo_errors.MultipleProjectNames` if there are any issues with the configuration file or the data it contains."]]],[]]