16 lines
335 B
Python
16 lines
335 B
Python
from collections import namedtuple
|
|
|
|
AbbreviatedPost = namedtuple(
|
|
"AbbreviatedPost",
|
|
[
|
|
"slug",
|
|
"title",
|
|
"description",
|
|
"publishedDate",
|
|
"updatedDate",
|
|
"isFavourite",
|
|
"tags",
|
|
],
|
|
)
|
|
|
|
AbbreviatedTag = namedtuple("AbbreviatedTag", ["slug", "description", "articleCount"])
|