Definition at line 45 of file main.py.
◆ encode()
def main.Section.encode |
( |
|
self, |
|
|
|
enc, |
|
|
|
articleKeys = None |
|
) |
| |
Definition at line 52 of file main.py.
52 def encode(self, enc, articleKeys=None):
53
54 enc.writeString(self.key().
name())
55 enc.writeString(self.fixedTitle())
56 enc.writeInt(
len(self.feeds))
57 for feed in db.get(self.feeds):
58 feed.ensureEncodedFeed()
59 enc.writeRaw(feed.encodedFeed3)
60 if articleKeys is not None:
61 articleKeys.extend(feed.topArticles)
62
63
static void encode(uint8_t output[16], const uint32_t input[4])
DEF_SWITCHES_START aot vmservice shared library name
◆ fixedTitle()
def main.Section.fixedTitle |
( |
|
self | ) |
|
Definition at line 49 of file main.py.
49 def fixedTitle(self):
50 return self.title.split('_')[0]
51
◆ feeds
main.Section.feeds = db.ListProperty(db.Key) |
|
static |
◆ title
main.Section.title = db.TextProperty() |
|
static |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/pkg/compiler/test/codesize/swarm/appengine/main.py