Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
main.UserData Class Reference
Inheritance diagram for main.UserData:

Public Member Functions

def getEncodedData (self, articleKeys=None)
 

Static Public Attributes

 credentials = CredentialsProperty()
 
 sections = db.ListProperty(db.Key)
 

Detailed Description

Definition at line 31 of file main.py.

Member Function Documentation

◆ getEncodedData()

def main.UserData.getEncodedData (   self,
  articleKeys = None 
)

Definition at line 35 of file main.py.

35 def getEncodedData(self, articleKeys=None):
36 enc = encoder.Encoder()
37 # TODO(jimhug): Only return initially visible section in first reply.
38 maxSections = min(MAX_SECTIONS, len(self.sections))
39 enc.writeInt(maxSections)
40 for section in db.get(self.sections[:maxSections]):
41 section.encode(enc, articleKeys)
42 return enc.getRaw()
43
44
static float min(float r, float g, float b)
Definition: hsl.cpp:48

Member Data Documentation

◆ credentials

main.UserData.credentials = CredentialsProperty()
static

Definition at line 32 of file main.py.

◆ sections

main.UserData.sections = db.ListProperty(db.Key)
static

Definition at line 33 of file main.py.


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