mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 06:54:54 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
@attr.s
|
||||
class PaginationChunk(object):
|
||||
class PaginationChunk:
|
||||
"""Returned by relation pagination APIs.
|
||||
|
||||
Attributes:
|
||||
|
@ -51,7 +51,7 @@ class PaginationChunk(object):
|
|||
|
||||
|
||||
@attr.s(frozen=True, slots=True)
|
||||
class RelationPaginationToken(object):
|
||||
class RelationPaginationToken:
|
||||
"""Pagination token for relation pagination API.
|
||||
|
||||
As the results are in topological order, we can use the
|
||||
|
@ -82,7 +82,7 @@ class RelationPaginationToken(object):
|
|||
|
||||
|
||||
@attr.s(frozen=True, slots=True)
|
||||
class AggregationPaginationToken(object):
|
||||
class AggregationPaginationToken:
|
||||
"""Pagination token for relation aggregation pagination API.
|
||||
|
||||
As the results are order by count and then MAX(stream_ordering) of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue