Package oauth2client :: Module appengine :: Class FlowNDBProperty |
[hide private]
[frames] | no frames]

# Class FlowNDBProperty

source code

    App Engine NDB datastore Property for Flow.

    Serves the same purpose as the DB FlowProperty, but for NDB models. Since
    PickleProperty inherits from BlobProperty, the underlying representation of
    the data in the datastore will be the same as in the DB case.

    Utility property that allows easy storage and retrieval of an
    oauth2client.Flow

Instance Methods | [hide private]
_validate(self, value) Validates a value as a proper Flow object. | source code

Method Details | [hide private]

### _validate(self, value) | source code
    Validates a value as a proper Flow object.

    Args:
      value: A value to be set on the property.

    Raises:
      TypeError if the value is not an instance of Flow.