google.appengine.api.client_deployinfo module

Summary

Client deploy info.

Library for parsing client_deploy.yaml files and working with these in memory.

Contents

class google.appengine.api.client_deployinfo.ClientDeployInfoExternal(**attributes)source

Bases: google.appengine.api.validation.Validated

Describes the format of a client_deployinfo.yaml file.

ATTRIBUTES = {'start_time_usec': <google.appengine.api.validation.Type object>, 'end_time_usec': <google.appengine.api.validation.Type object>, 'success': <google.appengine.api.validation.Type object>, 'sdk_version': <google.appengine.api.validation.Optional object>, 'requests': <google.appengine.api.validation.Optional object>, 'runtime': '((gs://[a-z0-9\\-\\._/]+)|([a-z][a-z0-9\\-\\.]{0,29}))'}
exception google.appengine.api.client_deployinfo.EmptyYamlsource

Bases: google.appengine.api.client_deployinfo.Error

Tried to load an empty yaml.

exception google.appengine.api.client_deployinfo.Errorsource

Bases: exceptions.Exception

Base ClientDeployInfo Exception type.

google.appengine.api.client_deployinfo.LoadSingleClientDeployInfo(client_deploy_info)source

Returns a ClientDeployInfoExternal from a deploy_info.yaml file or string.

Parameters

client_deploy_info – The contents of a client_deploy_info.yaml file or string, or an open file object.

Returns

A ClientDeployInfoExternal instance which represents the contents of the parsed yaml.

Raises
  • EmptyYaml – when there are no documents in yaml.

  • MultipleClientDeployInfo – when there are multiple documents in yaml.

  • yaml_errors.EventError – when an error occurs while parsing the yaml.

exception google.appengine.api.client_deployinfo.MultipleClientDeployInfosource

Bases: google.appengine.api.client_deployinfo.Error

Tried to load a yaml containing multiple client deploy info definitions.

class google.appengine.api.client_deployinfo.Request(**attributes)source

Bases: google.appengine.api.validation.Validated

A Request describes a single http request within a deployment attempt.

ATTRIBUTES = {'start_time_usec': <google.appengine.api.validation.Type object>, 'path': <google.appengine.api.validation.Type object>, 'response_code': <google.appengine.api.validation.Range object>, 'end_time_usec': <google.appengine.api.validation.Type object>, 'request_size_bytes': <google.appengine.api.validation.Type object>}