App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.api.conf._ValidParameterName Class Reference
Inheritance diagram for google.appengine.api.conf._ValidParameterName:
google.appengine.api.validation.Validator

Public Member Functions

def __init__
 
def Validate
 
- Public Member Functions inherited from google.appengine.api.validation.Validator
def __init__
 
def __call__
 
def Validate
 
def ToValue
 

Public Attributes

 regex
 
- Public Attributes inherited from google.appengine.api.validation.Validator
 default
 

Additional Inherited Members

- Static Public Attributes inherited from google.appengine.api.validation.Validator
 expected_type = object
 

Detailed Description

Validator to check if a value is a valid config parameter name.

We only allow valid python attribute names without leading underscores
that also do not collide with reserved words in the datastore models.

Member Function Documentation

def google.appengine.api.conf._ValidParameterName.Validate (   self,
  value,
  key 
)
Check that all parameter names are valid.

This is used as a validator when parsing conf.yaml.

Args:
  value: the value to check.
  key: A description of the context for which this value is being
  validated.

Returns:
  The validated value.

The documentation for this class was generated from the following file: