Module Expr Str Assign NameStore Str Import alias Import alias Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad NameLoad attr Str ListLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Str Dict For NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call NameLoad NameLoad Str NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A Defines classes that represent parts of the common wave model.

Defines the core data structures for the common wave model. At this level,
models are read-only but can be modified through operations.

Note that model attributes break the typical style by providing lower
camel-cased characters to match the wire protocol format.
 N/A __author__ davidbyttow@google.com (David Byttow) N/A logging N/A document N/A ROOT_WAVELET_ID_SUFFIX !conv+root Wave N/A object N/A N/A Models a single wave instance.

  A single wave is composed of its id and any wavelet ids that belong to it.

  Attributes:
    waveId: This wave's id.
    waveletIds: Set of wavelet id's on this wave.
   __init__ N/A N/A self json N/A N/A N/A Inits this wave with JSON data.

    Args:
      json: JSON data dictionary from Wave server.

    Attributes:
      raw_data: Dictionary of incoming raw JSON data.
      waveId: String id of this wave.
      waveletId: String id of this wavelet.
     N/A N/A self waveId N/A N/A json get waveId N/A N/A self waveletIds N/A set N/A N/A json get waveletIds N/A N/A N/A self raw_data json N/A GetId N/A N/A self N/A N/A N/A Returns this wave's id. N/A N/A self waveId N/A GetWaveletIds N/A N/A self N/A N/A N/A Returns a set of wavelet ids. N/A N/A self waveletIds N/A N/A Wavelet N/A object N/A N/A Models a single wavelet instance.

  A single wavelet is composed of metadata, participants and the blips it
  contains.

  Attributes:
    creator: Participant id string of the creator of this wavelet.
    creationTime: Time this wavelet was created on the server.
    dataDocuments: Dictionary of data documents.
    lastModifiedTime: Time this wavelet was last modified.
    participants: Set of participant ids on this wavelet.
    raw_data: Dictionary of incoming raw JSON data.
    rootBlipId: String id of the root blip.
    waveId: String id of the parent wave.
    waveletId: This wavelet's string id.
   __init__ N/A N/A self json N/A N/A N/A Inits this wavelet with JSON data.

    Args:
      json: JSON data dictionary from Wave server.
     N/A N/A self creator N/A N/A json get creator N/A N/A self creationTime N/A N/A json get creationTime 0 N/A N/A self dataDocuments N/A N/A json get dataDocuments N/A N/A N/A self lastModifiedTime N/A N/A json get lastModifiedTime N/A N/A self participants N/A set N/A N/A json get participants N/A N/A N/A self rootBlipId N/A N/A json get rootBlipId N/A N/A self title N/A N/A json get title N/A N/A self waveId N/A N/A json get waveId N/A N/A self waveletId N/A N/A json get waveletId N/A N/A self raw_data json N/A GetCreator N/A N/A self N/A N/A N/A Returns the participant id of the creator of this wavelet. N/A N/A self creator N/A GetCreationTime N/A N/A self N/A N/A N/A Returns the time that this wavelet was first created in milliseconds. N/A N/A self creationTime N/A GetDataDocument N/A N/A self name default N/A None N/A N/A Returns a data document for this wavelet based on key name. N/A N/A self dataDocuments N/A N/A N/A N/A N/A self dataDocuments get name default N/A default N/A GetId N/A N/A self N/A N/A N/A Returns this wavelet's id. N/A N/A self waveletId N/A GetLastModifiedTime N/A N/A self N/A N/A N/A Returns the time that this wavelet was last modified in ms. N/A N/A self lastModifiedTime N/A GetParticipants N/A N/A self N/A N/A N/A Returns a set of participants on this wavelet. N/A N/A self participants N/A GetRootBlipId N/A N/A self N/A N/A N/A Returns this wavelet's root blip id. N/A N/A self rootBlipId N/A GetTitle N/A N/A self N/A N/A N/A Returns the title of this wavelet. N/A N/A self title N/A GetWaveId N/A N/A self N/A N/A N/A Returns this wavelet's parent wave id. N/A N/A self waveId N/A N/A Blip N/A object N/A N/A Models a single blip instance.

  Blips are essentially elements of conversation. Blips can live in a
  hierarchy of blips. A root blip has no parent blip id, but all blips
  have the ids of the wave and wavelet that they are associated with.

  Blips also contain annotations, content and elements, which are accessed via
  the Document object.

  Attributes:
    annotations: List of Annotation objects on this blip.
    blipId: String id of this blip.
    childBlipIds: Set of child blip ids.
    content: Raw text content contained by this blip.
    contributors: Set of contributor ids that have contributed to this blip.
    creator: Participant string id of the creator.
    raw_data: Dictionary of incoming raw JSON data.
    document: Document object for this blip.
    lastModifiedTime: Time that this blip was last modified on the server.
    parentBlipId: String id of the parent blip or None if this is the root.
    waveId: String id of the wave that this blip belongs to.
    waveletId: String id of the wavelet that this belongs to.
   __init__ N/A N/A self json N/A N/A N/A Inits this blip with JSON data.

    Args:
      json: JSON data dictionary from Wave server.
     N/A N/A self blipId N/A N/A json get blipId N/A N/A self childBlipIds N/A set N/A N/A json get childBlipIds N/A N/A N/A self content N/A N/A json get content N/A N/A self contributors N/A set N/A N/A json get contributors N/A N/A N/A self creator N/A N/A json get creator N/A N/A self lastModifiedTime N/A N/A json get lastModifiedTime 0 N/A N/A self parentBlipId N/A N/A json get parentBlipId N/A N/A self waveId N/A N/A json get waveId N/A N/A self waveletId N/A N/A json get waveletId N/A N/A self annotations N/A N/A annotation N/A N/A json get annotations N/A N/A N/A r N/A N/A document Range N/A N/A annotation N/A range N/A start N/A N/A annotation N/A range N/A end N/A N/A N/A N/A self annotations append N/A N/A document Annotation N/A annotation N/A name N/A annotation N/A value r r N/A N/A self document N/A Document self N/A N/A self elements N/A N/A json_elements N/A N/A json get elements N/A N/A elem json_elements N/A N/A N/A N/A self elements N/A elem N/A N/A document ElementFromJson N/A json_elements N/A elem N/A N/A self raw_data json N/A GetChildBlipIds N/A N/A self N/A N/A N/A Returns a set of blip ids that are children of this blip. N/A N/A self childBlipIds N/A GetContributors N/A N/A self N/A N/A N/A Returns a set of participant ids that contributed to this blip. N/A N/A self contributors N/A GetCreator N/A N/A self N/A N/A N/A Returns the id of the participant that created this blip. N/A N/A self creator N/A GetDocument N/A N/A self N/A N/A N/A Returns the Document of this blip, which contains content data. N/A N/A self document N/A GetId N/A N/A self N/A N/A N/A Returns the id of this blip. N/A N/A self blipId N/A GetLastModifiedTime N/A N/A self N/A N/A N/A Returns the time that this blip was last modified by the server. N/A N/A self lastModifiedTime N/A GetParentBlipId N/A N/A self N/A N/A N/A Returns the id of this blips parent or None if it is the root. N/A N/A self parentBlipId N/A GetWaveId N/A N/A self N/A N/A N/A Returns the id of the wave that this blip belongs to. N/A N/A self waveId N/A GetWaveletId N/A N/A self N/A N/A N/A Returns the id of the wavelet that this blip belongs to. N/A N/A self waveletId N/A IsRoot N/A N/A self N/A N/A N/A Returns True if this is the root blip of a wavelet. N/A N/A N/A self parentBlipId None N/A GetAnnotations N/A N/A self N/A N/A N/A Returns the annotations for this document. N/A N/A self annotations N/A GetElements N/A N/A self N/A N/A N/A Returns the elements for this document. N/A N/A self elements N/A GetGadgetByUrl N/A N/A self url N/A N/A N/A Return the (first) gadget that has the specified url.

    If no matching gadget can be found, return None. If url
    is None, return the first gadget that can be found.
     N/A el N/A N/A N/A self elements values N/A N/A N/A N/A N/A el type N/A N/A document ELEMENT_TYPE GADGET N/A N/A getattr el url None url N/A N/A el N/A None N/A N/A Document N/A object N/A N/A Base representation of a document of a blip. __init__ N/A N/A self blip N/A N/A N/A Inits this document with the data of the blip it is representing.

    Args:
      blip: Blip instance that owns this document.
     N/A N/A self _blip blip N/A GetText N/A N/A self N/A N/A N/A Returns the raw text content of this document. N/A N/A N/A self _blip content N/A N/A Event N/A object N/A N/A Data describing a single event.

  Attributes:
    modifiedBy: Participant id that caused this event.
    properties: Dictionary of properties specific to this event type.
    raw_data: Dictionary of incoming raw JSON data.
    timestamp: Timestamp that this event occurred on the server.
    type: Type string of this event.
   __init__ N/A N/A self json N/A N/A N/A Inits this event with JSON data.

    Args:
      json: JSON data from Wave server.
     N/A N/A self modifiedBy N/A N/A json get modifiedBy N/A N/A self properties N/A N/A json get properties N/A N/A N/A self timestamp N/A N/A json get timestamp 0 N/A N/A self type N/A N/A json get type N/A N/A self raw_data json N/A N/A Context N/A object N/A N/A Contains information associated with a single request from the server.

  This includes the current waves in this session
  and any operations that have been enqueued during request processing.

  Attributes:
    blips: Dictionary of Blips keyed by blipId.
    wavelets: Dictionary of Wavelets keyed by waveletId.
    waves: Dictionary of Waves keyed by waveId.
   __init__ N/A N/A self N/A N/A N/A N/A self blips N/A N/A N/A self wavelets N/A N/A N/A self waves N/A N/A N/A self _operations N/A N/A GetBlipById N/A N/A self blip_id N/A N/A N/A Returns a blip by id or None if it does not exist. N/A N/A N/A N/A self blips get blip_id None N/A GetWaveletById N/A N/A self wavelet_id N/A N/A N/A Returns a wavelet by id or None if it does not exist. N/A N/A N/A N/A self wavelets get wavelet_id None N/A GetWaveById N/A N/A self wave_id N/A N/A N/A Returns a wave by id or None if it does not exist. N/A N/A N/A N/A self waves get wave_id None N/A GetRootWavelet N/A N/A self N/A N/A N/A Returns the root wavelet or None if it is not in this context. N/A N/A wavelet_id wavelet N/A N/A N/A self wavelets items N/A N/A N/A N/A wavelet_id endswith ROOT_WAVELET_ID_SUFFIX N/A N/A wavelet N/A N/A N/A logging warning Could not retrieve root wavelet. N/A None N/A GetWaves N/A N/A self N/A N/A N/A Returns the list of waves associated with this session. N/A N/A N/A N/A self waves values N/A GetWavelets N/A N/A self N/A N/A N/A Returns the list of wavelets associated with this session. N/A N/A N/A N/A self wavelets values N/A GetBlips N/A N/A self N/A N/A N/A Returns the list of blips associated with this session. N/A N/A N/A N/A self blips values N/A N/A