matrix-org/synapse
GitHub で見るFix remaining uses of deprecated cmp argument in attrs decorators
Open
#9,641 opened on 2021年3月17日
O-UncommonS-TolerableT-Taskgood first issue
説明
Description
There are a handful of places left that use the deprecated cmp argument on the attr.s decorator:
- https://github.com/matrix-org/synapse/blob/0a00b7ff14890987f09112a2ae696c61001e6cf1/synapse/events/builder.py#L38
- https://github.com/matrix-org/synapse/blob/d29b71aa50f568c3b951b95f2ea3009292b95630/tests/server.py#L472
- https://github.com/matrix-org/synapse/blob/a7a379006651ea219c2618c0a47e8f4053a9e769/synapse/types.py#L421
- https://github.com/matrix-org/synapse/blob/31b1905e13f84d839f46990d7e63bafe0917dc75/synapse/crypto/keyring.py#L65
These should be fixed.