Summary

Comparing branches/commits:
Old: main (merge base) 21ac16db
New: 19784/merge 91a2f431
Lint Rule Removed Added Changed
Total 2 8 3757
unresolved-attribute 0 0 2830
invalid-argument-type 1 7 745
invalid-return-type 1 0 136
possibly-unbound-attribute 0 0 27
invalid-assignment 0 0 13
invalid-super-argument 0 0 5
unsupported-operator 0 1 1

Expression (https://github.com/cognitedata/Expression)

expression/collections/seq.py

[error] invalid-argument-type - :444:24 - Argument is incorrect: Expected `_TSource@choose`, found `_TSource@mapper`

discord.py (https://github.com/Rapptz/discord.py)

discord/client.py

[error] invalid-return-type - :342:16 -
Old: Return type does not match returned value: expected `ConnectionState[Self@Client]`, found `ConnectionState[Client]`
New: Return type does not match returned value: expected `ConnectionState[Self@_get_state]`, found `ConnectionState[Client]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/wrapper/_implementations.py

[error] invalid-return-type - :1578:20 -
Old: Return type does not match returned value: expected `F@__call__ | Self@ZenStore`, found `ZenStore`
New: Return type does not match returned value: expected `F@__call__ | Self@__call__`, found `ZenStore`
[error] invalid-return-type - :1638:20 -
Old: Return type does not match returned value: expected `F@__call__ | Self@ZenStore`, found `F | Self@ZenStore`
New: Return type does not match returned value: expected `F@__call__ | Self@__call__`, found `F | Self@__call__`

jinja (https://github.com/pallets/jinja)

src/jinja2/filters.py

[error] unsupported-operator - :1352:9 - Operator `+=` is unsupported between objects of type `V@do_sum` and `Any | V@do_sum`

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/_internal/websockets.py

[error] invalid-super-argument - :134:9 -
Old: `Self@WebsocketProxyConnect` is not an instance or subclass of `<class 'WebsocketProxyConnect'>` in `super(<class 'WebsocketProxyConnect'>, Self@WebsocketProxyConnect)` call
New: `Self@_proxy_connect` is not an instance or subclass of `<class 'WebsocketProxyConnect'>` in `super(<class 'WebsocketProxyConnect'>, Self@_proxy_connect)` call

src/prefect/context.py

[error] invalid-super-argument - :199:15 -
Old: `Self@ContextModel` is not an instance or subclass of `<class 'ContextModel'>` in `super(<class 'ContextModel'>, Self@ContextModel)` call
New: `Self@model_copy` is not an instance or subclass of `<class 'ContextModel'>` in `super(<class 'ContextModel'>, Self@model_copy)` call
[error] invalid-super-argument - :308:20 -
Old: `Self@AsyncClientContext` is not an instance or subclass of `<class 'AsyncClientContext'>` in `super(<class 'AsyncClientContext'>, Self@AsyncClientContext)` call
New: `Self@__aenter__` is not an instance or subclass of `<class 'AsyncClientContext'>` in `super(<class 'AsyncClientContext'>, Self@__aenter__)` call
[error] invalid-super-argument - :316:20 -
Old: `Self@AsyncClientContext` is not an instance or subclass of `<class 'AsyncClientContext'>` in `super(<class 'AsyncClientContext'>, Self@AsyncClientContext)` call
New: `Self@__aexit__` is not an instance or subclass of `<class 'AsyncClientContext'>` in `super(<class 'AsyncClientContext'>, Self@__aexit__)` call

src/prefect/utilities/templating.py

[error] invalid-return-type - :425:24 - Return type does not match returned value: expected `T@resolve_variables`, found `T`

streamlit (https://github.com/streamlit/streamlit)

lib/streamlit/elements/dialog_decorator.py

[error] invalid-return-type - :292:16 -
Old: Return type does not match returned value: expected `F@dialog_decorator | ((F@dialog_decorator, /) -> F@dialog_decorator)`, found `def wrapper[F: (...) -> Any](f: F@wrapper) -> F@wrapper`
New: Return type does not match returned value: expected `F@dialog_decorator | ((F@dialog_decorator, /) -> F@dialog_decorator)`, found `def wrapper(f: F@dialog_decorator) -> F@dialog_decorator`
[error] invalid-assignment - :294:5 -
Old: Object of type `F@dialog_decorator & ~str` is not assignable to `F`
New: Object of type `F@dialog_decorator & ~str` is not assignable to `F@dialog_decorator`
[error] invalid-return-type - :333:16 -
Old: Return type does not match returned value: expected `F@experimental_dialog_decorator | ((F@experimental_dialog_decorator, /) -> F@experimental_dialog_decorator)`, found `def wrapper[F: (...) -> Any](f: F@wrapper) -> F@wrapper`
New: Return type does not match returned value: expected `F@experimental_dialog_decorator | ((F@experimental_dialog_decorator, /) -> F@experimental_dialog_decorator)`, found `def wrapper(f: F@experimental_dialog_decorator) -> F@experimental_dialog_decorator`
[error] invalid-assignment - :335:5 -
Old: Object of type `F@experimental_dialog_decorator & ~str` is not assignable to `F`
New: Object of type `F@experimental_dialog_decorator & ~str` is not assignable to `F@experimental_dialog_decorator`

sympy (https://github.com/sympy/sympy)

sympy/matrices/matrixbase.py

[error] invalid-return-type - :5503:16 -
Old: Return type does not match returned value: expected `Self@MatrixBase`, found `Unknown | None`
New: Return type does not match returned value: expected `Self@pinv_solve`, found `Unknown | None`

sympy/matrices/tests/test_matrices.py

[error] invalid-argument-type - :1267:12 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `Index2` on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@__getitem__, (key: tuple[Unknown, int], /) -> Self@__getitem__, (key: tuple[Unknown, Unknown], /) -> Self@__getitem__, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `Index2` on object of type `MutableDenseMatrix`

sympy/matrices/tests/test_matrixbase.py

[error] invalid-argument-type - :2044:12 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `Index2` on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@__getitem__, (key: tuple[Unknown, int], /) -> Self@__getitem__, (key: tuple[Unknown, Unknown], /) -> Self@__getitem__, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `Index2` on object of type `MutableDenseMatrix`

sympy/matrices/tests/test_sparse.py

[error] invalid-argument-type - :583:32 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `tuple[Literal[1], Literal[2], Literal[3]]` on object of type `MutableSparseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@__getitem__, (key: tuple[Unknown, int], /) -> Self@__getitem__, (key: tuple[Unknown, Unknown], /) -> Self@__getitem__, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `tuple[Literal[1], Literal[2], Literal[3]]` on object of type `MutableSparseMatrix`
[error] invalid-argument-type - :585:32 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `tuple[Literal[1], Literal[2], Literal[3]]` on object of type `MutableSparseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@__getitem__, (key: tuple[Unknown, int], /) -> Self@__getitem__, (key: tuple[Unknown, Unknown], /) -> Self@__getitem__, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` cannot be called with key of type `tuple[Literal[1], Literal[2], Literal[3]]` on object of type `MutableSparseMatrix`

werkzeug (https://github.com/pallets/werkzeug)

src/werkzeug/datastructures/mixins.py

[error] invalid-argument-type - :262:28 - Argument is incorrect: Expected `Self`, found `Self@setdefault`
[error] invalid-argument-type - :282:28 - Argument is incorrect: Expected `Self`, found `Self@pop`
[error] invalid-argument-type - :238:28 -
Old: Argument is incorrect: Expected `Self@UpdateDictMixin`, found `UpdateDictMixin[Any, Any]`
New: Argument is incorrect: Expected `Self`, found `UpdateDictMixin[Any, Any]`
[error] invalid-super-argument - :278:18 -
Old: `Self@UpdateDictMixin` is not an instance or subclass of `<class 'UpdateDictMixin'>` in `super(<class 'UpdateDictMixin'>, Self@UpdateDictMixin)` call
New: `Self@pop` is not an instance or subclass of `<class 'UpdateDictMixin'>` in `super(<class 'UpdateDictMixin'>, Self@pop)` call

src/werkzeug/datastructures/structures.py

[error] invalid-argument-type - :1104:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@remove`
[error] invalid-argument-type - :1119:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@update`
[error] invalid-argument-type - :1159:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@clear`
[error] invalid-argument-type - :1185:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@__delitem__`
[error] invalid-argument-type - :1193:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@__setitem__`

zulip (https://github.com/zulip/zulip)

analytics/lib/counts.py

[error] unresolved-attribute - :83:12 -
Old: Type `Self@Model` has no attribute `state`
New: Type `Self` has no attribute `state`
[error] unresolved-attribute - :84:20 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :85:16 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :164:10 -
Old: Type `Self@Model` has no attribute `state`
New: Type `Self` has no attribute `state`
[error] unresolved-attribute - :165:56 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :166:40 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :167:28 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] invalid-argument-type - :168:30 -
Old: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self@Model`
New: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self`
[error] unresolved-attribute - :170:10 -
Old: Type `Self@Model` has no attribute `state`
New: Type `Self` has no attribute `state`
[error] unresolved-attribute - :171:28 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :173:68 -
Old: Type `Self@Model` has no attribute `state`
New: Type `Self` has no attribute `state`
[error] invalid-argument-type - :189:30 -
Old: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self@Model`
New: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self`
[error] invalid-argument-type - :191:30 -
Old: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self@Model`
New: Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self`

analytics/management/commands/populate_analytics_db.py

[error] unresolved-attribute - :124:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :125:9 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] invalid-argument-type - :131:13 -
Old: Argument to function `create_stream_subscription` is incorrect: Expected `Recipient`, found `Self@Model`
New: Argument to function `create_stream_subscription` is incorrect: Expected `Recipient`, found `Self`
[error] invalid-argument-type - :132:13 -
Old: Argument to function `create_stream_subscription` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `create_stream_subscription` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :292:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :293:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :297:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :298:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :299:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :300:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :301:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :302:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :303:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :304:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :305:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :306:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :310:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :311:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :312:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :313:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :314:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :315:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :316:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :317:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :318:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :319:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

analytics/tests/test_counts.py

[error] unresolved-attribute - :163:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :164:9 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] invalid-return-type - :166:16 -
Old: Return type does not match returned value: expected `tuple[Stream, Recipient]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[Stream, Recipient]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :177:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :179:9 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] invalid-return-type - :181:16 -
Old: Return type does not match returned value: expected `tuple[DirectMessageGroup, Recipient]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[DirectMessageGroup, Recipient]`, found `tuple[Self, Self]`
[error] invalid-return-type - :199:16 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] invalid-return-type - :209:16 -
Old: Return type does not match returned value: expected `Attachment`, found `Self@Model`
New: Return type does not match returned value: expected `Attachment`, found `Self`
[error] unresolved-attribute - :287:26 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :288:26 -
Old: Type `Self@Model` has no attribute `state`
New: Type `Self` has no attribute `state`
[error] unresolved-attribute - :870:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :918:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1257:9 -
Old: Unresolved attribute `state` on type `Self@Model`.
New: Unresolved attribute `state` on type `Self`.
[error] unresolved-attribute - :1263:9 -
Old: Unresolved attribute `property` on type `Self@Model`.
New: Unresolved attribute `property` on type `Self`.
[error] invalid-argument-type - :1735:13 -
Old: Argument to function `do_revoke_user_invite` is incorrect: Expected `PreregistrationUser`, found `Self@Model | None`
New: Argument to function `do_revoke_user_invite` is incorrect: Expected `PreregistrationUser`, found `Self | None`
[error] invalid-argument-type - :1741:39 -
Old: Argument to function `do_send_user_invite_email` is incorrect: Expected `PreregistrationUser`, found `Self@Model | None`
New: Argument to function `do_send_user_invite_email` is incorrect: Expected `PreregistrationUser`, found `Self | None`
[error] unresolved-attribute - :2150:34 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`

analytics/tests/test_stats_views.py

[error] unresolved-attribute - :223:18 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :223:35 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :223:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :224:18 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :224:35 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :526:9 -
Old: Unresolved attribute `end_time` on type `Self@Model`.
New: Unresolved attribute `end_time` on type `Self`.

analytics/views/stats.py

[error] unresolved-attribute - :138:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :140:52 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :243:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :245:38 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`

confirmation/models.py

[error] unresolved-attribute - :114:8 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :114:66 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :117:11 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :132:16 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] invalid-return-type - :172:12 -
Old: Return type does not match returned value: expected `Confirmation`, found `Self@Model`
New: Return type does not match returned value: expected `Confirmation`, found `Self`

corporate/lib/decorator.py

[error] unresolved-attribute - :118:40 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`

corporate/lib/remote_billing_util.py

[error] unresolved-attribute - :129:9 -
Old: Type `Self@Model` has no attribute `registration_deactivated`
New: Type `Self` has no attribute `registration_deactivated`
[error] unresolved-attribute - :130:12 -
Old: Type `Self@Model` has no attribute `realm_deactivated`
New: Type `Self` has no attribute `realm_deactivated`
[error] unresolved-attribute - :131:12 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-return-type - :148:12 -
Old: Return type does not match returned value: expected `tuple[RemoteRealm, RemoteRealmBillingUser]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[RemoteRealm, RemoteRealmBillingUser]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :168:8 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-return-type - :173:16 -
Old: Return type does not match returned value: expected `tuple[RemoteZulipServer, RemoteServerBillingUser | None]`, found `tuple[Self@Model, None]`
New: Return type does not match returned value: expected `tuple[RemoteZulipServer, RemoteServerBillingUser | None]`, found `tuple[Self, None]`
[error] invalid-return-type - :182:12 -
Old: Return type does not match returned value: expected `tuple[RemoteZulipServer, RemoteServerBillingUser | None]`, found `tuple[Self@Model, Self@Model | None]`
New: Return type does not match returned value: expected `tuple[RemoteZulipServer, RemoteServerBillingUser | None]`, found `tuple[Self, Self | None]`

corporate/lib/stripe.py

[error] invalid-return-type - :391:16 -
Old: Return type does not match returned value: expected `CustomerPlanOffer | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `CustomerPlanOffer | None`, found `Self | None`
[error] invalid-return-type - :1049:16 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self | None`
[error] invalid-return-type - :1074:16 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self`
[error] unresolved-attribute - :1202:17 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :1961:16 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1974:17 -
Old: Unresolved attribute `invoiced_through` on type `Self@Model`.
New: Unresolved attribute `invoiced_through` on type `Self`.
[error] unresolved-attribute - :2031:29 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :2033:27 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :2044:20 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2054:33 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2055:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2192:9 -
Old: Unresolved attribute `invoiced_through` on type `Self@Model`.
New: Unresolved attribute `invoiced_through` on type `Self`.
[error] unresolved-attribute - :2201:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2210:40 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :2288:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
[error] invalid-return-type - :2333:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
[error] unresolved-attribute - :2352:17 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :2354:47 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] invalid-return-type - :2355:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
[error] unresolved-attribute - :2403:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :2407:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :2449:44 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :2453:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self, Self]`
[error] invalid-return-type - :2469:20 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self | None`
[error] unresolved-attribute - :3188:16 -
Old: Type `Self@Model` has no attribute `automanage_licenses`
New: Type `Self` has no attribute `automanage_licenses`
[error] unresolved-attribute - :3442:17 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :3446:32 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :3457:39 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :3859:27 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :3872:9 -
Old: Unresolved attribute `invoiced_through` on type `Self@Model`.
New: Unresolved attribute `invoiced_through` on type `Self`.
[error] unresolved-attribute - :3914:81 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :3927:9 -
Old: Unresolved attribute `invoiced_through` on type `Self@Model`.
New: Unresolved attribute `invoiced_through` on type `Self`.
[error] invalid-return-type - :4130:20 -
Old: Return type does not match returned value: expected `Customer`, found `Self@Model`
New: Return type does not match returned value: expected `Customer`, found `Self`
[error] invalid-return-type - :4135:20 -
Old: Return type does not match returned value: expected `Customer`, found `Self@Model`
New: Return type does not match returned value: expected `Customer`, found `Self`
[error] unresolved-attribute - :4534:21 -
Old: Type `Self@Model` has no attribute `annual_discounted_price`
New: Type `Self` has no attribute `annual_discounted_price`
[error] unresolved-attribute - :4535:21 -
Old: Type `Self@Model` has no attribute `monthly_discounted_price`
New: Type `Self` has no attribute `monthly_discounted_price`
[error] unresolved-attribute - :4537:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] invalid-return-type - :4540:16 -
Old: Return type does not match returned value: expected `Customer`, found `Self@Model`
New: Return type does not match returned value: expected `Customer`, found `Self`
[error] unresolved-attribute - :4969:21 -
Old: Type `Self@Model` has no attribute `annual_discounted_price`
New: Type `Self` has no attribute `annual_discounted_price`
[error] unresolved-attribute - :4970:21 -
Old: Type `Self@Model` has no attribute `monthly_discounted_price`
New: Type `Self` has no attribute `monthly_discounted_price`
[error] unresolved-attribute - :4972:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] invalid-return-type - :4975:16 -
Old: Return type does not match returned value: expected `Customer`, found `Self@Model`
New: Return type does not match returned value: expected `Customer`, found `Self`

corporate/lib/support.py

[error] unresolved-attribute - :392:17 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :435:17 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :460:24 -
Old: Type `Self@Model` has no attribute `event_time`
New: Type `Self` has no attribute `event_time`

corporate/models/customers.py

[error] invalid-return-type - :81:12 -
Old: Return type does not match returned value: expected `Customer | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `Customer | None`, found `Self | None`
[error] invalid-return-type - :85:12 -
Old: Return type does not match returned value: expected `Customer | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `Customer | None`, found `Self | None`
[error] invalid-return-type - :89:12 -
Old: Return type does not match returned value: expected `Customer | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `Customer | None`, found `Self | None`

corporate/models/plans.py

[error] invalid-return-type - :256:12 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self | None`

corporate/models/stripe_state.py

[error] invalid-return-type - :45:12 -
Old: Return type does not match returned value: expected `Event | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `Event | None`, found `Self | None`

corporate/tests/test_activity_views.py

[error] unresolved-attribute - :177:24 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :215:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :219:70 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :314:28 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] invalid-argument-type - :333:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] invalid-argument-type - :334:28 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :339:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] invalid-argument-type - :340:28 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :341:28 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :342:28 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :347:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :348:28 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :348:42 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self`
[error] invalid-argument-type - :353:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :354:28 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :354:42 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self`
[error] invalid-argument-type - :359:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :360:28 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :360:42 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self`
[error] unresolved-attribute - :362:25 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :376:18 -
Old: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `add_plan` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :377:28 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :377:42 -
Old: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self@Model`
New: Argument to function `add_audit_log_data` is incorrect: Expected `RemoteRealm | None`, found `Self`

corporate/tests/test_remote_billing.py

[error] unresolved-attribute - :126:30 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :127:30 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :130:30 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :131:30 -
Old: Type `Self@Model` has no attribute `date_joined`
New: Type `Self` has no attribute `date_joined`
[error] unresolved-attribute - :169:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :179:26 -
Old: Type `Self@Model` has no attribute `last_login`
New: Type `Self` has no attribute `last_login`
[error] unresolved-attribute - :443:26 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :444:26 -
Old: Type `Self@Model` has no attribute `tos_version`
New: Type `Self` has no attribute `tos_version`
[error] unresolved-attribute - :463:26 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :464:26 -
Old: Type `Self@Model` has no attribute `tos_version`
New: Type `Self` has no attribute `tos_version`
[error] unresolved-attribute - :688:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :688:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :699:26 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :700:26 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :703:26 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :719:26 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :725:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :792:60 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :833:56 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :835:26 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] invalid-argument-type - :836:49 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :843:13 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :850:39 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :887:59 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :898:9 -
Old: Unresolved attribute `plan_type` on type `Self@Model`.
New: Unresolved attribute `plan_type` on type `Self`.
[error] unresolved-attribute - :908:87 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :908:127 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :918:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :923:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :933:87 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :933:127 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :945:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :958:87 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :958:127 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :982:55 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :990:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :1059:60 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1064:26 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] invalid-argument-type - :1094:56 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1096:26 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] invalid-argument-type - :1097:49 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1103:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :1108:53 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1317:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1324:26 -
Old: Type `Self@Model` has no attribute `last_login`
New: Type `Self` has no attribute `last_login`
[error] unresolved-attribute - :1446:26 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :1449:26 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :1450:26 -
Old: Type `Self@Model` has no attribute `date_joined`
New: Type `Self` has no attribute `date_joined`

corporate/tests/test_stripe.py

[error] unresolved-attribute - :694:13 -
Old: Type `Self@Model` has no attribute `stripe_invoice_id`
New: Type `Self` has no attribute `stripe_invoice_id`
[error] unresolved-attribute - :700:13 -
Old: Type `Self@Model` has no attribute `stripe_invoice_id`
New: Type `Self` has no attribute `stripe_invoice_id`
[error] unresolved-attribute - :706:32 -
Old: Type `Self@Model` has no attribute `stripe_invoice_id`
New: Type `Self` has no attribute `stripe_invoice_id`
[error] unresolved-attribute - :724:36 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :1032:32 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :1319:32 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :1571:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1572:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :1577:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1578:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :1624:13 -
Old: Unresolved attribute `next_invoice_date` on type `Self@Model`.
New: Unresolved attribute `next_invoice_date` on type `Self`.
[error] unresolved-attribute - :1647:13 -
Old: Unresolved attribute `next_invoice_date` on type `Self@Model`.
New: Unresolved attribute `next_invoice_date` on type `Self`.
[error] unresolved-attribute - :1653:9 -
Old: Unresolved attribute `fixed_price` on type `Self@Model`.
New: Unresolved attribute `fixed_price` on type `Self`.
[error] unresolved-attribute - :1654:9 -
Old: Unresolved attribute `price_per_license` on type `Self@Model`.
New: Unresolved attribute `price_per_license` on type `Self`.
[error] unresolved-attribute - :1681:36 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :1795:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1796:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :1823:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1824:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :1827:30 -
Old: Type `Self@Model` has no attribute `billing_cycle_anchor`
New: Type `Self` has no attribute `billing_cycle_anchor`
[error] unresolved-attribute - :1856:36 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :1970:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1971:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2008:17 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2013:17 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2020:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2021:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2023:30 -
Old: Type `Self@Model` has no attribute `billing_cycle_anchor`
New: Type `Self` has no attribute `billing_cycle_anchor`
[error] unresolved-attribute - :2061:36 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2173:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2224:54 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2243:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :2244:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2276:54 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2288:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :2289:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2341:54 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2353:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :2354:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2372:16 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2376:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :2377:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :2381:9 -
Old: Unresolved attribute `minimum_licenses` on type `Self@Model`.
New: Unresolved attribute `minimum_licenses` on type `Self`.
[error] unresolved-attribute - :2387:66 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :2399:9 -
Old: Unresolved attribute `minimum_licenses` on type `Self@Model`.
New: Unresolved attribute `minimum_licenses` on type `Self`.
[error] unresolved-attribute - :2405:70 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2677:9 -
Old: Unresolved attribute `exempt_from_license_number_check` on type `Self@Model`.
New: Unresolved attribute `exempt_from_license_number_check` on type `Self`.
[error] unresolved-attribute - :2872:26 -
Old: Type `Self@Model` has no attribute `org_website`
New: Type `Self` has no attribute `org_website`
[error] unresolved-attribute - :2873:26 -
Old: Type `Self@Model` has no attribute `org_description`
New: Type `Self` has no attribute `org_description`
[error] unresolved-attribute - :2875:13 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :2978:9 -
Old: Unresolved attribute `sponsorship_pending` on type `Self@Model`.
New: Unresolved attribute `sponsorship_pending` on type `Self`.
[error] unresolved-attribute - :3061:34 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :3062:90 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3062:122 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3234:30 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :3393:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3443:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :3451:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :3452:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :3468:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :3480:27 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :3506:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3575:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :3576:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :3577:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :3697:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3806:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3932:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :3933:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :3934:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :3989:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3997:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4011:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4029:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4042:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4043:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4045:9 -
Old: Unresolved attribute `next_invoice_date` on type `Self@Model`.
New: Unresolved attribute `next_invoice_date` on type `Self`.
[error] unresolved-attribute - :4050:27 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4051:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4062:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4064:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4078:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4079:31 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4101:30 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`
[error] unresolved-attribute - :4117:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4119:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4132:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4133:31 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4155:30 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`
[error] unresolved-attribute - :4173:30 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4175:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4184:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :4185:30 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :4197:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4198:30 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`
[error] unresolved-attribute - :4199:31 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4242:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4293:31 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4294:30 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4354:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4376:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4404:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4506:32 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :4614:9 -
Old: Unresolved attribute `exempt_from_license_number_check` on type `Self@Model`.
New: Unresolved attribute `exempt_from_license_number_check` on type `Self`.
[error] unresolved-attribute - :4630:13 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :4646:9 -
Old: Unresolved attribute `exempt_from_license_number_check` on type `Self@Model`.
New: Unresolved attribute `exempt_from_license_number_check` on type `Self`.
[error] unresolved-attribute - :4658:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :4659:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :4772:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :4774:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4783:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :4784:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :4796:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :4797:26 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`
[error] unresolved-attribute - :4798:27 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :5184:9 -
Old: Unresolved attribute `invoiced_through` on type `Self@Model`.
New: Unresolved attribute `invoiced_through` on type `Self`.
[error] unresolved-attribute - :5185:9 -
Old: Unresolved attribute `price_per_license` on type `Self@Model`.
New: Unresolved attribute `price_per_license` on type `Self`.
[error] unresolved-attribute - :5199:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-argument-type - :5234:77 -
Old: Argument to function `customer_has_credit_card_as_default_payment_method` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `customer_has_credit_card_as_default_payment_method` is incorrect: Expected `Customer`, found `Self`
[error] invalid-argument-type - :5708:17 -
Old: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self@Model`
New: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self`
[error] invalid-argument-type - :5730:17 -
Old: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self@Model`
New: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self`
[error] invalid-argument-type - :5738:17 -
Old: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self@Model`
New: Argument to function `get_price_per_license` is incorrect: Expected `Customer | None`, found `Self`
[error] invalid-argument-type - :5762:53 -
Old: Argument to function `get_plan_renewal_or_end_date` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to function `get_plan_renewal_or_end_date` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :5768:9 -
Old: Unresolved attribute `end_date` on type `Self@Model`.
New: Unresolved attribute `end_date` on type `Self`.
[error] invalid-argument-type - :5770:53 -
Old: Argument to function `get_plan_renewal_or_end_date` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to function `get_plan_renewal_or_end_date` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :5794:9 -
Old: Unresolved attribute `stripe_customer_id` on type `Self@Model`.
New: Unresolved attribute `stripe_customer_id` on type `Self`.
[error] invalid-argument-type - :5822:55 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] invalid-argument-type - :5831:55 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :5833:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] invalid-argument-type - :5835:55 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :5837:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] invalid-argument-type - :5839:55 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :5841:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] invalid-argument-type - :5843:55 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :5876:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :5888:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :5890:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :5891:37 -
Old: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :5898:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :5902:41 -
Old: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :5907:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :5911:37 -
Old: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :5913:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :5916:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :5918:26 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-argument-type - :5921:41 -
Old: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :5926:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :5940:17 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] invalid-argument-type - :5943:13 -
Old: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self`
[error] invalid-argument-type - :5949:13 -
Old: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self`
[error] invalid-argument-type - :5964:13 -
Old: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `make_end_of_cycle_updates_if_needed` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :5981:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :5982:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :5986:9 -
Old: Unresolved attribute `automanage_licenses` on type `Self@Model`.
New: Unresolved attribute `automanage_licenses` on type `Self`.
[error] unresolved-attribute - :5987:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :5992:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :6005:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :6006:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] invalid-argument-type - :6011:72 -
Old: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6012:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :6013:30 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] invalid-argument-type - :6016:72 -
Old: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6017:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :6018:30 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] invalid-argument-type - :6021:72 -
Old: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6022:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :6023:30 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] invalid-argument-type - :6027:17 -
Old: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `update_license_ledger_for_automanaged_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6029:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :6030:30 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :6193:9 -
Old: Unresolved attribute `invoicing_status` on type `Self@Model`.
New: Unresolved attribute `invoicing_status` on type `Self`.
[error] invalid-argument-type - :6197:42 -
Old: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model | None`
New: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self | None`
[error] invalid-argument-type - :6284:38 -
Old: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6285:30 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :6336:9 -
Old: Unresolved attribute `fixed_price` on type `Self@Model`.
New: Unresolved attribute `fixed_price` on type `Self`.
[error] unresolved-attribute - :6337:9 -
Old: Unresolved attribute `price_per_license` on type `Self@Model`.
New: Unresolved attribute `price_per_license` on type `Self`.
[error] invalid-argument-type - :6341:38 -
Old: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6342:30 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :6372:27 -
Old: Type `Self@Model` has no attribute `end_date`
New: Type `Self` has no attribute `end_date`
[error] unresolved-attribute - :6373:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] invalid-argument-type - :6378:69 -
Old: Argument to bound method `get_next_billing_cycle` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `get_next_billing_cycle` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6413:26 -
Old: Type `Self@Model` has no attribute `end_date`
New: Type `Self` has no attribute `end_date`
[error] unresolved-attribute - :6428:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :6429:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6432:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6434:13 -
Old: Type `Self@Model` has no attribute `invoicing_status`
New: Type `Self` has no attribute `invoicing_status`
[error] unresolved-attribute - :6441:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :6442:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6445:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :6446:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :6447:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :6475:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6477:16 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :6478:53 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] invalid-argument-type - :6479:38 -
Old: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6483:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6492:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6501:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6511:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6512:16 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :6513:17 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] invalid-argument-type - :6532:38 -
Old: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self@Model`
New: Argument to bound method `invoice_plan` is incorrect: Expected `CustomerPlan`, found `Self`
[error] unresolved-attribute - :6535:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :6536:30 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] invalid-argument-type - :6631:53 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :6638:9 -
Old: Unresolved attribute `last_audit_log_update` on type `Self@Model`.
New: Unresolved attribute `last_audit_log_update` on type `Self`.
[error] unresolved-attribute - :6682:9 -
Old: Unresolved attribute `last_audit_log_update` on type `Self@Model`.
New: Unresolved attribute `last_audit_log_update` on type `Self`.
[error] invalid-argument-type - :6697:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :6712:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :6774:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :6782:16 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6783:53 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6785:30 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6796:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :6808:56 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6810:30 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6825:26 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :6826:26 -
Old: Type `Self@Model` has no attribute `discount`
New: Type `Self` has no attribute `discount`
[error] unresolved-attribute - :6828:26 -
Old: Type `Self@Model` has no attribute `monthly_discounted_price`
New: Type `Self` has no attribute `monthly_discounted_price`
[error] unresolved-attribute - :6829:26 -
Old: Type `Self@Model` has no attribute `annual_discounted_price`
New: Type `Self` has no attribute `annual_discounted_price`
[error] unresolved-attribute - :6831:9 -
Old: Unresolved attribute `next_invoice_date` on type `Self@Model`.
New: Unresolved attribute `next_invoice_date` on type `Self`.
[error] unresolved-attribute - :6834:30 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :6848:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :6849:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :6888:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :6932:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :7009:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :7032:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :7033:26 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :7041:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :7042:26 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :7057:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :7058:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :7070:26 -
Old: Type `Self@Model` has no attribute `charge_automatically`
New: Type `Self` has no attribute `charge_automatically`
[error] unresolved-attribute - :7076:26 -
Old: Type `Self@Model` has no attribute `charge_automatically`
New: Type `Self` has no attribute `charge_automatically`
[error] unresolved-attribute - :7081:56 -
Old: Type `Self@Model` has no attribute `charge_automatically`
New: Type `Self` has no attribute `charge_automatically`
[error] unresolved-attribute - :7082:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :7083:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :7087:26 -
Old: Type `Self@Model` has no attribute `charge_automatically`
New: Type `Self` has no attribute `charge_automatically`
[error] unresolved-attribute - :7092:56 -
Old: Type `Self@Model` has no attribute `charge_automatically`
New: Type `Self` has no attribute `charge_automatically`
[error] unresolved-attribute - :7093:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :7094:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :7221:17 -
Old: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self@Model`
New: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self`
[error] invalid-argument-type - :7231:17 -
Old: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self@Model`
New: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self`
[error] invalid-argument-type - :7243:17 -
Old: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self@Model`
New: Argument to function `assert_audit_log` is incorrect: Expected `RemoteRealmAuditLog | RemoteZulipServerAuditLog`, found `Self`
[error] unresolved-attribute - :7405:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7412:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7416:16 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7419:22 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7633:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7640:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7644:20 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7647:27 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7654:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] unresolved-attribute - :7736:34 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :7737:90 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :7737:122 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :7841:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7848:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7852:16 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7855:23 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :7862:9 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] unresolved-attribute - :7910:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :7911:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :7912:26 -
Old: Type `Self@Model` has no attribute `get_plan_status_as_text`
New: Type `Self` has no attribute `get_plan_status_as_text`
[error] unresolved-attribute - :7946:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :7947:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :7949:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8002:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8003:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8004:26 -
Old: Type `Self@Model` has no attribute `get_plan_status_as_text`
New: Type `Self` has no attribute `get_plan_status_as_text`
[error] unresolved-attribute - :8073:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8074:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8075:26 -
Old: Type `Self@Model` has no attribute `get_plan_status_as_text`
New: Type `Self` has no attribute `get_plan_status_as_text`
[error] unresolved-attribute - :8192:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8193:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8194:26 -
Old: Type `Self@Model` has no attribute `sent_invoice_id`
New: Type `Self` has no attribute `sent_invoice_id`
[error] unresolved-attribute - :8195:26 -
Old: Type `Self@Model` has no attribute `get_plan_status_as_text`
New: Type `Self` has no attribute `get_plan_status_as_text`
[error] unresolved-attribute - :8198:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8253:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8254:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :8258:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8259:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8307:16 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :8308:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :8310:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8311:27 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8312:30 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :8342:9 -
Old: Unresolved attribute `end_date` on type `Self@Model`.
New: Unresolved attribute `end_date` on type `Self`.
[error] unresolved-attribute - :8358:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8359:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8362:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8364:13 -
Old: Type `Self@Model` has no attribute `invoicing_status`
New: Type `Self` has no attribute `invoicing_status`
[error] unresolved-attribute - :8373:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8374:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8377:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8378:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8379:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :8382:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] invalid-argument-type - :8416:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :8429:66 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :8461:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :8462:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8481:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-argument-type - :8489:53 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :8540:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :8541:26 -
Old: Type `Self@Model` has no attribute `billing_schedule`
New: Type `Self` has no attribute `billing_schedule`
[error] unresolved-attribute - :8542:26 -
Old: Type `Self@Model` has no attribute `end_date`
New: Type `Self` has no attribute `end_date`
[error] unresolved-attribute - :8553:26 -
Old: Type `Self@Model` has no attribute `reminder_to_review_plan_email_sent`
New: Type `Self` has no attribute `reminder_to_review_plan_email_sent`
[error] unresolved-attribute - :8558:25 -
Old: Type `Self@Model` has no attribute `reminder_to_review_plan_email_sent`
New: Type `Self` has no attribute `reminder_to_review_plan_email_sent`
[error] unresolved-attribute - :8625:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-argument-type - :8626:49 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :8642:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] unresolved-attribute - :8677:26 -
Old: Type `Self@Model` has no attribute `requested_plan`
New: Type `Self` has no attribute `requested_plan`
[error] unresolved-attribute - :8678:26 -
Old: Type `Self@Model` has no attribute `org_website`
New: Type `Self` has no attribute `org_website`
[error] unresolved-attribute - :8679:26 -
Old: Type `Self@Model` has no attribute `org_description`
New: Type `Self` has no attribute `org_description`
[error] unresolved-attribute - :8681:13 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :8697:79 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] invalid-argument-type - :8717:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :8721:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :8753:61 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :8767:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :8812:49 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :8815:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] unresolved-attribute - :8816:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] unresolved-attribute - :8834:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8840:74 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :8872:118 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :8876:26 -
Old: Type `Self@Model` has no attribute `licenses_at_next_renewal`
New: Type `Self` has no attribute `licenses_at_next_renewal`
[error] unresolved-attribute - :8935:16 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :8936:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8955:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8956:25 -
Old: Type `Self@Model` has no attribute `stale_audit_log_data_email_sent`
New: Type `Self` has no attribute `stale_audit_log_data_email_sent`
[error] unresolved-attribute - :8993:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :8994:26 -
Old: Type `Self@Model` has no attribute `stale_audit_log_data_email_sent`
New: Type `Self` has no attribute `stale_audit_log_data_email_sent`
[error] unresolved-attribute - :8996:16 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :8997:66 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] invalid-argument-type - :9033:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :9059:72 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :9235:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] invalid-argument-type - :9254:53 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :9256:86 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :9308:26 -
Old: Type `Self@Model` has no attribute `requested_plan`
New: Type `Self` has no attribute `requested_plan`
[error] unresolved-attribute - :9309:26 -
Old: Type `Self@Model` has no attribute `org_website`
New: Type `Self` has no attribute `org_website`
[error] unresolved-attribute - :9310:26 -
Old: Type `Self@Model` has no attribute `org_description`
New: Type `Self` has no attribute `org_description`
[error] unresolved-attribute - :9312:13 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :9671:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9678:30 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9682:20 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9685:27 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9692:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] unresolved-attribute - :9776:34 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :9777:90 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :9777:122 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :9881:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9888:26 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9892:16 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9895:23 -
Old: Type `Self@Model` has no attribute `licenses`
New: Type `Self` has no attribute `licenses`
[error] unresolved-attribute - :9902:9 -
Old: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
New: Unresolved attribute `flat_discounted_months` on type `Self`.
[error] unresolved-attribute - :9969:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :9970:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :9998:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :9999:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :10001:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10073:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :10074:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :10075:26 -
Old: Type `Self@Model` has no attribute `sent_invoice_id`
New: Type `Self` has no attribute `sent_invoice_id`
[error] unresolved-attribute - :10076:26 -
Old: Type `Self@Model` has no attribute `get_plan_status_as_text`
New: Type `Self` has no attribute `get_plan_status_as_text`
[error] unresolved-attribute - :10079:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10134:26 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :10135:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :10139:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10140:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10188:16 -
Old: Type `Self@Model` has no attribute `remote_server`
New: Type `Self` has no attribute `remote_server`
[error] unresolved-attribute - :10189:26 -
Old: Type `Self@Model` has no attribute `remote_server`
New: Type `Self` has no attribute `remote_server`
[error] unresolved-attribute - :10191:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :10192:27 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :10193:30 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :10200:9 -
Old: Unresolved attribute `end_date` on type `Self@Model`.
New: Unresolved attribute `end_date` on type `Self`.
[error] unresolved-attribute - :10229:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10230:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10233:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10235:13 -
Old: Type `Self@Model` has no attribute `invoicing_status`
New: Type `Self` has no attribute `invoicing_status`
[error] unresolved-attribute - :10244:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10245:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10248:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :10249:30 -
Old: Type `Self@Model` has no attribute `fixed_price`
New: Type `Self` has no attribute `fixed_price`
[error] unresolved-attribute - :10250:27 -
Old: Type `Self@Model` has no attribute `price_per_license`
New: Type `Self` has no attribute `price_per_license`
[error] unresolved-attribute - :10253:26 -
Old: Type `Self@Model` has no attribute `remote_server`
New: Type `Self` has no attribute `remote_server`
[error] unresolved-attribute - :10330:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10331:26 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :10348:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :10475:16 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :10476:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10496:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10497:25 -
Old: Type `Self@Model` has no attribute `stale_audit_log_data_email_sent`
New: Type `Self` has no attribute `stale_audit_log_data_email_sent`
[error] unresolved-attribute - :10534:26 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :10535:26 -
Old: Type `Self@Model` has no attribute `stale_audit_log_data_email_sent`
New: Type `Self` has no attribute `stale_audit_log_data_email_sent`
[error] unresolved-attribute - :10537:16 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`
[error] unresolved-attribute - :10538:66 -
Old: Type `Self@Model` has no attribute `stripe_customer_id`
New: Type `Self` has no attribute `stripe_customer_id`

corporate/tests/test_support_views.py

[error] invalid-argument-type - :98:57 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :122:28 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :140:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :172:27 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :423:71 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :428:71 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :434:71 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] invalid-argument-type - :450:45 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self@Model`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Self`
[error] unresolved-attribute - :462:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :472:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :510:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :524:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :536:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :547:16 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] unresolved-attribute - :551:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :560:16 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :564:53 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :589:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :607:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :618:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :645:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :662:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :666:40 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :672:53 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :677:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :680:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :684:40 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :689:32 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :692:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :697:26 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :704:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :707:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :710:32 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :713:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :718:26 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] invalid-return-type - :749:16 -
Old: Return type does not match returned value: expected `Customer`, found `Self@Model`
New: Return type does not match returned value: expected `Customer`, found `Self`
[error] unresolved-attribute - :1513:64 -
Old: Type `Self@Model` has no attribute `message`
New: Type `Self` has no attribute `message`
[error] unresolved-attribute - :1895:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`

corporate/views/audit_logs.py

[error] unresolved-attribute - :52:16 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :77:8 -
Old: Type `Self@Model` has no attribute `last_version`
New: Type `Self` has no attribute `last_version`
[error] unresolved-attribute - :81:23 -
Old: Type `Self@Model` has no attribute `last_version`
New: Type `Self` has no attribute `last_version`
[error] unresolved-attribute - :87:44 -
Old: Type `Self@Model` has no attribute `last_audit_log_update`
New: Type `Self` has no attribute `last_audit_log_update`

corporate/views/plan_activity.py

[error] unresolved-attribute - :27:41 -
Old: Type `Self@Model` has no attribute `customer`
New: Type `Self` has no attribute `customer`
[error] unresolved-attribute - :48:81 -
Old: Type `Self@Model` has no attribute `tier`
New: Type `Self` has no attribute `tier`
[error] unresolved-attribute - :53:44 -
Old: Type `Self@Model` has no attribute `next_invoice_date`
New: Type `Self` has no attribute `next_invoice_date`
[error] unresolved-attribute - :56:8 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`
[error] unresolved-attribute - :60:27 -
Old: Type `Self@Model` has no attribute `invoiced_through`
New: Type `Self` has no attribute `invoiced_through`

corporate/views/portico.py

[error] invalid-assignment - :186:17 -
Old: Object of type `Self@Model` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`
New: Object of type `Self` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`
[error] invalid-assignment - :254:17 -
Old: Object of type `Self@Model` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`
New: Object of type `Self` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`

corporate/views/realm_activity.py

[error] unresolved-attribute - :156:18 -
Old: Type `Self@Model` has no attribute `get_human_admin_users`
New: Type `Self` has no attribute `get_human_admin_users`

corporate/views/remote_billing_page.py

[error] unresolved-attribute - :108:31 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] invalid-argument-type - :244:61 -
Old: Argument to function `is_tos_consent_needed_for_user` is incorrect: Expected `RemoteRealmBillingUser | RemoteServerBillingUser`, found `Self@Model`
New: Argument to function `is_tos_consent_needed_for_user` is incorrect: Expected `RemoteRealmBillingUser | RemoteServerBillingUser`, found `Self`
[error] unresolved-attribute - :258:25 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :259:31 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :260:35 -
Old: Type `Self@Model` has no attribute `full_name`
New: Type `Self` has no attribute `full_name`
[error] unresolved-attribute - :303:9 -
Old: Unresolved attribute `full_name` on type `Self@Model`.
New: Unresolved attribute `full_name` on type `Self`.
[error] unresolved-attribute - :304:9 -
Old: Unresolved attribute `enable_major_release_emails` on type `Self@Model`.
New: Unresolved attribute `enable_major_release_emails` on type `Self`.
[error] unresolved-attribute - :305:9 -
Old: Unresolved attribute `enable_maintenance_release_emails` on type `Self@Model`.
New: Unresolved attribute `enable_maintenance_release_emails` on type `Self`.
[error] unresolved-attribute - :307:5 -
Old: Unresolved attribute `tos_version` on type `Self@Model`.
New: Unresolved attribute `tos_version` on type `Self`.
[error] unresolved-attribute - :308:5 -
Old: Unresolved attribute `last_login` on type `Self@Model`.
New: Unresolved attribute `last_login` on type `Self`.
[error] unresolved-attribute - :320:47 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :332:10 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :338:53 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :348:10 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :396:9 -
Old: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self@Model`
New: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self`
[error] unresolved-attribute - :402:30 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :474:24 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :475:27 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :476:28 -
Old: Type `Self@Model` has no attribute `full_name`
New: Type `Self` has no attribute `full_name`
[error] invalid-argument-type - :627:9 -
Old: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self@Model`
New: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self`
[error] invalid-argument-type - :705:9 -
Old: Argument to function `is_tos_consent_needed_for_user` is incorrect: Expected `RemoteRealmBillingUser | RemoteServerBillingUser`, found `Self@Model`
New: Argument to function `is_tos_consent_needed_for_user` is incorrect: Expected `RemoteRealmBillingUser | RemoteServerBillingUser`, found `Self`
[error] unresolved-attribute - :758:5 -
Old: Unresolved attribute `last_login` on type `Self@Model`.
New: Unresolved attribute `last_login` on type `Self`.
[error] unresolved-attribute - :771:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :816:9 -
Old: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self@Model`
New: Argument to function `create_remote_billing_confirmation_link` is incorrect: Expected `PreregistrationRemoteRealmBillingUser | PreregistrationRemoteServerBillingUser`, found `Self`

corporate/views/support.py

[error] unresolved-attribute - :286:17 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :287:26 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :289:16 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :290:23 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :309:32 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :312:27 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :517:33 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-argument-type - :518:39 -
Old: Argument to function `do_change_realm_plan_type` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_plan_type` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :519:35 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :522:34 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] invalid-argument-type - :523:38 -
Old: Argument to function `do_change_realm_org_type` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_org_type` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :524:43 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] invalid-argument-type - :527:65 -
Old: Argument to function `get_default_max_invites_for_plan_type` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_default_max_invites_for_plan_type` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :528:41 -
Old: Argument to function `check_update_max_invites` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_update_max_invites` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :529:45 -
Old: Argument to function `do_change_realm_max_invites` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_max_invites` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :533:66 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :540:78 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :543:29 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] invalid-argument-type - :549:43 -
Old: Argument to function `do_change_realm_subdomain` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_subdomain` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :556:50 -
Old: Argument to function `do_send_realm_reactivation_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_send_realm_reactivation_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :558:67 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] invalid-argument-type - :564:21 -
Old: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :569:49 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] invalid-argument-type - :571:28 -
Old: Argument to function `do_scrub_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_scrub_realm` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :572:45 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :578:61 -
Old: Type `Self@Model` has no attribute `subdomain`
New: Type `Self` has no attribute `subdomain`
[error] invalid-argument-type - :582:35 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :610:32 -
Old: Argument to bound method `add` is incorrect: Expected `Self@Model`, found `Realm`
New: Argument to bound method `add` is incorrect: Expected `Self`, found `Realm`
[error] unresolved-attribute - :623:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :632:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :641:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :647:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :667:62 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Self@Model | Unknown`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Self | Unknown`
[warning] possibly-unbound-attribute - :669:32 -
Old: Attribute `id` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `id` on type `Self | Unknown` is possibly unbound
[error] invalid-argument-type - :871:44 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :874:45 -
Old: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_reactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :876:39 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] invalid-argument-type - :881:49 -
Old: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_deactivate_remote_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :883:43 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :887:61 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] invalid-argument-type - :894:52 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :902:52 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`

corporate/views/webhook.py

[error] unresolved-attribute - :71:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :82:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/actions/channel_folders.py

[error] invalid-argument-type - :38:48 -
Old: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self@Model`
New: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self`
[error] invalid-return-type - :42:12 -
Old: Return type does not match returned value: expected `ChannelFolder`, found `Self@Model`
New: Return type does not match returned value: expected `ChannelFolder`, found `Self`

zerver/actions/create_realm.py

[error] invalid-argument-type - :78:41 -
Old: Argument to function `do_add_deactivated_redirect` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_add_deactivated_redirect` is incorrect: Expected `Realm`, found `Self`

zerver/actions/create_user.py

[error] unresolved-attribute - :227:44 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :228:47 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] invalid-argument-type - :622:28 -
Old: Argument to function `do_send_user_group_members_update_event` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_send_user_group_members_update_event` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :793:9 -
Old: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Collection[Stream] | QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Collection[Stream] | QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :798:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :800:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/actions/custom_profile_fields.py

[error] unresolved-attribute - :152:12 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :155:9 -
Old: Unresolved attribute `order` on type `Self@Model`.
New: Unresolved attribute `order` on type `Self`.
[error] unresolved-attribute - :155:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :189:28 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :194:9 -
Old: Unresolved attribute `value` on type `Self@Model`.
New: Unresolved attribute `value` on type `Self`.
[error] unresolved-attribute - :195:12 -
Old: Type `Self@Model` has no attribute `field`
New: Type `Self` has no attribute `field`
[error] unresolved-attribute - :196:13 -
Old: Unresolved attribute `rendered_value` on type `Self@Model`.
New: Unresolved attribute `rendered_value` on type `Self`.
[error] unresolved-attribute - :205:23 -
Old: Type `Self@Model` has no attribute `field_id`
New: Type `Self` has no attribute `field_id`
[error] unresolved-attribute - :206:26 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :207:35 -
Old: Type `Self@Model` has no attribute `rendered_value`
New: Type `Self` has no attribute `rendered_value`
[error] unresolved-attribute - :208:25 -
Old: Type `Self@Model` has no attribute `field`
New: Type `Self` has no attribute `field`
[error] unresolved-attribute - :219:51 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :236:25 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`

zerver/actions/data_import.py

[error] unresolved-attribute - :29:17 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :31:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :37:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :50:30 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :51:38 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :56:61 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :66:17 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :71:17 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :73:13 -
Old: Unresolved attribute `created_realm` on type `Self@Model`.
New: Unresolved attribute `created_realm` on type `Self`.
[error] unresolved-attribute - :74:13 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :80:13 -
Old: Unresolved attribute `created_realm` on type `Self@Model`.
New: Unresolved attribute `created_realm` on type `Self`.
[error] unresolved-attribute - :81:13 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :84:17 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] invalid-argument-type - :88:45 -
Old: Argument to function `do_delete_all_realm_attachments` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_delete_all_realm_attachments` is incorrect: Expected `Realm`, found `Self`

zerver/actions/default_streams.py

[error] unresolved-attribute - :109:5 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`

zerver/actions/invites.py

[error] invalid-argument-type - :206:24 -
Old: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :213:17 -
Old: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :217:17 -
Old: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :220:12 -
Old: Type `Self@Model` has no attribute `invite_required`
New: Type `Self` has no attribute `invite_required`
[error] invalid-argument-type - :235:65 -
Old: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :254:43 -
Old: Argument to function `get_existing_user_errors` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_existing_user_errors` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :304:28 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :324:13 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :328:13 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :398:9 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :400:9 -
Old: Type `Self@Model` has no attribute `groups`
New: Type `Self` has no attribute `groups`
[error] unresolved-attribute - :401:5 -
Old: Unresolved attribute `invited_as` on type `Self@Model`.
New: Unresolved attribute `invited_as` on type `Self`.
[error] invalid-argument-type - :448:24 -
Old: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :453:31 -
Old: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Self@Model`
New: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :463:21 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :468:36 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :471:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :493:29 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :497:9 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :500:18 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`

zerver/actions/message_edit.py

[error] unresolved-attribute - :470:41 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :624:41 -
Old: Type `Self@Model` has no attribute `is_muted`
New: Type `Self` has no attribute `is_muted`
[error] invalid-argument-type - :730:45 -
Old: Argument to function `__new__` is incorrect: Expected `(Self@Model, /) -> Unknown`, found `def user_info(um: UserMessage) -> dict[str, Any]`
New: Argument to function `__new__` is incorrect: Expected `(Self, /) -> Unknown`, found `def user_info(um: UserMessage) -> dict[str, Any]`
[error] unsupported-operator - :873:9 -
Old: Operator `|=` is unsupported between objects of type `QuerySet[Self@Model, Self@Model]` and `QuerySet[Message, Message]`
New: Operator `|=` is unsupported between objects of type `QuerySet[Self, Self]` and `QuerySet[Message, Message]`
[warning] possibly-unbound-attribute - :971:38 -
Old: Attribute `user_profile_id` on type `Unknown | Self@Model` is possibly unbound
New: Attribute `user_profile_id` on type `Unknown | Self` is possibly unbound
[error] unresolved-attribute - :1738:12 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1740:9 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1741:9 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1747:9 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`

zerver/actions/message_send.py

[error] unresolved-attribute - :993:41 -
Old: Type `Self@Model` has no attribute `visibility_policy`
New: Type `Self` has no attribute `visibility_policy`
[error] unresolved-attribute - :1041:21 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :1297:16 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/actions/navigation_views.py

[error] invalid-argument-type - :36:53 -
Old: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self@Model`
New: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self`
[error] invalid-return-type - :39:12 -
Old: Return type does not match returned value: expected `NavigationView`, found `Self@Model`
New: Return type does not match returned value: expected `NavigationView`, found `Self`

zerver/actions/presence.py

[warning] possibly-unbound-attribute - :137:8 -
Old: Attribute `last_active_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_active_time` on type `Self | UserPresence` is possibly unbound
[warning] possibly-unbound-attribute - :138:60 -
Old: Attribute `last_active_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_active_time` on type `Self | UserPresence` is possibly unbound
[warning] possibly-unbound-attribute - :139:8 -
Old: Attribute `last_connected_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_connected_time` on type `Self | UserPresence` is possibly unbound
[warning] possibly-unbound-attribute - :140:63 -
Old: Attribute `last_connected_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_connected_time` on type `Self | UserPresence` is possibly unbound
[error] invalid-assignment - :166:9 -
Old: Object of type `datetime` is not assignable to attribute `last_connected_time` on type `Self@Model | UserPresence`
New: Object of type `datetime` is not assignable to attribute `last_connected_time` on type `Self | UserPresence`
[error] invalid-assignment - :174:9 -
Old: Object of type `datetime` is not assignable to attribute `last_active_time` on type `Self@Model | UserPresence`
New: Object of type `datetime` is not assignable to attribute `last_active_time` on type `Self | UserPresence`
[warning] possibly-unbound-attribute - :176:12 -
Old: Attribute `last_connected_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_connected_time` on type `Self | UserPresence` is possibly unbound
[warning] possibly-unbound-attribute - :176:63 -
Old: Attribute `last_connected_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_connected_time` on type `Self | UserPresence` is possibly unbound
[error] invalid-assignment - :179:13 -
Old: Object of type `datetime` is not assignable to attribute `last_connected_time` on type `Self@Model | UserPresence`
New: Object of type `datetime` is not assignable to attribute `last_connected_time` on type `Self | UserPresence`
[warning] possibly-unbound-attribute - :232:46 -
Old: Attribute `last_active_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_active_time` on type `Self | UserPresence` is possibly unbound
[warning] possibly-unbound-attribute - :233:49 -
Old: Attribute `last_connected_time` on type `Self@Model | UserPresence` is possibly unbound
New: Attribute `last_connected_time` on type `Self | UserPresence` is possibly unbound
[error] unresolved-attribute - :249:86 -
Old: Type `Self@Model | UserPresence` has no attribute `id`
New: Type `Self | UserPresence` has no attribute `id`
[error] invalid-argument-type - :274:31 -
Old: Argument to function `send_presence_changed` is incorrect: Expected `UserPresence`, found `Self@Model | UserPresence`
New: Argument to function `send_presence_changed` is incorrect: Expected `UserPresence`, found `Self | UserPresence`

zerver/actions/reactions.py

[error] unresolved-attribute - :156:22 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] invalid-argument-type - :185:51 -
Old: Argument to function `notify_reaction_update` is incorrect: Expected `Reaction`, found `Self@Model`
New: Argument to function `notify_reaction_update` is incorrect: Expected `Reaction`, found `Self`

zerver/actions/realm_domains.py

[error] unresolved-attribute - :36:20 -
Old: Type `Self@Model` has no attribute `domain`
New: Type `Self` has no attribute `domain`
[error] unresolved-attribute - :36:58 -
Old: Type `Self@Model` has no attribute `allow_subdomains`
New: Type `Self` has no attribute `allow_subdomains`
[error] invalid-return-type - :41:12 -
Old: Return type does not match returned value: expected `RealmDomain`, found `Self@Model`
New: Return type does not match returned value: expected `RealmDomain`, found `Self`

zerver/actions/realm_emoji.py

[error] unresolved-attribute - :72:5 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :83:55 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/actions/realm_linkifiers.py

[error] unresolved-attribute - :80:15 -
Old: Type `Self@Model` has no attribute `pattern`
New: Type `Self` has no attribute `pattern`
[error] unresolved-attribute - :81:20 -
Old: Type `Self@Model` has no attribute `url_template`
New: Type `Self` has no attribute `url_template`
[error] unresolved-attribute - :113:5 -
Old: Unresolved attribute `pattern` on type `Self@Model`.
New: Unresolved attribute `pattern` on type `Self`.
[error] unresolved-attribute - :114:5 -
Old: Unresolved attribute `url_template` on type `Self@Model`.
New: Unresolved attribute `url_template` on type `Self`.
[error] unresolved-attribute - :129:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :152:9 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :167:16 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :168:9 -
Old: Unresolved attribute `order` on type `Self@Model`.
New: Unresolved attribute `order` on type `Self`.
[error] unresolved-attribute - :168:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :170:22 -
Old: Argument to function `flush_linkifiers` is incorrect: Expected `RealmFilter`, found `Self@Model`
New: Argument to function `flush_linkifiers` is incorrect: Expected `RealmFilter`, found `Self`

zerver/actions/realm_settings.py

[error] invalid-argument-type - :647:49 -
Old: Argument to function `demo_organization_owner_email_exists` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `demo_organization_owner_email_exists` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :653:13 -
Old: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :792:33 -
Old: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :865:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :867:54 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/actions/saved_snippets.py

[error] unresolved-attribute - :32:41 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :38:26 -
Old: Type `Self@Model` has no attribute `to_api_dict`
New: Type `Self` has no attribute `to_api_dict`
[error] invalid-return-type - :42:12 -
Old: Return type does not match returned value: expected `SavedSnippet`, found `Self@Model`
New: Return type does not match returned value: expected `SavedSnippet`, found `Self`
[error] unresolved-attribute - :57:9 -
Old: Unresolved attribute `title` on type `Self@Model`.
New: Unresolved attribute `title` on type `Self`.
[error] unresolved-attribute - :59:9 -
Old: Unresolved attribute `content` on type `Self@Model`.
New: Unresolved attribute `content` on type `Self`.
[error] unresolved-attribute - :67:30 -
Old: Type `Self@Model` has no attribute `to_api_dict`
New: Type `Self` has no attribute `to_api_dict`
[error] invalid-return-type - :71:12 -
Old: Return type does not match returned value: expected `SavedSnippet`, found `Self@Model`
New: Return type does not match returned value: expected `SavedSnippet`, found `Self`
[error] unresolved-attribute - :77:13 -
Old: Type `Self@Model` has no attribute `to_api_dict`
New: Type `Self` has no attribute `to_api_dict`

zerver/actions/streams.py

[error] invalid-argument-type - :166:67 -
Old: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `DefaultStreamGroup`, found `Self@Model`
New: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `DefaultStreamGroup`, found `Self`
[error] unresolved-attribute - :357:33 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :357:54 -
Old: Type `Self@Model` has no attribute `active`
New: Type `Self` has no attribute `active`
[error] unresolved-attribute - :361:9 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :363:45 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :390:14 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :800:22 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] invalid-argument-type - :1437:53 -
Old: Argument to function `silent_mention_syntax_for_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `silent_mention_syntax_for_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`

zerver/actions/uploads.py

[error] unresolved-attribute - :48:39 -
Old: Type `Self@Model` has no attribute `is_public`
New: Type `Self` has no attribute `is_public`
[error] unresolved-attribute - :49:37 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :97:39 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
New: Type `Self & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :99:63 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model & ~AlwaysFalsy`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self & ~AlwaysFalsy`
[error] unresolved-attribute - :111:43 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
New: Type `Self & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :113:67 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model & ~AlwaysFalsy`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self & ~AlwaysFalsy`
[error] unresolved-attribute - :145:29 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`

zerver/actions/user_groups.py

[error] unresolved-attribute - :124:13 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :129:13 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :135:13 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :138:13 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`

zerver/actions/user_settings.py

[error] unresolved-attribute - :167:12 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-assignment - :622:17 -
Old: Object of type `Self@Model` is not assignable to `UserPresence | None`
New: Object of type `Self` is not assignable to `UserPresence | None`

zerver/actions/users.py

[error] unresolved-attribute - :887:29 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`

zerver/lib/attachments.py

[error] invalid-return-type - :42:12 -
Old: Return type does not match returned value: expected `Attachment`, found `Self@Model | (Unknown & ~None)`
New: Return type does not match returned value: expected `Attachment`, found `Self | (Unknown & ~None)`
[error] invalid-return-type - :103:16 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[bool, Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[bool, Self]`
[error] invalid-argument-type - :103:72 -
Old: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self`
[error] unresolved-attribute - :109:8 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :113:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :125:27 -
Old: Type `Self@Model` has no attribute `owner_id`
New: Type `Self` has no attribute `owner_id`
[error] invalid-return-type - :127:16 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] unresolved-attribute - :129:9 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :130:13 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] invalid-return-type - :134:16 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] unresolved-attribute - :136:16 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] invalid-return-type - :146:20 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] invalid-return-type - :163:16 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] invalid-return-type - :172:16 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[False], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[False], Self]`
[error] unresolved-attribute - :186:12 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :186:53 -
Old: Type `Self@Model` has no attribute `is_history_public_to_subscribers`
New: Type `Self` has no attribute `is_history_public_to_subscribers`
[error] invalid-return-type - :187:20 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] invalid-argument-type - :193:54 -
Old: Argument to function `is_user_in_groups_granting_content_access` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `is_user_in_groups_granting_content_access` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :194:16 -
Old: Type `Self@Model` has no attribute `is_history_public_to_subscribers`
New: Type `Self` has no attribute `is_history_public_to_subscribers`
[error] invalid-return-type - :195:24 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] unresolved-attribute - :200:18 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :201:24 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[True], Self]`
[error] invalid-return-type - :203:12 -
Old: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[False], Self@Model]`
New: Return type does not match returned value: expected `tuple[bool, Attachment | None]`, found `tuple[Literal[False], Self]`

zerver/lib/bot_config.py

[error] unresolved-attribute - :21:13 -
Old: Type `Self@Model` has no attribute `key`
New: Type `Self` has no attribute `key`
[error] unresolved-attribute - :21:24 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :30:24 -
Old: Type `Self@Model` has no attribute `bot_profile_id`
New: Type `Self` has no attribute `bot_profile_id`
[error] unresolved-attribute - :30:54 -
Old: Type `Self@Model` has no attribute `key`
New: Type `Self` has no attribute `key`
[error] unresolved-attribute - :30:65 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :44:35 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :64:9 -
Old: Unresolved attribute `value` on type `Self@Model`.
New: Unresolved attribute `value` on type `Self`.

zerver/lib/bot_storage.py

[error] unresolved-attribute - :14:16 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :30:17 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`

zerver/lib/bulk_create.py

[error] unresolved-attribute - :48:36 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`

zerver/lib/channel_folders.py

[error] invalid-argument-type - :65:48 -
Old: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self@Model | Unknown`
New: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self | Unknown`
[error] invalid-return-type - :72:16 -
Old: Return type does not match returned value: expected `ChannelFolder`, found `Self@Model`
New: Return type does not match returned value: expected `ChannelFolder`, found `Self`
[error] invalid-argument-type - :82:48 -
Old: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self@Model`
New: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self`

zerver/lib/create_user.py

[error] unresolved-attribute - :189:45 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`
[error] invalid-argument-type - :237:31 -
Old: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self@Model`
New: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self`

zerver/lib/default_streams.py

[error] invalid-return-type - :15:12 -
Old: Return type does not match returned value: expected `set[Stream]`, found `set[Self@Model]`
New: Return type does not match returned value: expected `set[Stream]`, found `set[Self]`

zerver/lib/display_recipient.py

[error] invalid-return-type - :107:16 -
Old: Return type does not match returned value: expected `QuerySet[Stream, TinyStreamResult]`, found `QuerySet[Self@Model, dict[str, Any]]`
New: Return type does not match returned value: expected `QuerySet[Stream, TinyStreamResult]`, found `QuerySet[Self, dict[str, Any]]`

zerver/lib/drafts.py

[error] unresolved-attribute - :125:24 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] invalid-return-type - :129:12 -
Old: Return type does not match returned value: expected `list[Draft]`, found `list[Self@Model]`
New: Return type does not match returned value: expected `list[Draft]`, found `list[Self]`
[error] unresolved-attribute - :141:5 -
Old: Unresolved attribute `content` on type `Self@Model`.
New: Unresolved attribute `content` on type `Self`.
[error] unresolved-attribute - :142:5 -
Old: Unresolved attribute `topic` on type `Self@Model`.
New: Unresolved attribute `topic` on type `Self`.
[error] unresolved-attribute - :143:5 -
Old: Unresolved attribute `recipient_id` on type `Self@Model`.
New: Unresolved attribute `recipient_id` on type `Self`.
[error] unresolved-attribute - :144:5 -
Old: Unresolved attribute `last_edit_time` on type `Self@Model`.
New: Unresolved attribute `last_edit_time` on type `Self`.
[error] unresolved-attribute - :149:61 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :161:16 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/lib/email_mirror.py

[error] invalid-return-type - :132:12 -
Old: Return type does not match returned value: expected `MissedMessageEmailAddress`, found `Self@Model`
New: Return type does not match returned value: expected `MissedMessageEmailAddress`, found `Self`
[error] invalid-return-type - :367:12 -
Old: Return type does not match returned value: expected `tuple[ChannelEmailAddress, dict[str, bool]]`, found `tuple[Self@Model, dict[str, bool]]`
New: Return type does not match returned value: expected `tuple[ChannelEmailAddress, dict[str, bool]]`, found `tuple[Self, dict[str, bool]]`

zerver/lib/email_mirror_helpers.py

[error] unresolved-attribute - :59:12 -
Old: Type `Self@Model` has no attribute `email_token`
New: Type `Self` has no attribute `email_token`

zerver/lib/email_notifications.py

[error] invalid-argument-type - :309:17 -
Old: Argument to function `topic_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self@Model`
New: Argument to function `topic_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self`
[warning] possibly-unbound-attribute - :312:25 -
Old: Attribute `name` on type `Stream | Self@Model` is possibly unbound
New: Attribute `name` on type `Stream | Self` is possibly unbound
[error] invalid-argument-type - :313:57 -
Old: Argument to function `stream_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self@Model`
New: Argument to function `stream_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self`
[warning] possibly-unbound-attribute - :318:29 -
Old: Attribute `name` on type `Stream | Self@Model` is possibly unbound
New: Attribute `name` on type `Stream | Self` is possibly unbound
[error] unresolved-attribute - :568:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`

zerver/lib/emoji.py

[error] unresolved-attribute - :130:31 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :130:60 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`

zerver/lib/events.py

[error] unresolved-attribute - :630:17 -
Old: Type `Self@Model` has no attribute `resolved_topic_notice_auto_read_policy`
New: Type `Self` has no attribute `resolved_topic_notice_auto_read_policy`
[error] unresolved-attribute - :1451:52 -
Old: Type `Self@Model` has no attribute `first_message_id`
New: Type `Self` has no attribute `first_message_id`

zerver/lib/export.py

[error] unresolved-attribute - :1383:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1611:52 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1634:12 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :1637:42 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] invalid-argument-type - :1666:9 -
Old: Argument to function `fetch_usermessages` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `fetch_usermessages` is incorrect: Expected `Realm`, found `Self`
[error] invalid-assignment - :1926:9 -
Old: Object of type `list[Self@Model]` is not assignable to `list[Attachment] | None`
New: Object of type `list[Self]` is not assignable to `list[Attachment] | None`
[error] invalid-argument-type - :1950:13 -
Old: Argument to function `export_emoji_from_local` is incorrect: Expected `list[RealmEmoji]`, found `list[Self@Model]`
New: Argument to function `export_emoji_from_local` is incorrect: Expected `list[RealmEmoji]`, found `list[Self]`
[error] invalid-argument-type - :1998:41 -
Old: Argument to function `get_emoji_path` is incorrect: Expected `RealmEmoji`, found `Self@Model`
New: Argument to function `get_emoji_path` is incorrect: Expected `RealmEmoji`, found `Self`
[error] unresolved-attribute - :2755:12 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :2756:59 -
Old: Type `Self@Model` has no attribute `type_id`
New: Type `Self` has no attribute `type_id`
[error] unresolved-attribute - :2761:44 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2779:25 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`

zerver/lib/import_realm.py

[error] unresolved-attribute - :863:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1238:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1426:9 -
Old: Unresolved attribute `creator_id` on type `Self@Model`.
New: Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1426:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1431:9 -
Old: Unresolved attribute `creator_id` on type `Self@Model`.
New: Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1431:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1441:13 -
Old: Unresolved attribute `creator_id` on type `Self@Model`.
New: Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1441:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1463:12 -
Old: Type `Self@Model` has no attribute `author_id`
New: Type `Self` has no attribute `author_id`
[error] unresolved-attribute - :1465:13 -
Old: Unresolved attribute `author_id` on type `Self@Model`.
New: Unresolved attribute `author_id` on type `Self`.
[error] invalid-argument-type - :1503:56 -
Old: Argument to function `bulk_set_users_or_streams_recipient_fields` is incorrect: Expected `Collection[UserProfile] | QuerySet[UserProfile, UserProfile] | QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `bulk_set_users_or_streams_recipient_fields` is incorrect: Expected `Collection[UserProfile] | QuerySet[UserProfile, UserProfile] | QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :1560:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1562:13 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.

zerver/lib/invites.py

[error] invalid-argument-type - :25:9 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`

zerver/lib/management.py

[error] invalid-return-type - :175:24 -
Old: Return type does not match returned value: expected `Realm | None`, found `Self@Model`
New: Return type does not match returned value: expected `Realm | None`, found `Self`
[error] invalid-return-type - :176:20 -
Old: Return type does not match returned value: expected `Realm | None`, found `Self@Model`
New: Return type does not match returned value: expected `Realm | None`, found `Self`

zerver/lib/mention.py

[error] unresolved-attribute - :404:42 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :409:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :411:24 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :412:51 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`

zerver/lib/message.py

[error] invalid-argument-type - :405:9 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model | Unknown`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
[error] invalid-return-type - :410:16 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model | Unknown`
New: Return type does not match returned value: expected `Message`, found `Self | Unknown`
[error] invalid-argument-type - :438:9 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model | Unknown`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
[error] invalid-return-type - :443:16 -
Old: Return type does not match returned value: expected `tuple[Message, UserMessage | None]`, found `tuple[Self@Model | Unknown, UserMessage | None]`
New: Return type does not match returned value: expected `tuple[Message, UserMessage | None]`, found `tuple[Self | Unknown, UserMessage | None]`
[error] unresolved-attribute - :467:12 -
Old: Type `Self@Model` has no attribute `is_stream_message`
New: Type `Self` has no attribute `is_stream_message`
[error] unresolved-attribute - :472:34 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] invalid-return-type - :485:12 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] invalid-assignment - :557:9 -
Old: Object of type `Self@Model` is not assignable to `Stream | None`
New: Object of type `Self` is not assignable to `Stream | None`
[error] invalid-assignment - :623:9 -
Old: Object of type `Self@Model` is not assignable to `Stream | None`
New: Object of type `Self` is not assignable to `Stream | None`
[error] unresolved-attribute - :692:13 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] invalid-return-type - :745:16 -
Old: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :769:12 -
Old: Return type does not match returned value: expected `QuerySet[UserMessage, int]`, found `QuerySet[Self@Model, Any]`
New: Return type does not match returned value: expected `QuerySet[UserMessage, int]`, found `QuerySet[Self, Any]`
[error] unresolved-attribute - :1706:33 -
Old: Type `Self@Model` has no attribute `visibility_policy`
New: Type `Self` has no attribute `visibility_policy`
[error] unresolved-attribute - :1742:16 -
Old: Type `Self@Model` has no attribute `group_size`
New: Type `Self` has no attribute `group_size`

zerver/lib/message_cache.py

[error] unresolved-attribute - :317:24 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] invalid-argument-type - :366:59 -
Old: Argument to function `sew_submessages_and_reactions_to_msgs` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self@Model, dict[str, Any]]`
New: Argument to function `sew_submessages_and_reactions_to_msgs` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self, dict[str, Any]]`
[error] invalid-argument-type - :464:62 -
Old: Argument to function `save_message_rendered_content` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `save_message_rendered_content` is incorrect: Expected `Message`, found `Self`

zerver/lib/muted_users.py

[error] invalid-return-type - :33:16 -
Old: Return type does not match returned value: expected `MutedUser | None`, found `Self@Model`
New: Return type does not match returned value: expected `MutedUser | None`, found `Self`

zerver/lib/navigation_views.py

[error] invalid-return-type - :18:16 -
Old: Return type does not match returned value: expected `NavigationView`, found `Self@Model`
New: Return type does not match returned value: expected `NavigationView`, found `Self`
[error] invalid-argument-type - :33:38 -
Old: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self@Model`
New: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self`

zerver/lib/notification_data.py

[error] unresolved-attribute - :358:16 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :359:18 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :360:57 -
Old: Argument to function `get_user_group_member_ids` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_user_group_member_ids` is incorrect: Expected `UserGroup`, found `Self`

zerver/lib/onboarding.py

[error] invalid-argument-type - :41:39 -
Old: Argument to function `setup_realm_internal_bots` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `setup_realm_internal_bots` is incorrect: Expected `Realm`, found `Self`

zerver/lib/onboarding_steps.py

[error] unresolved-attribute - :95:29 -
Old: Type `Self@Model` has no attribute `onboarding_step`
New: Type `Self` has no attribute `onboarding_step`
[error] unresolved-attribute - :96:23 -
Old: Type `Self@Model` has no attribute `timestamp`
New: Type `Self` has no attribute `timestamp`

zerver/lib/push_notifications.py

[error] unresolved-attribute - :106:12 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-assignment - :715:13 -
Old: Object of type `Self@Model` is not assignable to `PushDeviceToken`
New: Object of type `Self` is not assignable to `PushDeviceToken`
[error] invalid-argument-type - :807:35 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :808:61 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :813:35 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :814:61 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :837:31 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :838:57 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1487:16 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :1488:70 -
Old: Type `Self@Model` has no attribute `push_public_key`
New: Type `Self` has no attribute `push_public_key`
[error] unresolved-attribute - :1489:12 -
Old: Type `Self@Model` has no attribute `token_kind`
New: Type `Self` has no attribute `token_kind`
[error] unresolved-attribute - :1495:33 -
Old: Type `Self@Model` has no attribute `push_account_id`
New: Type `Self` has no attribute `push_account_id`
[error] unresolved-attribute - :1499:27 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :1506:33 -
Old: Type `Self@Model` has no attribute `push_account_id`
New: Type `Self` has no attribute `push_account_id`
[error] unresolved-attribute - :1510:27 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :1857:13 -
Old: Type `Self@Model` has no attribute `push_account_id`
New: Type `Self` has no attribute `push_account_id`
[error] unresolved-attribute - :1857:46 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1857:72 -
Old: Type `Self@Model` has no attribute `error_code`
New: Type `Self` has no attribute `error_code`

zerver/lib/recipient_users.py

[error] unresolved-attribute - :82:12 -
Old: Type `DirectMessageGroup | Self@Model` has no attribute `recipient_id`
New: Type `DirectMessageGroup | Self` has no attribute `recipient_id`
[error] unresolved-attribute - :84:17 -
Old: Type `DirectMessageGroup | Self@Model` has no attribute `id`
New: Type `DirectMessageGroup | Self` has no attribute `id`

zerver/lib/reminders.py

[error] unresolved-attribute - :25:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :26:29 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-return-type - :69:16 -
Old: Return type does not match returned value: expected `ScheduledMessage`, found `Self@Model`
New: Return type does not match returned value: expected `ScheduledMessage`, found `Self`

zerver/lib/remote_server.py

[error] invalid-argument-type - :308:31 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :309:57 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
[warning] possibly-unbound-attribute - :369:16 -
Old: Attribute `id` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `id` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :370:18 -
Old: Attribute `uuid` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `uuid` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :371:31 -
Old: Attribute `uuid_owner_secret` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `uuid_owner_secret` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :372:18 -
Old: Attribute `host` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `host` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :373:17 -
Old: Attribute `url` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `url` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :374:25 -
Old: Attribute `deactivated` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `deactivated` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :375:26 -
Old: Attribute `date_created` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `date_created` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :376:22 -
Old: Attribute `org_type` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `org_type` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :377:18 -
Old: Attribute `name` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `name` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :378:36 -
Old: Attribute `authentication_methods_dict` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `authentication_methods_dict` on type `Self | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :379:33 -
Old: Attribute `string_id` on type `Self@Model | Unknown` is possibly unbound
New: Attribute `string_id` on type `Self | Unknown` is possibly unbound
[error] invalid-argument-type - :438:9 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `Unknown | QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `Unknown | QuerySet[Self, Self]`
[error] invalid-argument-type - :439:9 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `Unknown | QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `Unknown | QuerySet[Self, Self]`
[error] invalid-argument-type - :440:9 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :479:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :482:13 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`

zerver/lib/retention.py

[error] unresolved-attribute - :151:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :170:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :427:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :428:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :637:44 -
Old: Argument to function `restore_data_from_archive_by_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `restore_data_from_archive_by_realm` is incorrect: Expected `Realm`, found `Self`

zerver/lib/scheduled_messages.py

[error] invalid-return-type - :16:16 -
Old: Return type does not match returned value: expected `ScheduledMessage`, found `Self@Model`
New: Return type does not match returned value: expected `ScheduledMessage`, found `Self`

zerver/lib/send_email.py

[error] unresolved-attribute - :472:17 -
Old: Type `Self@Model` has no attribute `users`
New: Type `Self` has no attribute `users`
[error] unresolved-attribute - :476:17 -
Old: Unresolved attribute `address` on type `Self@Model`.
New: Unresolved attribute `address` on type `Self`.

zerver/lib/sessions.py

[error] invalid-argument-type - :44:69 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :53:32 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :54:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :60:32 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :61:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :66:24 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :71:47 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
[error] invalid-argument-type - :77:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self@AbstractBaseSession`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`

zerver/lib/soft_deactivation.py

[error] unresolved-attribute - :265:47 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/lib/stream_subscription.py

[error] invalid-return-type - :43:12 -
Old: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self@Model, Self@Model] | Unknown`
New: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self, Self] | Unknown`
[error] invalid-return-type - :47:12 -
Old: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :58:12 -
Old: Return type does not match returned value: expected `QuerySet[Subscription, int]`, found `QuerySet[Self@Model, Any]`
New: Return type does not match returned value: expected `QuerySet[Subscription, int]`, found `QuerySet[Self, Any]`
[error] invalid-return-type - :68:12 -
Old: Return type does not match returned value: expected `QuerySet[Subscription, int]`, found `QuerySet[Self@Model, Any]`
New: Return type does not match returned value: expected `QuerySet[Subscription, int]`, found `QuerySet[Self, Any]`
[error] invalid-return-type - :76:12 -
Old: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Subscription, Subscription]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :83:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`

zerver/lib/streams.py

[error] unresolved-attribute - :411:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :413:9 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] unresolved-attribute - :414:9 -
Old: Unresolved attribute `rendered_description` on type `Self@Model`.
New: Unresolved attribute `rendered_description` on type `Self`.
[error] unresolved-attribute - :431:12 -
Old: Type `Self@Model` has no attribute `is_public`
New: Type `Self` has no attribute `is_public`
[error] unresolved-attribute - :432:16 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :433:51 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :438:61 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] invalid-argument-type - :441:17 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :446:52 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] invalid-argument-type - :449:17 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :452:79 -
Old: Argument to function `get_user_ids_with_metadata_access_via_permission_groups` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `get_user_ids_with_metadata_access_via_permission_groups` is incorrect: Expected `Stream`, found `Self`
[error] invalid-return-type - :457:12 -
Old: Return type does not match returned value: expected `tuple[Stream, bool]`, found `tuple[Self@Model, bool]`
New: Return type does not match returned value: expected `tuple[Stream, bool]`, found `tuple[Self, bool]`
[error] unresolved-attribute - :806:50 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] invalid-argument-type - :811:86 -
Old: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :811:94 -
Old: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Subscription | None`, found `Self@Model | None`
New: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Subscription | None`, found `Self | None`
[error] invalid-return-type - :812:12 -
Old: Return type does not match returned value: expected `tuple[Stream, Subscription | None]`, found `tuple[Self@Model, Self@Model | None]`
New: Return type does not match returned value: expected `tuple[Stream, Subscription | None]`, found `tuple[Self, Self | None]`
[error] invalid-return-type - :917:16 -
Old: Return type does not match returned value: expected `Subscription | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `Subscription | None`, found `Self | None`
[error] invalid-return-type - :975:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :980:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :1065:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :1593:16 -
Old: Return type does not match returned value: expected `DefaultStreamGroup`, found `Self@Model`
New: Return type does not match returned value: expected `DefaultStreamGroup`, found `Self`
[error] invalid-argument-type - :1951:49 -
Old: Argument to function `notify_stream_is_recently_active_update` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `notify_stream_is_recently_active_update` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :1963:56 -
Old: Argument to function `update_stream_active_status_for_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `update_stream_active_status_for_realm` is incorrect: Expected `Realm`, found `Self`
[error] invalid-return-type - :1989:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`

zerver/lib/test_classes.py

[error] invalid-argument-type - :1168:13 -
Old: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :1192:13 -
Old: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :1216:13 -
Old: Argument to function `check_send_stream_message` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `check_send_stream_message` is incorrect: Expected `Client`, found `Self`
[error] unresolved-attribute - :1292:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1295:17 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :1299:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1460:26 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :1461:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1542:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1543:9 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] invalid-return-type - :1545:16 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :1715:16 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] invalid-return-type - :1878:16 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan, LicenseLedger]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[CustomerPlan, LicenseLedger]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :1963:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1970:34 -
Old: Type `Self@Model` has no attribute `emoji_code`
New: Type `Self` has no attribute `emoji_code`
[error] unresolved-attribute - :1972:56 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :1973:60 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :1977:34 -
Old: Type `Self@Model` has no attribute `emoji_code`
New: Type `Self` has no attribute `emoji_code`
[error] unresolved-attribute - :1979:56 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :1980:60 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] invalid-argument-type - :2051:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2067:9 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :2068:9 -
Old: Type `Self@Model` has no attribute `direct_subgroups`
New: Type `Self` has no attribute `direct_subgroups`
[error] invalid-return-type - :2069:16 -
Old: Return type does not match returned value: expected `UserGroup`, found `Self@Model`
New: Return type does not match returned value: expected `UserGroup`, found `Self`
[error] invalid-return-type - :2894:16 -
Old: Return type does not match returned value: expected `tuple[RemotePushDevice, RemotePushDevice]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[RemotePushDevice, RemotePushDevice]`, found `tuple[Self, Self]`
[error] invalid-return-type - :2911:16 -
Old: Return type does not match returned value: expected `tuple[PushDeviceToken, PushDeviceToken]`, found `tuple[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `tuple[PushDeviceToken, PushDeviceToken]`, found `tuple[Self, Self]`

zerver/lib/test_helpers.py

[error] invalid-argument-type - :253:9 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-return-type - :297:12 -
Old: Return type does not match returned value: expected `Client`, found `Self@Model`
New: Return type does not match returned value: expected `Client`, found `Self`
[error] invalid-return-type - :335:12 -
Old: Return type does not match returned value: expected `Subscription`, found `Self@Model`
New: Return type does not match returned value: expected `Subscription`, found `Self`

zerver/lib/thumbnail.py

[error] unresolved-attribute - :379:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :380:20 -
Old: Return type does not match returned value: expected `ImageAttachment | None`, found `Self@Model`
New: Return type does not match returned value: expected `ImageAttachment | None`, found `Self`

zerver/lib/topic.py

[error] invalid-return-type - :73:12 -
Old: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :182:67 -
Old: Argument to function `bulk_access_stream_messages_query` is incorrect: Expected `QuerySet[Message, Message]`, found `QuerySet[Self@Model, Self@Model] | Unknown`
New: Argument to function `bulk_access_stream_messages_query` is incorrect: Expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self] | Unknown`
[error] invalid-return-type - :240:12 -
Old: Return type does not match returned value: expected `tuple[QuerySet[Message, Message], () -> QuerySet[Message, Message]]`, found `tuple[QuerySet[Self@Model, Self@Model] | Unknown | QuerySet[Message, Message], def propagate() -> QuerySet[Message, Message]]`
New: Return type does not match returned value: expected `tuple[QuerySet[Message, Message], () -> QuerySet[Message, Message]]`, found `tuple[QuerySet[Self, Self] | Unknown | QuerySet[Message, Message], def propagate() -> QuerySet[Message, Message]]`

zerver/lib/transfer.py

[error] invalid-argument-type - :94:43 -
Old: Argument to function `_transfer_message_files_to_s3` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `_transfer_message_files_to_s3` is incorrect: Expected `Attachment`, found `Self`
[error] invalid-argument-type - :140:35 -
Old: Argument to function `_transfer_emoji_to_s3` is incorrect: Expected `RealmEmoji`, found `Self@Model`
New: Argument to function `_transfer_emoji_to_s3` is incorrect: Expected `RealmEmoji`, found `Self`

zerver/lib/upload/__init__.py

[error] unresolved-attribute - :119:51 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :238:9 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] invalid-return-type - :242:16 -
Old: Return type does not match returned value: expected `Attachment`, found `Self@Model`
New: Return type does not match returned value: expected `Attachment`, found `Self`
[error] unresolved-attribute - :245:5 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :246:5 -
Old: Unresolved attribute `is_web_public` on type `Self@Model`.
New: Unresolved attribute `is_web_public` on type `Self`.
[error] unresolved-attribute - :246:32 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :247:5 -
Old: Unresolved attribute `is_realm_public` on type `Self@Model`.
New: Unresolved attribute `is_realm_public` on type `Self`.
[error] unresolved-attribute - :247:34 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-return-type - :249:12 -
Old: Return type does not match returned value: expected `Attachment`, found `Self@Model`
New: Return type does not match returned value: expected `Attachment`, found `Self`

zerver/lib/user_groups.py

[error] unresolved-attribute - :128:38 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-return-type - :130:16 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self`
[error] invalid-return-type - :139:12 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self`
[warning] possibly-unbound-attribute - :439:5 -
Old: Attribute `direct_members` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model` is possibly unbound
New: Attribute `direct_members` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self` is possibly unbound
[warning] possibly-unbound-attribute - :461:5 -
Old: Attribute `direct_subgroups` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model` is possibly unbound
New: Attribute `direct_subgroups` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self` is possibly unbound
[error] invalid-return-type - :463:12 -
Old: Return type does not match returned value: expected `UserGroup`, found `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model`
New: Return type does not match returned value: expected `UserGroup`, found `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self`
[error] invalid-return-type - :761:12 -
Old: Return type does not match returned value: expected `QuerySet[UserGroupMembership, int]`, found `QuerySet[Self@Model, Any]`
New: Return type does not match returned value: expected `QuerySet[UserGroupMembership, int]`, found `QuerySet[Self, Any]`
[error] invalid-return-type - :1150:12 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self`

zerver/lib/user_topics.py

[error] unresolved-attribute - :125:29 -
Old: Type `Self@Model` has no attribute `visibility_policy`
New: Type `Self` has no attribute `visibility_policy`

zerver/lib/users.py

[error] unresolved-attribute - :539:51 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] invalid-argument-type - :547:58 -
Old: Argument to function `validate_user_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `validate_user_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`

zerver/lib/zulip_update_announcements.py

[error] invalid-return-type - :552:12 -
Old: Return type does not match returned value: expected `RealmAuditLog | None`, found `Self@Model | None`
New: Return type does not match returned value: expected `RealmAuditLog | None`, found `Self | None`
[error] unresolved-attribute - :580:21 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`

zerver/management/commands/create_default_stream_groups.py

[error] unresolved-attribute - :59:9 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :63:19 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :64:19 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :65:27 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`

zerver/management/commands/export.py

[error] invalid-argument-type - :202:13 -
Old: Argument to function `export_realm_wrapper` is incorrect: Expected `RealmExport`, found `Self@Model`
New: Argument to function `export_realm_wrapper` is incorrect: Expected `RealmExport`, found `Self`

zerver/management/commands/export_search.py

[error] unresolved-attribute - :221:16 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :222:63 -
Old: Type `Self@Model` has no attribute `type_id`
New: Type `Self` has no attribute `type_id`
[error] unresolved-attribute - :227:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/management/commands/list_realms.py

[error] unresolved-attribute - :38:37 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :38:56 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :39:20 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :42:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :42:78 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :42:90 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] unresolved-attribute - :47:47 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :47:76 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :47:88 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] unresolved-attribute - :62:56 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] unresolved-attribute - :65:20 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :73:24 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`

zerver/management/commands/restore_messages.py

[error] invalid-argument-type - :60:39 -
Old: Argument to function `restore_data_from_archive` is incorrect: Expected `ArchiveTransaction`, found `Self@Model`
New: Argument to function `restore_data_from_archive` is incorrect: Expected `ArchiveTransaction`, found `Self`

zerver/management/commands/send_custom_email.py

[error] invalid-argument-type - :126:17 -
Old: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :134:32 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :134:56 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`

zerver/management/commands/unarchive_channel.py

[error] unresolved-attribute - :47:16 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :49:35 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :49:56 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :49:86 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :51:20 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :53:35 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :53:56 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :95:25 -
Old: Type `Self@Model | Stream` has no attribute `id`
New: Type `Self | Stream` has no attribute `id`
[error] invalid-argument-type - :103:29 -
Old: Argument to function `do_unarchive_stream` is incorrect: Expected `Stream`, found `Self@Model | Stream`
New: Argument to function `do_unarchive_stream` is incorrect: Expected `Stream`, found `Self | Stream`

zerver/models/bots.py

[error] invalid-return-type - :58:12 -
Old: Return type does not match returned value: expected `list[Service]`, found `list[Self@Model]`
New: Return type does not match returned value: expected `list[Service]`, found `list[Self]`
[error] invalid-return-type - :62:12 -
Old: Return type does not match returned value: expected `Service`, found `Self@Model`
New: Return type does not match returned value: expected `Service`, found `Self`

zerver/models/clients.py

[error] invalid-return-type - :76:12 -
Old: Return type does not match returned value: expected `Client`, found `Self@Model`
New: Return type does not match returned value: expected `Client`, found `Self`

zerver/models/messages.py

[error] invalid-return-type - :695:16 -
Old: Return type does not match returned value: expected `UserMessage | None`, found `Self@Model`
New: Return type does not match returned value: expected `UserMessage | None`, found `Self`

zerver/models/realms.py

[error] unresolved-attribute - :940:51 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :942:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1129:40 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :1130:34 -
Old: Type `Self@Model` has no attribute `end_time`
New: Type `Self` has no attribute `end_time`
[error] invalid-return-type - :1252:12 -
Old: Return type does not match returned value: expected `Realm`, found `Self@Model`
New: Return type does not match returned value: expected `Realm`, found `Self`
[error] invalid-return-type - :1256:12 -
Old: Return type does not match returned value: expected `Realm`, found `Self@Model`
New: Return type does not match returned value: expected `Realm`, found `Self`

zerver/models/recipients.py

[error] unresolved-attribute - :73:20 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :175:25 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :177:13 -
Old: Unresolved attribute `recipient` on type `Self@Model`.
New: Unresolved attribute `recipient` on type `Self`.
[error] invalid-return-type - :190:16 -
Old: Return type does not match returned value: expected `DirectMessageGroup`, found `Self@Model`
New: Return type does not match returned value: expected `DirectMessageGroup`, found `Self`
[error] invalid-return-type - :203:16 -
Old: Return type does not match returned value: expected `DirectMessageGroup | None`, found `Self@Model`
New: Return type does not match returned value: expected `DirectMessageGroup | None`, found `Self`

zerver/models/streams.py

[error] invalid-return-type - :313:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :320:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :330:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :343:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :347:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :353:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self@Model`
New: Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :497:12 -
Old: Return type does not match returned value: expected `QuerySet[DefaultStreamGroup, DefaultStreamGroup]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[DefaultStreamGroup, DefaultStreamGroup]`, found `QuerySet[Self, Self]`

zerver/models/users.py

[error] unresolved-attribute - :733:13 -
Old: Type `Self@Model` has no attribute `field_id`
New: Type `Self` has no attribute `field_id`
[error] unresolved-attribute - :733:35 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :733:62 -
Old: Type `Self@Model` has no attribute `rendered_value`
New: Type `Self` has no attribute `rendered_value`

zerver/openapi/curl_param_value_generators.py

[error] invalid-argument-type - :134:35 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :219:33 -
Old: Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :232:59 -
Old: Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :243:32 -
Old: Argument to function `update_user_presence` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `update_user_presence` is incorrect: Expected `Client`, found `Self`
[error] unresolved-attribute - :288:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :307:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_audit_log.py

[error] unresolved-attribute - :172:16 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :173:38 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :174:69 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :176:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :213:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :309:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :311:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :424:27 -
Old: Type `Self@Model` has no attribute `modified_stream`
New: Type `Self` has no attribute `modified_stream`
[error] unresolved-attribute - :428:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :438:27 -
Old: Type `Self@Model` has no attribute `modified_stream`
New: Type `Self` has no attribute `modified_stream`
[error] unresolved-attribute - :442:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :453:22 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :464:22 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :532:22 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :541:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :578:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :579:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :586:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :714:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :739:51 -
Old: Argument to function `do_change_subscription_property` is incorrect: Expected `Subscription`, found `Self@Model`
New: Argument to function `do_change_subscription_property` is incorrect: Expected `Subscription`, found `Self`
[error] invalid-argument-type - :1038:13 -
Old: Argument to function `do_remove_realm_playground` is incorrect: Expected `RealmPlayground`, found `Self@Model`
New: Argument to function `do_remove_realm_playground` is incorrect: Expected `RealmPlayground`, found `Self`
[error] unresolved-attribute - :1306:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1307:26 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1316:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1317:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1334:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1335:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1346:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1364:26 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1365:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1367:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1390:26 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1391:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1393:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1429:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1444:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1452:21 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :1468:27 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1470:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1497:27 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1499:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1504:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1532:27 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1534:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1538:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1542:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1556:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1565:27 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1567:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1571:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1573:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1597:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1598:26 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1608:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1609:26 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1628:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1629:27 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1630:26 -
Old: Type `Self@Model` has no attribute `modified_channel_folder`
New: Type `Self` has no attribute `modified_channel_folder`
[error] unresolved-attribute - :1644:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1645:27 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1646:26 -
Old: Type `Self@Model` has no attribute `modified_channel_folder`
New: Type `Self` has no attribute `modified_channel_folder`
[error] unresolved-attribute - :1648:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1664:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1665:27 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1666:26 -
Old: Type `Self@Model` has no attribute `modified_channel_folder`
New: Type `Self` has no attribute `modified_channel_folder`
[error] unresolved-attribute - :1668:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1683:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1684:27 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1685:26 -
Old: Type `Self@Model` has no attribute `modified_channel_folder`
New: Type `Self` has no attribute `modified_channel_folder`
[error] unresolved-attribute - :1695:27 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1696:27 -
Old: Type `Self@Model` has no attribute `modified_user_group`
New: Type `Self` has no attribute `modified_user_group`
[error] unresolved-attribute - :1697:26 -
Old: Type `Self@Model` has no attribute `modified_channel_folder`
New: Type `Self` has no attribute `modified_channel_folder`
[error] unresolved-attribute - :1716:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1717:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1732:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1734:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1752:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1753:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1755:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1764:13 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1785:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1786:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`

zerver/tests/test_auth_backends.py

[error] unresolved-attribute - :1436:28 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :1635:9 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :1636:9 -
Old: Type `Self@Model` has no attribute `groups`
New: Type `Self` has no attribute `groups`
[error] unresolved-attribute - :1643:31 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :1669:26 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :1670:26 -
Old: Type `Self@Model` has no attribute `multiuse_invite`
New: Type `Self` has no attribute `multiuse_invite`
[error] unresolved-attribute - :1712:9 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :1719:31 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :3269:36 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :3310:29 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :3316:36 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :3368:29 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :3388:29 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :3662:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3698:9 -
Old: Type `Self@Model` has no attribute `groups`
New: Type `Self` has no attribute `groups`
[error] unresolved-attribute - :3702:31 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :3744:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :5244:28 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :5280:28 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :5324:9 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :5331:31 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :5339:28 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :6893:26 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :6894:26 -
Old: Type `Self@Model` has no attribute `external_auth_method_name`
New: Type `Self` has no attribute `external_auth_method_name`
[error] unresolved-attribute - :6896:13 -
Old: Type `Self@Model` has no attribute `external_auth_id`
New: Type `Self` has no attribute `external_auth_id`
[error] unresolved-attribute - :7001:26 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :7002:26 -
Old: Type `Self@Model` has no attribute `external_auth_method_name`
New: Type `Self` has no attribute `external_auth_method_name`
[error] unresolved-attribute - :7003:26 -
Old: Type `Self@Model` has no attribute `external_auth_id`
New: Type `Self` has no attribute `external_auth_id`
[error] unresolved-attribute - :7025:26 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :7026:26 -
Old: Type `Self@Model` has no attribute `external_auth_method_name`
New: Type `Self` has no attribute `external_auth_method_name`
[error] unresolved-attribute - :7028:13 -
Old: Type `Self@Model` has no attribute `external_auth_id`
New: Type `Self` has no attribute `external_auth_id`
[error] unresolved-attribute - :7764:27 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :7812:26 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :7824:24 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :7836:9 -
Old: Unresolved attribute `value` on type `Self@Model`.
New: Unresolved attribute `value` on type `Self`.
[error] unresolved-attribute - :7842:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :7863:26 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :7878:24 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] invalid-argument-type - :7942:51 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :7952:61 -
Old: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :7960:61 -
Old: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :7965:60 -
Old: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :7976:61 -
Old: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self`
[error] invalid-argument-type - :7987:61 -
Old: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `require_email_format_usernames` is incorrect: Expected `Realm | None`, found `Self`
[error] unresolved-attribute - :8010:32 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :8045:32 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`
[error] unresolved-attribute - :8050:22 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :8051:22 -
Old: Type `Self@Model` has no attribute `streams`
New: Type `Self` has no attribute `streams`
[error] unresolved-attribute - :8540:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :8549:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :8567:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :8578:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_bots.py

[error] invalid-argument-type - :330:13 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-argument-type - :859:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :866:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :878:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :890:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :942:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :984:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :996:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1008:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_channel_access.py

[error] invalid-argument-type - :165:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :195:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :385:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :415:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :593:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`

zerver/tests/test_channel_creation.py

[error] unresolved-attribute - :121:70 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :298:13 -
Old: Argument to function `ensure_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `ensure_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :300:9 -
Old: Unresolved attribute `new_stream_announcements_stream_id` on type `Self@Model`.
New: Unresolved attribute `new_stream_announcements_stream_id` on type `Self`.
[error] unresolved-attribute - :353:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :378:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :397:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :406:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :425:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :432:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :442:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :449:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :486:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :495:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :505:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :511:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :521:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :530:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :541:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :555:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :576:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :624:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :625:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :626:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :627:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :636:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :637:72 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :638:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :639:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_channel_fetch.py

[error] unresolved-attribute - :223:13 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :296:13 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :310:32 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :322:34 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :363:13 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :403:13 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :905:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :915:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :938:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :946:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :950:71 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :980:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :985:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :990:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :996:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1000:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1011:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1015:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1019:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1025:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1033:35 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1080:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1095:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1108:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_channel_folders.py

[error] unresolved-attribute - :27:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :28:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :30:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :46:35 -
Old: Argument to function `do_archive_channel_folder` is incorrect: Expected `ChannelFolder`, found `Self@Model`
New: Argument to function `do_archive_channel_folder` is incorrect: Expected `ChannelFolder`, found `Self`
[error] unresolved-attribute - :65:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :67:13 -
Old: Type `Self@Model` has no attribute `rendered_description`
New: Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :74:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :76:13 -
Old: Type `Self@Model` has no attribute `rendered_description`
New: Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :229:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :280:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :282:13 -
Old: Type `Self@Model` has no attribute `rendered_description`
New: Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :291:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :292:26 -
Old: Type `Self@Model` has no attribute `rendered_description`
New: Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :327:25 -
Old: Type `Self@Model` has no attribute `is_archived`
New: Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :333:26 -
Old: Type `Self@Model` has no attribute `is_archived`
New: Type `Self` has no attribute `is_archived`
[error] invalid-argument-type - :337:41 -
Old: Argument to function `do_change_stream_folder` is incorrect: Expected `ChannelFolder | None`, found `Self@Model`
New: Argument to function `do_change_stream_folder` is incorrect: Expected `ChannelFolder | None`, found `Self`
[error] unresolved-attribute - :354:25 -
Old: Type `Self@Model` has no attribute `is_archived`
New: Type `Self` has no attribute `is_archived`

zerver/tests/test_channel_permissions.py

[error] invalid-argument-type - :47:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :62:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :80:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :85:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :100:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :130:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :153:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :219:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :229:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :263:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :283:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :305:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :308:54 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :317:54 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :324:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :375:58 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :384:58 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :391:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :438:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :441:50 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :444:44 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :463:44 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :472:50 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :491:44 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :501:44 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :509:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :521:44 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :534:50 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1361:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1365:53 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1375:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1386:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1401:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1402:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1412:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1413:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1430:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1441:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1456:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1457:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1467:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1468:33 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_custom_profile_data.py

[error] unresolved-attribute - :81:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :81:36 -
Old: Type `Self@Model` has no attribute `order`
New: Type `Self` has no attribute `order`
[error] unresolved-attribute - :91:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :91:36 -
Old: Type `Self@Model` has no attribute `order`
New: Type `Self` has no attribute `order`
[error] unresolved-attribute - :208:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :209:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :211:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :223:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :229:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :231:25 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :232:25 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :239:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :291:26 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :292:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :293:39 -
Old: Type `Self@Model` has no attribute `field_data`
New: Type `Self` has no attribute `field_data`
[error] unresolved-attribute - :350:26 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :351:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :352:35 -
Old: Type `Self@Model` has no attribute `field_data`
New: Type `Self` has no attribute `field_data`
[error] unresolved-attribute - :394:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :395:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :397:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :415:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :420:21 -
Old: Type `Self@Model` has no attribute `FIELD_CONVERTERS`
New: Type `Self` has no attribute `FIELD_CONVERTERS`
[error] unresolved-attribute - :420:44 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :421:69 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :426:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :435:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :445:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :449:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :452:53 -
Old: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :454:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :470:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :475:26 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :476:25 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :497:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :508:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :524:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :546:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :552:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :559:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :568:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :577:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :586:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :598:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :599:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :600:26 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :601:26 -
Old: Type `Self@Model` has no attribute `display_in_profile_summary`
New: Type `Self` has no attribute `display_in_profile_summary`
[error] unresolved-attribute - :602:26 -
Old: Type `Self@Model` has no attribute `required`
New: Type `Self` has no attribute `required`
[error] unresolved-attribute - :603:26 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :607:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :614:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :615:26 -
Old: Type `Self@Model` has no attribute `required`
New: Type `Self` has no attribute `required`
[error] unresolved-attribute - :616:26 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :619:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :624:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :628:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :633:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :642:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :651:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :658:26 -
Old: Type `Self@Model` has no attribute `display_in_profile_summary`
New: Type `Self` has no attribute `display_in_profile_summary`
[error] unresolved-attribute - :662:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :668:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :669:26 -
Old: Type `Self@Model` has no attribute `display_in_profile_summary`
New: Type `Self` has no attribute `display_in_profile_summary`
[error] unresolved-attribute - :677:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :684:26 -
Old: Type `Self@Model` has no attribute `display_in_profile_summary`
New: Type `Self` has no attribute `display_in_profile_summary`
[error] unresolved-attribute - :688:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :702:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :714:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :727:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :737:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :744:26 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :773:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :835:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :839:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :840:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :842:20 -
Old: Type `Self@Model` has no attribute `is_renderable`
New: Type `Self` has no attribute `is_renderable`
[error] unresolved-attribute - :867:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :877:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :892:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :941:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :958:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :961:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :966:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :971:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :974:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :989:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1006:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1024:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_delete_unclaimed_attachments.py

[error] invalid-return-type - :37:20 -
Old: Return type does not match returned value: expected `Attachment`, found `Self@Model`
New: Return type does not match returned value: expected `Attachment`, found `Self`

zerver/tests/test_digest.py

[error] unresolved-attribute - :290:30 -
Old: Type `Self@Model` has no attribute `event_last_message_id`
New: Type `Self` has no attribute `event_last_message_id`

zerver/tests/test_docs.py

[error] unresolved-attribute - :673:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :683:9 -
Old: Unresolved attribute `sponsorship_pending` on type `Self@Model`.
New: Unresolved attribute `sponsorship_pending` on type `Self`.

zerver/tests/test_drafts.py

[error] unresolved-attribute - :178:21 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :350:26 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :407:31 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :497:31 -
Old: Type `Self@Model` has no attribute `to_dict`
New: Type `Self` has no attribute `to_dict`

zerver/tests/test_e2ee_push_notifications.py

[error] unresolved-attribute - :696:9 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :714:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :735:9 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :757:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_email_change.py

[error] unresolved-attribute - :125:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :149:26 -
Old: Type `Self@Model` has no attribute `new_email`
New: Type `Self` has no attribute `new_email`
[error] unresolved-attribute - :152:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :172:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :399:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`

zerver/tests/test_email_mirror.py

[error] unresolved-attribute - :456:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :467:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :676:48 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :748:48 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :890:31 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :892:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :893:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :927:31 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :929:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :930:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :933:71 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1153:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :1154:26 -
Old: Type `Self@Model` has no attribute `owner`
New: Type `Self` has no attribute `owner`
[error] unresolved-attribute - :1155:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :1156:31 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] invalid-argument-type - :1406:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`

zerver/tests/test_email_notifications.py

[error] invalid-argument-type - :68:13 -
Old: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self, Self]`

zerver/tests/test_event_queue.py

[error] invalid-argument-type - :186:36 -
Old: Argument to function `do_change_subscription_property` is incorrect: Expected `Subscription`, found `Self@Model`
New: Argument to function `do_change_subscription_property` is incorrect: Expected `Subscription`, found `Self`

zerver/tests/test_event_system.py

[error] invalid-argument-type - :619:47 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :637:74 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_events.py

[error] unresolved-attribute - :612:20 -
Old: Type `Self@Model` has no attribute `visibility_policy`
New: Type `Self` has no attribute `visibility_policy`
[error] invalid-argument-type - :663:52 -
Old: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :673:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :683:17 -
Old: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :807:41 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :809:40 -
Old: Argument to function `do_remove_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_remove_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :973:52 -
Old: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :983:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :993:17 -
Old: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1016:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1027:17 -
Old: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1047:52 -
Old: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `render_message_markdown` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1049:56 -
Old: Argument to function `do_update_embedded_data` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_embedded_data` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1077:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1093:17 -
Old: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1123:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1142:17 -
Old: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1172:31 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :1291:48 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1323:44 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1325:51 -
Old: Argument to function `do_remove_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_remove_reaction` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :1376:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1440:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1542:35 -
Old: Argument to function `do_revoke_user_invite` is incorrect: Expected `PreregistrationUser`, found `Self@Model`
New: Argument to function `do_revoke_user_invite` is incorrect: Expected `PreregistrationUser`, found `Self`
[error] invalid-argument-type - :1563:40 -
Old: Argument to function `do_revoke_multi_use_invite` is incorrect: Expected `MultiuseInvite`, found `Self@Model`
New: Argument to function `do_revoke_multi_use_invite` is incorrect: Expected `MultiuseInvite`, found `Self`
[error] invalid-argument-type - :1592:17 -
Old: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] unresolved-attribute - :1725:16 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :1729:58 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :1732:82 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1738:64 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :1741:82 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1930:13 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] unresolved-attribute - :2170:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2178:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2203:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2209:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2215:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2220:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :2226:39 -
Old: Argument to function `do_update_user_group_name` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_update_user_group_name` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2232:46 -
Old: Argument to function `do_update_user_group_description` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_update_user_group_description` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2238:17 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2240:17 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2241:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2245:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :2252:17 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :2255:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2262:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :2285:41 -
Old: Argument to function `add_subgroups_to_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `add_subgroups_to_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2290:46 -
Old: Argument to function `remove_subgroups_from_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `remove_subgroups_from_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2295:38 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2299:38 -
Old: Argument to function `do_reactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_reactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2375:35 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :3002:31 -
Old: Argument to function `do_add_default_stream` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_add_default_stream` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :3272:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3313:26 -
Old: Type `Self@Model` has no attribute `pattern`
New: Type `Self` has no attribute `pattern`
[error] invalid-argument-type - :3364:36 -
Old: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
New: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`
[error] invalid-argument-type - :3371:36 -
Old: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
New: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`
[error] unresolved-attribute - :3389:19 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3589:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :3634:71 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3638:80 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3662:71 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3666:80 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3692:71 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3760:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :3792:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3798:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4138:26 -
Old: Type `Self@Model` has no attribute `is_claimed`
New: Type `Self` has no attribute `is_claimed`
[error] unresolved-attribute - :4202:25 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4216:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :4217:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :4218:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :4232:32 -
Old: Type `Self@Model` has no attribute `user`
New: Type `Self` has no attribute `user`
[error] unresolved-attribute - :4233:32 -
Old: Type `Self@Model` has no attribute `push_account_id`
New: Type `Self` has no attribute `push_account_id`
[error] unresolved-attribute - :4438:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4443:16 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4448:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4454:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4460:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4467:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :4475:21 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :4691:13 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-argument-type - :4707:21 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-argument-type - :5329:17 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :5333:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :5348:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :5363:74 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_example.py

[error] unresolved-attribute - :249:26 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :250:26 -
Old: Type `Self@Model` has no attribute `status_text`
New: Type `Self` has no attribute `status_text`
[error] invalid-argument-type - :458:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_handle_push_notification.py

[error] unresolved-attribute - :105:22 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :105:36 -
Old: Type `Self@Model` has no attribute `ios_app_id`
New: Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :271:27 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :273:32 -
Old: Type `Self@Model` has no attribute `ios_app_id`
New: Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :281:27 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :283:32 -
Old: Type `Self@Model` has no attribute `ios_app_id`
New: Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :388:9 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :672:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :747:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_home.py

[error] unresolved-attribute - :1034:9 -
Old: Unresolved attribute `sponsorship_pending` on type `Self@Model`.
New: Unresolved attribute `sponsorship_pending` on type `Self`.

zerver/tests/test_import_export.py

[error] unresolved-attribute - :230:45 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :231:43 -
Old: Type `Self@Model` has no attribute `owner_id`
New: Type `Self` has no attribute `owner_id`
[error] unresolved-attribute - :232:43 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :238:19 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :269:21 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] invalid-argument-type - :480:13 -
Old: Argument to function `claim_attachment` is incorrect: Expected `Message | ScheduledMessage`, found `Self@Model`
New: Argument to function `claim_attachment` is incorrect: Expected `Message | ScheduledMessage`, found `Self`
[error] unresolved-attribute - :523:9 -
Old: Unresolved attribute `default_language` on type `Self@Model`.
New: Unresolved attribute `default_language` on type `Self`.
[error] unresolved-attribute - :526:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :595:72 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :599:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :600:50 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :601:55 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :603:68 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :604:55 -
Old: Type `Self@Model` has no attribute `message`
New: Type `Self` has no attribute `message`
[error] unresolved-attribute - :783:9 -
Old: Unresolved attribute `sending_client` on type `Self@Model`.
New: Unresolved attribute `sending_client` on type `Self`.
[error] unresolved-attribute - :784:9 -
Old: Unresolved attribute `sending_client` on type `Self@Model`.
New: Unresolved attribute `sending_client` on type `Self`.
[error] unresolved-attribute - :792:9 -
Old: Unresolved attribute `sending_client` on type `Self@Model`.
New: Unresolved attribute `sending_client` on type `Self`.
[error] unresolved-attribute - :800:9 -
Old: Unresolved attribute `sending_client` on type `Self@Model`.
New: Unresolved attribute `sending_client` on type `Self`.
[error] unresolved-attribute - :804:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :805:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :806:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :807:13 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :820:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :820:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :833:14 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :833:44 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :833:68 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :865:9 -
Old: Unresolved attribute `sending_client` on type `Self@Model`.
New: Unresolved attribute `sending_client` on type `Self`.
[error] unresolved-attribute - :882:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :889:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :895:33 -
Old: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :900:33 -
Old: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :912:33 -
Old: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :920:13 -
Old: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :1016:49 -
Old: Argument to function `get_consented_user_ids` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_consented_user_ids` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1108:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1109:50 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :1110:55 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :1112:68 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :1113:55 -
Old: Type `Self@Model` has no attribute `message`
New: Type `Self` has no attribute `message`
[error] unresolved-attribute - :1131:22 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1144:22 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1152:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1165:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1165:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1172:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1206:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1209:14 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1209:41 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1219:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1231:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1268:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1279:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1323:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1324:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1325:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1326:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1327:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1335:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1356:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1363:70 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1386:62 -
Old: Type `Self@Model` has no attribute `web_font_size_px`
New: Type `Self` has no attribute `web_font_size_px`
[error] unresolved-attribute - :1399:13 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`
[error] invalid-argument-type - :1413:48 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :1438:43 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1452:9 -
Old: Unresolved attribute `original_width_px` on type `Self@Model`.
New: Unresolved attribute `original_width_px` on type `Self`.
[error] unresolved-attribute - :1453:9 -
Old: Unresolved attribute `original_height_px` on type `Self@Model`.
New: Unresolved attribute `original_height_px` on type `Self`.
[error] unresolved-attribute - :1468:34 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] invalid-argument-type - :1473:13 -
Old: Argument to function `do_set_realm_authentication_methods` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_authentication_methods` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1524:26 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `emoji_code`
New: Type `Self & ~AlwaysFalsy` has no attribute `emoji_code`
[error] invalid-argument-type - :1534:39 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1565:25 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1569:13 -
Old: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Self@Model`
New: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Self`
[error] unresolved-attribute - :1600:26 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `emoji_code`
New: Type `Self & ~AlwaysFalsy` has no attribute `emoji_code`
[error] invalid-argument-type - :1606:13 -
Old: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1618:9 -
Old: Unresolved attribute `default_language` on type `Self@Model`.
New: Unresolved attribute `default_language` on type `Self`.
[error] unresolved-attribute - :1619:9 -
Old: Unresolved attribute `twenty_four_hour_time` on type `Self@Model`.
New: Unresolved attribute `twenty_four_hour_time` on type `Self`.
[error] unresolved-attribute - :1705:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1705:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1708:35 -
Old: Argument is incorrect: Expected `Realm`, found `Self@Model`
New: Argument is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :1709:39 -
Old: Argument is incorrect: Expected `Realm`, found `Self@Model`
New: Argument is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :1728:45 -
Old: Argument to function `get_direct_message_group_hashes` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_direct_message_group_hashes` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :1729:45 -
Old: Argument to function `get_direct_message_group_hashes` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_direct_message_group_hashes` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1743:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1754:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1763:26 -
Old: Type `Self@Model` has no attribute `creator`
New: Type `Self` has no attribute `creator`
[error] unresolved-attribute - :1769:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1773:17 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :1774:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1774:70 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1779:16 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1781:24 -
Old: Type `Self@Model` has no attribute `folder`
New: Type `Self` has no attribute `folder`
[error] unresolved-attribute - :1782:34 -
Old: Type `Self@Model` has no attribute `folder`
New: Type `Self` has no attribute `folder`
[error] unresolved-attribute - :1784:35 -
Old: Type `Self@Model` has no attribute `folder_id`
New: Type `Self` has no attribute `folder_id`
[error] unresolved-attribute - :1790:17 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :1791:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1791:84 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1797:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1797:62 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1799:13 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`
[error] unresolved-attribute - :1800:13 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`
[error] unresolved-attribute - :1818:33 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :1821:13 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] unresolved-attribute - :1822:13 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] invalid-argument-type - :1825:77 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1829:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :1832:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1837:13 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :1837:47 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :1845:26 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] invalid-argument-type - :1854:43 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1864:19 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1872:26 -
Old: Type `Self@Model` has no attribute `original_width_px`
New: Type `Self` has no attribute `original_width_px`
[error] unresolved-attribute - :1873:26 -
Old: Type `Self@Model` has no attribute `original_height_px`
New: Type `Self` has no attribute `original_height_px`
[error] unresolved-attribute - :1877:33 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :1878:25 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :1883:13 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1894:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] invalid-argument-type - :1897:77 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1933:29 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1982:25 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :2000:22 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2015:43 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :2035:52 -
Old: Argument to function `get_email_from_value` is incorrect: Expected `CustomProfileFieldValue`, found `Self@Model`
New: Argument to function `get_email_from_value` is incorrect: Expected `CustomProfileFieldValue`, found `Self`
[error] unresolved-attribute - :2041:33 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2042:33 -
Old: Type `Self@Model` has no attribute `hint`
New: Type `Self` has no attribute `hint`
[error] unresolved-attribute - :2062:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2069:30 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :2070:20 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :2074:21 -
Old: Type `Self@Model` has no attribute `word`
New: Type `Self` has no attribute `word`
[error] unresolved-attribute - :2078:22 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2086:18 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2086:46 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :2086:62 -
Old: Type `Self@Model` has no attribute `status_text`
New: Type `Self` has no attribute `status_text`
[error] unresolved-attribute - :2096:18 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :2096:34 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2130:28 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2138:21 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2139:21 -
Old: Type `Self@Model` has no attribute `muted_user`
New: Type `Self` has no attribute `muted_user`
[error] unresolved-attribute - :2140:25 -
Old: Type `Self@Model` has no attribute `date_muted`
New: Type `Self` has no attribute `date_muted`
[error] unresolved-attribute - :2157:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2163:22 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2171:17 -
Old: Type `Self@Model` has no attribute `subgroup`
New: Type `Self` has no attribute `subgroup`
[error] unresolved-attribute - :2181:30 -
Old: Type `Self@Model` has no attribute `direct_members`
New: Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :2191:32 -
Old: Type `Self@Model` has no attribute `direct_subgroups`
New: Type `Self` has no attribute `direct_subgroups`
[error] unresolved-attribute - :2198:20 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :2205:28 -
Old: Type `Self@Model` has no attribute `key`
New: Type `Self` has no attribute `key`
[error] unresolved-attribute - :2205:58 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :2211:28 -
Old: Type `Self@Model` has no attribute `key`
New: Type `Self` has no attribute `key`
[error] unresolved-attribute - :2211:57 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] invalid-return-type - :2217:20 -
Old: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :2231:17 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2231:68 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :2257:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2277:37 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :2278:42 -
Old: Type `Self@Model` has no attribute `twenty_four_hour_time`
New: Type `Self` has no attribute `twenty_four_hour_time`
[error] unresolved-attribute - :2284:18 -
Old: Type `Self@Model` has no attribute `message`
New: Type `Self` has no attribute `message`
[error] unresolved-attribute - :2284:39 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2354:26 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :2355:26 -
Old: Type `Self@Model` has no attribute `twenty_four_hour_time`
New: Type `Self` has no attribute `twenty_four_hour_time`
[error] unresolved-attribute - :2426:39 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`
[error] unresolved-attribute - :2432:71 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2441:22 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2442:29 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] invalid-argument-type - :2456:72 -
Old: Argument to bound method `realm_avatar_and_logo_path` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to bound method `realm_avatar_and_logo_path` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :2462:26 -
Old: Type `Self@Model` has no attribute `icon_source`
New: Type `Self` has no attribute `icon_source`
[error] unresolved-attribute - :2467:26 -
Old: Type `Self@Model` has no attribute `logo_source`
New: Type `Self` has no attribute `logo_source`
[error] unresolved-attribute - :2472:26 -
Old: Type `Self@Model` has no attribute `night_logo_source`
New: Type `Self` has no attribute `night_logo_source`
[error] unresolved-attribute - :2495:39 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`
[error] unresolved-attribute - :2497:52 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2503:22 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2504:29 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] invalid-argument-type - :2523:72 -
Old: Argument to bound method `realm_avatar_and_logo_path` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to bound method `realm_avatar_and_logo_path` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :2531:26 -
Old: Type `Self@Model` has no attribute `icon_source`
New: Type `Self` has no attribute `icon_source`
[error] unresolved-attribute - :2539:26 -
Old: Type `Self@Model` has no attribute `logo_source`
New: Type `Self` has no attribute `logo_source`
[error] unresolved-attribute - :2547:26 -
Old: Type `Self@Model` has no attribute `night_logo_source`
New: Type `Self` has no attribute `night_logo_source`
[error] unresolved-attribute - :2591:17 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] unresolved-attribute - :2602:17 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] unresolved-attribute - :2767:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2794:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2826:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3093:24 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `id`
New: Type `Self & ~AlwaysFalsy` has no attribute `id`
[error] unresolved-attribute - :3097:32 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `emoji_code`
New: Type `Self & ~AlwaysFalsy` has no attribute `emoji_code`
[error] unresolved-attribute - :3119:30 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :3120:25 -
Old: Type `Self@Model` has no attribute `type_id`
New: Type `Self` has no attribute `type_id`
[error] unresolved-attribute - :3131:30 -
Old: Type `Self@Model` has no attribute `type`
New: Type `Self` has no attribute `type`
[error] unresolved-attribute - :3132:25 -
Old: Type `Self@Model` has no attribute `type_id`
New: Type `Self` has no attribute `type_id`

zerver/tests/test_integrations_dev_panel.py

[error] unresolved-attribute - :81:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :82:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :82:48 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :83:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :104:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :105:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :105:48 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :106:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :131:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :132:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :132:48 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :133:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :217:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`

zerver/tests/test_invite.py

[error] invalid-argument-type - :151:17 -
Old: Argument to function `set_up_streams_and_groups_for_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `set_up_streams_and_groups_for_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] invalid-argument-type - :183:17 -
Old: Argument to function `set_up_streams_and_groups_for_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `set_up_streams_and_groups_for_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] unresolved-attribute - :657:16 -
Old: Type `Self@Model` has no attribute `referred_by`
New: Type `Self` has no attribute `referred_by`
[error] unresolved-attribute - :659:13 -
Old: Type `Self@Model` has no attribute `referred_by`
New: Type `Self` has no attribute `referred_by`
[error] invalid-argument-type - :684:13 -
Old: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] invalid-argument-type - :805:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :810:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :812:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :816:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :818:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :824:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :835:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :840:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :844:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :854:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :857:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :866:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :871:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :875:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :885:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :887:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :893:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :897:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1021:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1024:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1029:50 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1032:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1111:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1126:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1149:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1172:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1193:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1304:13 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :1398:13 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :1401:13 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1675:23 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] invalid-argument-type - :1709:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1727:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1740:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1782:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1817:40 -
Old: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self@Model`
New: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self`
[error] unresolved-attribute - :1923:26 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] invalid-argument-type - :1984:13 -
Old: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] unresolved-attribute - :1997:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1997:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1998:26 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :2000:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2004:13 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-argument-type - :2008:50 -
Old: Argument to function `process_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `process_new_human_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] unresolved-attribute - :2099:30 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :2374:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2376:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2402:68 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2411:73 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2414:73 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2436:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2440:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2442:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2466:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2469:13 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2469:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2473:75 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2486:75 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2490:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2493:13 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2493:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2506:75 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2510:69 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2513:13 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2513:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2529:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2561:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2608:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2634:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2656:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2661:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2689:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2700:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2702:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2724:16 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :2725:23 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :2731:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2827:26 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :2828:26 -
Old: Type `Self@Model` has no attribute `multiuse_invite`
New: Type `Self` has no attribute `multiuse_invite`
[error] invalid-argument-type - :2858:36 -
Old: Argument to function `do_revoke_multi_use_invite` is incorrect: Expected `MultiuseInvite`, found `Self@Model`
New: Argument to function `do_revoke_multi_use_invite` is incorrect: Expected `MultiuseInvite`, found `Self`
[error] unresolved-attribute - :2982:27 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] invalid-argument-type - :3127:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3133:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3176:49 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3196:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3235:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3239:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :3241:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3245:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :3247:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3252:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3263:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3268:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3271:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3279:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3280:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3287:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3291:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3295:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3302:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :3304:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3309:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3311:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3333:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3343:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3359:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3370:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3376:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3426:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3457:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_link_embed.py

[error] unresolved-attribute - :374:16 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :375:38 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] invalid-return-type - :400:24 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :404:16 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :405:76 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] invalid-return-type - :419:16 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :450:20 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :454:76 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :464:24 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :467:21 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :499:28 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :595:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :631:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :647:71 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :684:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :720:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :761:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :798:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :827:16 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :828:42 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :830:42 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :846:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :875:71 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :893:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :912:73 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :930:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :957:16 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :958:66 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :974:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :998:44 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1014:33 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :1038:44 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`

zerver/tests/test_management_commands.py

[error] unresolved-attribute - :366:16 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :368:9 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`

zerver/tests/test_markdown.py

[error] unresolved-attribute - :309:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :313:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :385:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :393:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :398:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1329:16 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] unresolved-attribute - :1332:58 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] unresolved-attribute - :3043:44 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :3045:47 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :3098:76 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_markdown_thumbnail.py

[error] unresolved-attribute - :193:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :197:31 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :200:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :232:27 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :252:27 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :288:27 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :298:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :309:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :318:31 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :365:31 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :392:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :399:13 -
Old: Argument to function `check_message` is incorrect: Expected `Client`, found `Self@Model`
New: Argument to function `check_message` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :415:27 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :517:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] unresolved-attribute - :575:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] unresolved-attribute - :625:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] unresolved-attribute - :651:17 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :666:13 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`

zerver/tests/test_mattermost_importer.py

[error] unresolved-attribute - :790:26 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :798:34 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :896:34 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :1005:34 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`

zerver/tests/test_message_delete.py

[error] invalid-argument-type - :241:13 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :241:42 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :258:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :258:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :261:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :271:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :271:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :274:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :279:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :302:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :302:59 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :318:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :318:62 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :321:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :326:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :412:13 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :412:38 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :434:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :434:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :443:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :443:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :446:9 -
Old: Unresolved attribute `date_sent` on type `Self@Model`.
New: Unresolved attribute `date_sent` on type `Self`.
[error] invalid-argument-type - :460:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :460:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :465:37 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :465:66 -
Old: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :467:9 -
Old: Unresolved attribute `date_sent` on type `Self@Model`.
New: Unresolved attribute `date_sent` on type `Self`.
[error] unresolved-attribute - :473:9 -
Old: Unresolved attribute `date_sent` on type `Self@Model`.
New: Unresolved attribute `date_sent` on type `Self`.
[error] invalid-argument-type - :534:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :540:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :555:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :561:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :619:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :625:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :642:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :655:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :661:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :676:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :734:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :740:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :755:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :772:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :781:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :791:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :797:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :810:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :816:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :827:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`

zerver/tests/test_message_dict.py

[error] invalid-return-type - :71:20 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :216:26 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :217:26 -
Old: Type `Self@Model` has no attribute `rendered_content_version`
New: Type `Self` has no attribute `rendered_content_version`
[error] invalid-return-type - :272:20 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :309:66 -
Old: Type `Self@Model` has no attribute `emoji_name`
New: Type `Self` has no attribute `emoji_name`
[error] invalid-argument-type - :737:48 -
Old: Argument to function `sew_messages_and_reactions` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self@Model, dict[str, Any]]`
New: Argument to function `sew_messages_and_reactions` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self, dict[str, Any]]`

zerver/tests/test_message_edit.py

[error] unresolved-attribute - :48:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :49:26 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :61:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :69:23 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :78:13 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :82:13 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :86:13 -
Old: Type `Self@Model` has no attribute `sender_id`
New: Type `Self` has no attribute `sender_id`
[error] unresolved-attribute - :89:12 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :90:49 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :110:37 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :112:40 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :201:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :488:19 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :510:19 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :541:19 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :717:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] unresolved-attribute - :730:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] invalid-argument-type - :810:61 -
Old: Argument to function `get_mentions_for_message_updates` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `get_mentions_for_message_updates` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :920:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :941:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :958:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :973:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :998:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1011:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1031:51 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1283:34 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1291:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1292:27 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1303:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1304:30 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1312:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1321:47 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1325:47 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1330:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1336:48 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1339:48 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1341:48 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1343:56 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1402:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1409:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1410:27 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1417:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1418:30 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1425:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1453:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1457:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1464:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1489:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1500:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1506:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1516:56 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1521:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1523:55 -
Old: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1534:9 -
Old: Type `Self@Model` has no attribute `set_topic_name`
New: Type `Self` has no attribute `set_topic_name`
[error] invalid-argument-type - :1839:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2027:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2080:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2094:16 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2330:50 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2342:50 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2674:13 -
Old: Unresolved attribute `is_muted` on type `Self@Model`.
New: Unresolved attribute `is_muted` on type `Self`.

zerver/tests/test_message_edit_notifications.py

[error] unresolved-attribute - :239:9 -
Old: Unresolved attribute `push_notifications` on type `Self@Model`.
New: Unresolved attribute `push_notifications` on type `Self`.

zerver/tests/test_message_fetch.py

[error] unresolved-attribute - :105:5 -
Old: Unresolved attribute `is_muted` on type `Self@Model`.
New: Unresolved attribute `is_muted` on type `Self`.
[error] unresolved-attribute - :5292:30 -
Old: Type `Self@Model` has no attribute `is_claimed`
New: Type `Self` has no attribute `is_claimed`
[error] unresolved-attribute - :5370:26 -
Old: Type `Self@Model` has no attribute `has_link`
New: Type `Self` has no attribute `has_link`
[error] unresolved-attribute - :5372:25 -
Old: Type `Self@Model` has no attribute `has_link`
New: Type `Self` has no attribute `has_link`
[error] unresolved-attribute - :5374:26 -
Old: Type `Self@Model` has no attribute `has_link`
New: Type `Self` has no attribute `has_link`
[error] unresolved-attribute - :5377:25 -
Old: Type `Self@Model` has no attribute `has_link`
New: Type `Self` has no attribute `has_link`
[error] unresolved-attribute - :5379:26 -
Old: Type `Self@Model` has no attribute `has_link`
New: Type `Self` has no attribute `has_link`
[error] unresolved-attribute - :5410:25 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5412:26 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5414:25 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5416:26 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5419:25 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5423:25 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5424:25 -
Old: Type `Self@Model` has no attribute `attachment_set`
New: Type `Self` has no attribute `attachment_set`
[error] unresolved-attribute - :5425:26 -
Old: Type `Self@Model` has no attribute `attachment_set`
New: Type `Self` has no attribute `attachment_set`
[error] unresolved-attribute - :5428:25 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5429:25 -
Old: Type `Self@Model` has no attribute `attachment_set`
New: Type `Self` has no attribute `attachment_set`
[error] unresolved-attribute - :5430:26 -
Old: Type `Self@Model` has no attribute `attachment_set`
New: Type `Self` has no attribute `attachment_set`
[error] unresolved-attribute - :5433:26 -
Old: Type `Self@Model` has no attribute `has_attachment`
New: Type `Self` has no attribute `has_attachment`
[error] unresolved-attribute - :5434:26 -
Old: Type `Self@Model` has no attribute `attachment_set`
New: Type `Self` has no attribute `attachment_set`

zerver/tests/test_message_flags.py

[error] unresolved-attribute - :106:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :119:26 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :197:30 -
Old: Type `Self@Model` has no attribute `message`
New: Type `Self` has no attribute `message`
[error] unresolved-attribute - :198:16 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :199:34 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :201:33 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :281:21 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :334:21 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :455:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :636:16 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :637:33 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :639:34 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :644:16 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :645:34 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :705:16 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :706:33 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :710:16 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :711:34 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :736:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :740:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :744:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :753:13 -
Old: Unresolved attribute `is_muted` on type `Self@Model`.
New: Unresolved attribute `is_muted` on type `Self`.
[error] unresolved-attribute - :990:9 -
Old: Unresolved attribute `is_muted` on type `Self@Model`.
New: Unresolved attribute `is_muted` on type `Self`.
[error] unresolved-attribute - :1198:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] invalid-return-type - :1200:20 -
Old: Return type does not match returned value: expected `Message`, found `Self@Model`
New: Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :1289:26 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1414:9 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1419:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1425:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1430:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1435:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1446:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1451:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1458:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1463:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1468:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1480:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1485:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1490:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1501:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1506:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1512:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1517:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1522:9 -
Old: Unresolved attribute `flags` on type `Self@Model`.
New: Unresolved attribute `flags` on type `Self`.
[error] unresolved-attribute - :1632:26 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] invalid-argument-type - :1980:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :2102:9 -
Old: Unresolved attribute `is_muted` on type `Self@Model`.
New: Unresolved attribute `is_muted` on type `Self`.
[error] unresolved-attribute - :2223:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2258:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2264:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2293:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2328:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2334:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2363:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2399:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2405:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2483:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2510:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2539:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2579:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2586:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2610:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2621:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2654:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2660:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2677:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2688:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2722:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2728:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2745:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2756:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2783:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2789:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2808:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2819:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2846:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2852:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_message_move_stream.py

[error] invalid-argument-type - :177:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :182:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :186:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :190:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :549:26 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :550:26 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :554:13 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :557:13 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] invalid-argument-type - :899:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :911:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :921:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :931:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :944:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1016:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1053:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1090:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1131:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1141:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1153:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1165:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1187:51 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1212:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1218:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1235:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1258:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1281:55 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1298:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1304:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1367:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1380:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1515:21 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1793:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1942:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1962:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1990:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2028:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2048:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2069:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2099:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2113:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2148:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2169:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2198:17 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self`

zerver/tests/test_message_move_topic.py

[error] unresolved-attribute - :48:26 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :315:16 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :318:30 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`
[error] invalid-argument-type - :330:23 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :338:23 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :347:51 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :356:49 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :1152:17 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1225:21 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1231:53 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1236:34 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1286:61 -
Old: Type `Self@Model` has no attribute `edit_history`
New: Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1386:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :1390:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :1394:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :1398:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1818:32 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :1843:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1868:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1896:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1973:56 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1998:58 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2023:47 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2045:49 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2086:58 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2178:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2205:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :2232:17 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] invalid-argument-type - :2260:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :2318:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2337:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2425:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2463:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :2503:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2512:49 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2527:49 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2611:53 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2635:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2676:9 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :2720:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2726:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2743:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2773:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2809:55 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :2826:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_message_notification_emails.py

[error] unresolved-attribute - :85:9 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_message_send.py

[error] invalid-argument-type - :316:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :339:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :363:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :393:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :433:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1757:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1810:16 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1821:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1829:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] invalid-argument-type - :1984:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1992:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2003:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2013:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2024:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2118:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2126:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2137:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2147:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2158:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2221:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2231:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2240:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2261:16 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2417:13 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :2423:59 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-argument-type - :2674:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2741:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2769:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2833:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2842:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3103:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_message_summary.py

[error] invalid-argument-type - :147:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :180:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :190:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_muted_users.py

[error] unresolved-attribute - :215:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_new_users.py

[error] unresolved-attribute - :289:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`

zerver/tests/test_onboarding_steps.py

[error] unresolved-attribute - :30:26 -
Old: Type `Self@Model` has no attribute `onboarding_step`
New: Type `Self` has no attribute `onboarding_step`
[error] unresolved-attribute - :123:26 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`
[error] unresolved-attribute - :125:13 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :127:49 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`

zerver/tests/test_outgoing_webhook_interfaces.py

[error] unresolved-attribute - :88:19 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :91:29 -
Old: Type `Self@Model` has no attribute `recipient_id`
New: Type `Self` has no attribute `recipient_id`
[error] unresolved-attribute - :100:48 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :105:51 -
Old: Argument to function `wide_dict` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `wide_dict` is incorrect: Expected `Message`, found `Self`

zerver/tests/test_populate_db.py

[error] unresolved-attribute - :48:14 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :59:17 -
Old: Type `Self@Model` has no attribute `subscriber_count`
New: Type `Self` has no attribute `subscriber_count`
[error] unresolved-attribute - :60:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :62:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :62:105 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_presence.py

[error] unresolved-attribute - :50:33 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :68:13 -
Old: Unresolved attribute `last_active_time` on type `Self@Model`.
New: Unresolved attribute `last_active_time` on type `Self`.
[error] unresolved-attribute - :69:13 -
Old: Unresolved attribute `last_connected_time` on type `Self@Model`.
New: Unresolved attribute `last_connected_time` on type `Self`.
[error] unresolved-attribute - :157:33 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :271:16 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :272:9 -
Old: Unresolved attribute `last_connected_time` on type `Self@Model`.
New: Unresolved attribute `last_connected_time` on type `Self`.
[error] unresolved-attribute - :272:48 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :314:26 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :352:13 -
Old: Type `Self@Model` has no attribute `last_update_id`
New: Type `Self` has no attribute `last_update_id`
[error] unresolved-attribute - :506:26 -
Old: Type `Self@Model` has no attribute `start`
New: Type `Self` has no attribute `start`
[error] unresolved-attribute - :507:26 -
Old: Type `Self@Model` has no attribute `end`
New: Type `Self` has no attribute `end`
[error] unresolved-attribute - :518:26 -
Old: Type `Self@Model` has no attribute `start`
New: Type `Self` has no attribute `start`
[error] unresolved-attribute - :519:26 -
Old: Type `Self@Model` has no attribute `end`
New: Type `Self` has no attribute `end`
[error] unresolved-attribute - :1033:26 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :1034:26 -
Old: Type `Self@Model` has no attribute `last_active_time`
New: Type `Self` has no attribute `last_active_time`
[error] unresolved-attribute - :1042:13 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :1051:13 -
Old: Type `Self@Model` has no attribute `last_active_time`
New: Type `Self` has no attribute `last_active_time`
[error] unresolved-attribute - :1063:9 -
Old: Unresolved attribute `last_connected_time` on type `Self@Model`.
New: Unresolved attribute `last_connected_time` on type `Self`.
[error] unresolved-attribute - :1064:9 -
Old: Unresolved attribute `last_active_time` on type `Self@Model`.
New: Unresolved attribute `last_active_time` on type `Self`.
[error] unresolved-attribute - :1071:26 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :1072:26 -
Old: Type `Self@Model` has no attribute `last_active_time`
New: Type `Self` has no attribute `last_active_time`
[error] unresolved-attribute - :1079:9 -
Old: Unresolved attribute `last_active_time` on type `Self@Model`.
New: Unresolved attribute `last_active_time` on type `Self`.
[error] unresolved-attribute - :1080:9 -
Old: Unresolved attribute `last_connected_time` on type `Self@Model`.
New: Unresolved attribute `last_connected_time` on type `Self`.
[error] unresolved-attribute - :1087:13 -
Old: Type `Self@Model` has no attribute `last_connected_time`
New: Type `Self` has no attribute `last_connected_time`
[error] unresolved-attribute - :1095:26 -
Old: Type `Self@Model` has no attribute `last_active_time`
New: Type `Self` has no attribute `last_active_time`

zerver/tests/test_push_notifications.py

[error] unresolved-attribute - :328:26 -
Old: Type `Self@Model` has no attribute `last_request_datetime`
New: Type `Self` has no attribute `last_request_datetime`
[error] unresolved-attribute - :528:26 -
Old: Type `Self@Model` has no attribute `user_id`
New: Type `Self` has no attribute `user_id`
[error] unresolved-attribute - :529:26 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :540:26 -
Old: Type `Self@Model` has no attribute `user_id`
New: Type `Self` has no attribute `user_id`
[error] unresolved-attribute - :541:30 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :612:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :613:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :731:26 -
Old: Type `Self@Model` has no attribute `last_request_datetime`
New: Type `Self` has no attribute `last_request_datetime`
[error] unresolved-attribute - :1054:9 -
Old: Unresolved attribute `server` on type `Self@Model`.
New: Unresolved attribute `server` on type `Self`.
[error] unresolved-attribute - :1071:26 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :1171:30 -
Old: Type `Self@Model` has no attribute `kind`
New: Type `Self` has no attribute `kind`
[error] unresolved-attribute - :1172:30 -
Old: Type `Self@Model` has no attribute `user_uuid`
New: Type `Self` has no attribute `user_uuid`
[error] unresolved-attribute - :1198:30 -
Old: Type `Self@Model` has no attribute `kind`
New: Type `Self` has no attribute `kind`
[error] unresolved-attribute - :1200:20 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :1201:28 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :1203:30 -
Old: Type `Self@Model` has no attribute `ios_app_id`
New: Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :1407:125 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] invalid-argument-type - :1454:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :1460:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1466:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1492:26 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] invalid-argument-type - :1494:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :1500:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1506:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1529:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :1535:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1541:37 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1546:29 -
Old: Type `Self@Model` has no attribute `user_profile_id`
New: Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :1547:76 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :1566:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1566:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1588:31 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1589:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1614:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1614:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1630:31 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1631:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1648:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1648:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1666:31 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1667:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1683:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1683:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1703:31 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1704:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1752:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1752:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1771:31 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1772:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1793:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1793:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1828:23 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1829:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1916:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1916:65 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1937:27 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1938:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1973:34 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :1974:32 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :1989:33 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :1990:31 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :2166:30 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :2181:34 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :2187:34 -
Old: Type `Self@Model` has no attribute `token`
New: Type `Self` has no attribute `token`
[error] unresolved-attribute - :2444:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2445:26 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :2455:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :2549:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2550:26 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :2551:26 -
Old: Type `Self@Model` has no attribute `last_request_datetime`
New: Type `Self` has no attribute `last_request_datetime`
[error] unresolved-attribute - :2565:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2566:26 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :2567:26 -
Old: Type `Self@Model` has no attribute `last_request_datetime`
New: Type `Self` has no attribute `last_request_datetime`
[error] unresolved-attribute - :2580:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2581:26 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :2583:26 -
Old: Type `Self@Model` has no attribute `api_key`
New: Type `Self` has no attribute `api_key`
[error] unresolved-attribute - :2595:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2596:26 -
Old: Type `Self@Model` has no attribute `contact_email`
New: Type `Self` has no attribute `contact_email`
[error] unresolved-attribute - :2623:26 -
Old: Type `Self@Model` has no attribute `hostname`
New: Type `Self` has no attribute `hostname`
[error] unresolved-attribute - :2744:30 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :2745:26 -
Old: Type `Self@Model` has no attribute `api_key`
New: Type `Self` has no attribute `api_key`
[error] unresolved-attribute - :2749:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`

zerver/tests/test_push_registration.py

[error] unresolved-attribute - :58:31 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :81:37 -
Old: Type `Self@Model` has no attribute `device_id`
New: Type `Self` has no attribute `device_id`
[error] unresolved-attribute - :108:37 -
Old: Type `Self@Model` has no attribute `device_id`
New: Type `Self` has no attribute `device_id`
[error] unresolved-attribute - :261:27 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :262:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :272:30 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :273:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :297:30 -
Old: Type `Self@Model` has no attribute `bouncer_device_id`
New: Type `Self` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :298:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :334:26 -
Old: Type `Self@Model` has no attribute `error_code`
New: Type `Self` has no attribute `error_code`
[error] unresolved-attribute - :335:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :353:27 -
Old: Type `Self@Model` has no attribute `error_code`
New: Type `Self` has no attribute `error_code`
[error] unresolved-attribute - :354:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :375:13 -
Old: Type `Self@Model` has no attribute `error_code`
New: Type `Self` has no attribute `error_code`
[error] unresolved-attribute - :410:26 -
Old: Type `Self@Model` has no attribute `error_code`
New: Type `Self` has no attribute `error_code`
[error] unresolved-attribute - :454:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`

zerver/tests/test_queue_worker.py

[error] invalid-argument-type - :336:19 -
Old: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self@Model`
New: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self`
[error] invalid-argument-type - :341:19 -
Old: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self@Model`
New: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self`
[error] invalid-argument-type - :346:19 -
Old: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self@Model`
New: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self`
[error] invalid-argument-type - :365:19 -
Old: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self@Model`
New: Argument to function `check_row` is incorrect: Expected `ScheduledMessageNotificationEmail`, found `Self`

zerver/tests/test_reactions.py

[error] unresolved-attribute - :58:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :179:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :180:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :181:26 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :207:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :210:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :226:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :229:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :235:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :399:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :407:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :423:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :446:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :724:16 -
Old: Return type does not match returned value: expected `list[Reaction]`, found `list[Self@Model]`
New: Return type does not match returned value: expected `list[Reaction]`, found `list[Self]`
[error] unresolved-attribute - :951:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :952:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :953:26 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1058:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1079:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1086:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1097:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1120:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.

zerver/tests/test_read_receipts.py

[error] unresolved-attribute - :206:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :207:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`

zerver/tests/test_realm.py

[error] unresolved-attribute - :118:68 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :124:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :125:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :126:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :127:77 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :139:68 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :145:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :146:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :147:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :148:77 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :406:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :407:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :489:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :490:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :491:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :506:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :547:26 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :548:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :698:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :779:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :844:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :945:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1372:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1373:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1393:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1394:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1405:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1406:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1424:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1425:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1443:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1444:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1462:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1463:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1481:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1482:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1497:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1498:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] invalid-argument-type - :1526:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1528:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1540:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1541:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1549:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1578:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1588:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1798:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :1815:9 -
Old: Unresolved attribute `is_web_public` on type `Self@Model`.
New: Unresolved attribute `is_web_public` on type `Self`.
[error] unresolved-attribute - :1825:9 -
Old: Unresolved attribute `is_web_public` on type `Self@Model`.
New: Unresolved attribute `is_web_public` on type `Self`.
[error] unresolved-attribute - :1848:29 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2114:56 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2119:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2125:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2129:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2133:21 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2138:25 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2144:75 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2149:60 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2156:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2169:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2169:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2180:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2180:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2197:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2202:60 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2217:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2221:56 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2231:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2231:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2242:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2245:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2257:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2257:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2262:56 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2271:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2291:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2293:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2307:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2311:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2326:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2330:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2348:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2351:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2359:56 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2370:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2374:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2382:56 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2397:32 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2409:60 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] invalid-argument-type - :2505:43 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] unresolved-attribute - :2539:9 -
Old: Unresolved attribute `web_font_size_px` on type `Self@Model`.
New: Unresolved attribute `web_font_size_px` on type `Self`.
[error] unresolved-attribute - :2540:9 -
Old: Unresolved attribute `web_line_height_percent` on type `Self@Model`.
New: Unresolved attribute `web_line_height_percent` on type `Self`.
[error] unresolved-attribute - :2550:26 -
Old: Type `Self@Model` has no attribute `web_font_size_px`
New: Type `Self` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2556:26 -
Old: Type `Self@Model` has no attribute `web_font_size_px`
New: Type `Self` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2562:26 -
Old: Type `Self@Model` has no attribute `web_line_height_percent`
New: Type `Self` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2568:26 -
Old: Type `Self@Model` has no attribute `web_line_height_percent`
New: Type `Self` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2577:26 -
Old: Type `Self@Model` has no attribute `web_font_size_px`
New: Type `Self` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2578:26 -
Old: Type `Self@Model` has no attribute `web_line_height_percent`
New: Type `Self` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2592:26 -
Old: Type `Self@Model` has no attribute `notification_sound`
New: Type `Self` has no attribute `notification_sound`
[error] unresolved-attribute - :2627:26 -
Old: Type `Self@Model` has no attribute `starred_message_counts`
New: Type `Self` has no attribute `starred_message_counts`
[error] unresolved-attribute - :2686:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2692:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2696:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2723:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2733:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2738:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_realm_domains.py

[error] invalid-argument-type - :144:32 -
Old: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
New: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`

zerver/tests/test_realm_emoji.py

[error] invalid-return-type - :38:16 -
Old: Return type does not match returned value: expected `RealmEmoji`, found `Self@Model`
New: Return type does not match returned value: expected `RealmEmoji`, found `Self`
[error] invalid-argument-type - :71:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :92:16 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :93:26 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :98:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :123:16 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :124:26 -
Old: Type `Self@Model` has no attribute `author`
New: Type `Self` has no attribute `author`
[error] unresolved-attribute - :128:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :131:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :195:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :215:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :236:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :259:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`

zerver/tests/test_realm_export.py

[error] unresolved-attribute - :71:26 -
Old: Type `Self@Model` has no attribute `acting_user_id`
New: Type `Self` has no attribute `acting_user_id`
[error] unresolved-attribute - :72:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :75:23 -
Old: Type `Self@Model` has no attribute `export_path`
New: Type `Self` has no attribute `export_path`
[error] unresolved-attribute - :86:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :99:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :106:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :107:30 -
Old: Type `Self@Model` has no attribute `date_deleted`
New: Type `Self` has no attribute `date_deleted`
[error] unresolved-attribute - :108:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :169:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :170:26 -
Old: Type `Self@Model` has no attribute `acting_user_id`
New: Type `Self` has no attribute `acting_user_id`
[error] unresolved-attribute - :171:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :174:23 -
Old: Type `Self@Model` has no attribute `export_path`
New: Type `Self` has no attribute `export_path`
[error] unresolved-attribute - :185:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :191:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :198:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :199:30 -
Old: Type `Self@Model` has no attribute `date_deleted`
New: Type `Self` has no attribute `date_deleted`
[error] unresolved-attribute - :200:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :276:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :352:9 -
Old: Unresolved attribute `value` on type `Self@Model`.
New: Unresolved attribute `value` on type `Self`.

zerver/tests/test_realm_linkifiers.py

[error] unresolved-attribute - :281:17 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`

zerver/tests/test_reminders.py

[error] unresolved-attribute - :164:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :167:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :201:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :206:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :246:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :252:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :288:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :291:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :376:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :381:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :411:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :416:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`

zerver/tests/test_retention.py

[error] unresolved-attribute - :473:25 -
Old: Type `Self@Model` has no attribute `restored`
New: Type `Self` has no attribute `restored`
[error] unresolved-attribute - :474:25 -
Old: Type `Self@Model` has no attribute `restored`
New: Type `Self` has no attribute `restored`
[error] unresolved-attribute - :475:26 -
Old: Type `Self@Model` has no attribute `restored_timestamp`
New: Type `Self` has no attribute `restored_timestamp`
[error] unresolved-attribute - :476:26 -
Old: Type `Self@Model` has no attribute `restored_timestamp`
New: Type `Self` has no attribute `restored_timestamp`
[error] unresolved-attribute - :487:30 -
Old: Type `Self@Model` has no attribute `archive_transaction_id`
New: Type `Self` has no attribute `archive_transaction_id`
[error] unresolved-attribute - :487:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :636:26 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :977:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :978:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :987:17 -
Old: Type `Self@Model` has no attribute `archive_transaction_id`
New: Type `Self` has no attribute `archive_transaction_id`
[error] unresolved-attribute - :988:18 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :988:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1014:16 -
Old: Type `Self@Model` has no attribute `message_retention_days`
New: Type `Self` has no attribute `message_retention_days`
[error] unresolved-attribute - :1160:29 -
Old: Type `Self@Model` has no attribute `archive_transaction_id`
New: Type `Self` has no attribute `archive_transaction_id`

zerver/tests/test_rocketchat_importer.py

[error] unresolved-attribute - :1043:34 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`

zerver/tests/test_scheduled_messages.py

[error] invalid-return-type - :33:16 -
Old: Return type does not match returned value: expected `ScheduledMessage`, found `Self@Model`
New: Return type does not match returned value: expected `ScheduledMessage`, found `Self`
[error] unresolved-attribute - :140:30 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :141:30 -
Old: Type `Self@Model` has no attribute `rendered_content`
New: Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :142:30 -
Old: Type `Self@Model` has no attribute `topic_name`
New: Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :143:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :144:30 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :145:30 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :151:17 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] invalid-argument-type - :151:72 -
Old: Argument to function `is_message_to_self` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `is_message_to_self` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :674:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :688:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :691:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :705:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :708:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :723:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`
[error] unresolved-attribute - :726:18 -
Old: Type `Self@Model` has no attribute `scheduled_messages`
New: Type `Self` has no attribute `scheduled_messages`

zerver/tests/test_service_bot_system.py

[error] unresolved-attribute - :631:31 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`

zerver/tests/test_settings.py

[error] unresolved-attribute - :190:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :215:30 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`

zerver/tests/test_signup.py

[error] unresolved-attribute - :274:76 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :275:63 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :276:63 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :289:42 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :311:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :316:13 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :371:46 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :380:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :381:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :398:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :399:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :431:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :432:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :433:30 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :449:25 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1397:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1398:26 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :1399:26 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :1400:26 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :1437:26 -
Old: Type `Self@Model` has no attribute `created_realm`
New: Type `Self` has no attribute `created_realm`
[error] unresolved-attribute - :1438:26 -
Old: Type `Self@Model` has no attribute `created_user`
New: Type `Self` has no attribute `created_user`
[error] unresolved-attribute - :1439:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :1469:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1470:26 -
Old: Type `Self@Model` has no attribute `event_time`
New: Type `Self` has no attribute `event_time`
[error] unresolved-attribute - :1778:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1782:48 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1783:59 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1784:47 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1788:61 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1799:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1800:64 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1847:25 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1850:51 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1851:56 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1852:44 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :1884:26 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] invalid-argument-type - :2575:13 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] unresolved-attribute - :2597:49 -
Old: Type `Self@Model` has no attribute `twenty_four_hour_time`
New: Type `Self` has no attribute `twenty_four_hour_time`
[error] unresolved-attribute - :2606:13 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`
[error] unresolved-attribute - :3034:26 -
Old: Type `Self@Model` has no attribute `onboarding_step`
New: Type `Self` has no attribute `onboarding_step`
[error] unresolved-attribute - :3229:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :3232:55 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :3258:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :3261:55 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :3788:30 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :4307:27 -
Old: Type `Self@Model` has no attribute `content_object`
New: Type `Self` has no attribute `content_object`
[error] unresolved-attribute - :4521:27 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :4524:64 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :4526:56 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :4537:23 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :4542:34 -
Old: Type `Self@Model` has no attribute `date_created`
New: Type `Self` has no attribute `date_created`
[error] unresolved-attribute - :4545:26 -
Old: Type `Self@Model` has no attribute `demo_organization_scheduled_deletion_date`
New: Type `Self` has no attribute `demo_organization_scheduled_deletion_date`

zerver/tests/test_slack_importer.py

[error] unresolved-attribute - :1954:37 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :2163:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2164:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2208:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2209:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2212:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2226:29 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2232:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2233:39 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2242:23 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2243:18 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2260:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2261:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2269:42 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :2270:50 -
Old: Type `Self@Model` has no attribute `default_language`
New: Type `Self` has no attribute `default_language`
[error] unresolved-attribute - :2272:25 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2305:9 -
Old: Unresolved attribute `string_id` on type `Self@Model`.
New: Unresolved attribute `string_id` on type `Self`.
[error] unresolved-attribute - :2309:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2312:9 -
Old: Unresolved attribute `string_id` on type `Self@Model`.
New: Unresolved attribute `string_id` on type `Self`.
[error] unresolved-attribute - :2313:9 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :2332:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2368:23 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2369:18 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2375:28 -
Old: Type `Self@Model` has no attribute `email`
New: Type `Self` has no attribute `email`
[error] unresolved-attribute - :2379:41 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2390:64 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2393:26 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :2394:26 -
Old: Type `Self@Model` has no attribute `created_realm`
New: Type `Self` has no attribute `created_realm`
[error] unresolved-attribute - :2395:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2396:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2420:41 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2432:27 -
Old: Type `Self@Model` has no attribute `created_realm`
New: Type `Self` has no attribute `created_realm`
[error] unresolved-attribute - :2433:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2435:13 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2455:23 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2456:18 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2458:56 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2461:41 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2473:27 -
Old: Type `Self@Model` has no attribute `created_realm`
New: Type `Self` has no attribute `created_realm`
[error] unresolved-attribute - :2474:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2475:57 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2488:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2491:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2505:25 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2508:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2519:27 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2533:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2535:23 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2536:18 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2538:56 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :2539:9 -
Old: Unresolved attribute `created_realm` on type `Self@Model`.
New: Unresolved attribute `created_realm` on type `Self`.

zerver/tests/test_submessage.py

[error] unresolved-attribute - :45:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :52:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :63:46 -
Old: Argument to function `wide_dict` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `wide_dict` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :162:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_subs.py

[error] unresolved-attribute - :275:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :308:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :365:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :397:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :503:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :542:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :581:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :611:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :624:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :634:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :687:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :724:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :754:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :773:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :775:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :787:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :789:27 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :792:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :793:60 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :795:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-argument-type - :796:82 -
Old: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self`
[error] unresolved-attribute - :810:27 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :811:27 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] invalid-argument-type - :813:81 -
Old: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self`
[error] unresolved-attribute - :815:25 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :816:27 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :818:63 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :820:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :832:27 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :834:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-argument-type - :836:82 -
Old: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self`
[error] unresolved-attribute - :839:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :853:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :854:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :870:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :871:27 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :873:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :874:60 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :876:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :889:27 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :890:27 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-argument-type - :892:81 -
Old: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self@Model`
New: Argument to function `validate_attachment_request_for_spectator_access` is incorrect: Expected `Attachment`, found `Self`
[error] unresolved-attribute - :894:25 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :919:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :921:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :926:68 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :927:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :935:67 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :936:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :938:30 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-argument-type - :943:62 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :968:68 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :969:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :977:68 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :978:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :984:68 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :985:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] invalid-argument-type - :993:65 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1005:68 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1006:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1014:67 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1015:64 -
Old: Type `Self@Model` has no attribute `path_id`
New: Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1017:30 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] invalid-argument-type - :1022:65 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1118:29 -
Old: Type `Self@Model` has no attribute `flags`
New: Type `Self` has no attribute `flags`
[error] unresolved-attribute - :1182:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1230:9 -
Old: Unresolved attribute `is_web_public` on type `Self@Model`.
New: Unresolved attribute `is_web_public` on type `Self`.
[error] invalid-argument-type - :1235:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :1244:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :1251:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :1258:33 -
Old: Argument to function `do_unarchive_stream` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `do_unarchive_stream` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :1260:40 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1261:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :1266:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1277:73 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1283:53 -
Old: Argument to function `can_access_stream_metadata_user_ids` is incorrect: Expected `Stream`, found `Self@Model`
New: Argument to function `can_access_stream_metadata_user_ids` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :1344:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1345:26 -
Old: Type `Self@Model` has no attribute `invite_only`
New: Type `Self` has no attribute `invite_only`
[error] unresolved-attribute - :1346:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :1347:26 -
Old: Type `Self@Model` has no attribute `history_public_to_subscribers`
New: Type `Self` has no attribute `history_public_to_subscribers`
[error] unresolved-attribute - :1354:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1509:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :1631:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1632:26 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :1683:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1829:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1912:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1933:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1958:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :2075:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2082:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2085:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2092:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2102:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2104:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2117:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2119:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2137:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2141:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2143:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2150:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2155:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2163:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2173:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2240:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :2250:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :2307:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2356:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2360:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2366:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2367:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2382:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2382:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2400:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2401:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2401:55 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2413:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2430:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2430:55 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2431:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2440:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2444:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2450:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2451:30 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :3208:29 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :3538:49 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3540:21 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3627:35 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] invalid-argument-type - :3644:35 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3973:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :3988:31 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :4229:35 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4572:13 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :4574:16 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] invalid-return-type - :4605:16 -
Old: Return type does not match returned value: expected `Subscription`, found `Self@Model`
New: Return type does not match returned value: expected `Subscription`, found `Self`
[error] unresolved-attribute - :4756:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_subscription_settings.py

[error] unresolved-attribute - :205:26 -
Old: Type `Self@Model` has no attribute `is_muted`
New: Type `Self` has no attribute `is_muted`
[error] unresolved-attribute - :234:26 -
Old: Type `Self@Model` has no attribute `is_muted`
New: Type `Self` has no attribute `is_muted`
[error] unresolved-attribute - :264:26 -
Old: Type `Self@Model` has no attribute `is_muted`
New: Type `Self` has no attribute `is_muted`
[error] unresolved-attribute - :293:26 -
Old: Type `Self@Model` has no attribute `is_muted`
New: Type `Self` has no attribute `is_muted`

zerver/tests/test_thumbnail.py

[error] unresolved-attribute - :325:30 -
Old: Type `Self@Model` has no attribute `original_height_px`
New: Type `Self` has no attribute `original_height_px`
[error] unresolved-attribute - :326:30 -
Old: Type `Self@Model` has no attribute `original_width_px`
New: Type `Self` has no attribute `original_width_px`
[error] unresolved-attribute - :327:30 -
Old: Type `Self@Model` has no attribute `frames`
New: Type `Self` has no attribute `frames`
[error] unresolved-attribute - :328:30 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :337:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :338:55 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :349:38 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :372:48 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :373:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :376:48 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :377:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :379:52 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :426:38 -
Old: Type `Self@Model` has no attribute `original_height_px`
New: Type `Self` has no attribute `original_height_px`
[error] unresolved-attribute - :427:38 -
Old: Type `Self@Model` has no attribute `original_width_px`
New: Type `Self` has no attribute `original_width_px`
[error] unresolved-attribute - :429:38 -
Old: Type `Self@Model` has no attribute `frames`
New: Type `Self` has no attribute `frames`
[error] unresolved-attribute - :494:30 -
Old: Type `Self@Model` has no attribute `original_height_px`
New: Type `Self` has no attribute `original_height_px`
[error] unresolved-attribute - :495:30 -
Old: Type `Self@Model` has no attribute `original_width_px`
New: Type `Self` has no attribute `original_width_px`
[error] unresolved-attribute - :499:28 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :500:55 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :601:51 -
Old: Argument to function `missing_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `missing_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] invalid-argument-type - :604:52 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :921:55 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`

zerver/tests/test_tusd.py

[error] unresolved-attribute - :289:9 -
Old: Unresolved attribute `size` on type `Self@Model`.
New: Unresolved attribute `size` on type `Self`.
[error] unresolved-attribute - :317:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :318:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :340:30 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :383:13 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :396:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :397:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :430:26 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :431:9 -
Old: Type `Self@Model` has no attribute `data_import_metadata`
New: Type `Self` has no attribute `data_import_metadata`
[error] unresolved-attribute - :528:26 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`
[error] unresolved-attribute - :529:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`
[error] unresolved-attribute - :584:26 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`
[error] unresolved-attribute - :585:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`
[error] unresolved-attribute - :647:26 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`
[error] unresolved-attribute - :648:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`

zerver/tests/test_upload.py

[error] unresolved-attribute - :195:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`
[error] unresolved-attribute - :196:9 -
Old: Unresolved attribute `content_type` on type `Self@Model`.
New: Unresolved attribute `content_type` on type `Self`.
[error] unresolved-attribute - :218:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`
[error] unresolved-attribute - :219:9 -
Old: Unresolved attribute `content_type` on type `Self@Model`.
New: Unresolved attribute `content_type` on type `Self`.
[error] unresolved-attribute - :316:26 -
Old: Type `Self@Model` has no attribute `is_claimed`
New: Type `Self` has no attribute `is_claimed`
[error] unresolved-attribute - :587:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :606:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :607:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :618:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :619:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :620:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :625:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :626:26 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :627:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :632:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :633:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :634:26 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :640:26 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :641:25 -
Old: Type `Self@Model` has no attribute `is_realm_public`
New: Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :642:25 -
Old: Type `Self@Model` has no attribute `is_web_public`
New: Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :691:40 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :692:36 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :693:36 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :709:40 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :710:40 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :711:40 -
Old: Type `Self@Model` has no attribute `messages`
New: Type `Self` has no attribute `messages`
[error] unresolved-attribute - :772:9 -
Old: Unresolved attribute `size` on type `Self@Model`.
New: Unresolved attribute `size` on type `Self`.
[error] unresolved-attribute - :2151:9 -
Old: Unresolved attribute `file_name` on type `Self@Model`.
New: Unresolved attribute `file_name` on type `Self`.

zerver/tests/test_upload_local.py

[error] unresolved-attribute - :46:39 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`

zerver/tests/test_upload_s3.py

[error] unresolved-attribute - :67:39 -
Old: Type `Self@Model` has no attribute `size`
New: Type `Self` has no attribute `size`

zerver/tests/test_urls.py

[error] unresolved-attribute - :78:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_user_groups.py

[error] unresolved-attribute - :113:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :114:56 -
Old: Type `Self@Model` has no attribute `creator_id`
New: Type `Self` has no attribute `creator_id`
[error] unresolved-attribute - :117:47 -
Old: Type `Self@Model` has no attribute `date_created`
New: Type `Self` has no attribute `date_created`
[error] unresolved-attribute - :123:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :124:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :131:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :132:56 -
Old: Type `Self@Model` has no attribute `creator_id`
New: Type `Self` has no attribute `creator_id`
[error] unresolved-attribute - :135:47 -
Old: Type `Self@Model` has no attribute `date_created`
New: Type `Self` has no attribute `date_created`
[error] unresolved-attribute - :141:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :142:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :148:48 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :150:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :172:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :207:14 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :207:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :214:14 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :214:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :232:76 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :239:52 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :258:36 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :262:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :263:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :264:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :265:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :272:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :461:67 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :462:67 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :464:49 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :468:49 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :472:49 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :476:49 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :486:49 -
Old: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `get_recursive_strict_subgroups` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :510:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :513:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :514:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :515:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :517:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :518:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :521:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :522:43 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :538:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :541:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :544:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :549:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :553:47 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :555:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :571:60 -
Old: Argument to function `has_user_group_access_for_subgroup` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `has_user_group_access_for_subgroup` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :620:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :627:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :630:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :637:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :640:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :643:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :650:55 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :653:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :656:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :663:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :666:55 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :692:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :697:25 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :702:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :706:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :713:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :745:31 -
Old: Type `Self@Model` has no attribute `can_manage_group`
New: Type `Self` has no attribute `can_manage_group`
[error] unresolved-attribute - :746:26 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :746:59 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :851:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :852:51 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :878:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :882:64 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :903:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :907:66 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :918:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :941:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :948:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :965:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :975:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :989:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :994:65 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :1013:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1027:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1092:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1094:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1095:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1096:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :1099:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1104:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1106:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1107:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1108:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :1124:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1129:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1134:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1138:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1142:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1146:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1150:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1153:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1155:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1157:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1158:26 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :1161:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1163:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1164:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1180:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1183:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1186:64 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :1190:24 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1193:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1196:64 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :1201:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1202:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1205:64 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :1212:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1212:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1216:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1233:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1233:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1238:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1262:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1267:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1269:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1270:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1274:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1279:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1280:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1283:67 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1288:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1289:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1295:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1302:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1302:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1306:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1313:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1317:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1321:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1323:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1324:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1331:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1335:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1338:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1339:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1342:70 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1344:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1348:45 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1349:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1389:64 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1395:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1409:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1421:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1428:26 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :1435:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1441:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1445:18 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :1449:18 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :1460:28 -
Old: Type `Self@Model` has no attribute `can_mention_group_id`
New: Type `Self` has no attribute `can_mention_group_id`
[error] unresolved-attribute - :1464:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1474:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1478:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1490:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1495:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1498:18 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :1502:18 -
Old: Type `Self@Model` has no attribute `can_mention_group`
New: Type `Self` has no attribute `can_mention_group`
[error] unresolved-attribute - :1518:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1535:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1546:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1554:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1556:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1562:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1565:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1567:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1576:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1580:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1587:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1590:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1593:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1595:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1601:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1611:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1611:48 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1614:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1618:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1618:48 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1620:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1623:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1625:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1632:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1635:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1638:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1640:9 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1647:45 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1654:74 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1658:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1663:25 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1670:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1711:38 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1736:29 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1738:13 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1744:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1744:84 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1750:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1761:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1764:29 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1767:13 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1776:39 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :1784:49 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Unknown | Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Unknown | Self`
[warning] possibly-unbound-attribute - :1787:60 -
Old: Attribute `id` on type `Unknown | Self@Model` is possibly unbound
New: Attribute `id` on type `Unknown | Self` is possibly unbound
[warning] possibly-unbound-attribute - :1804:60 -
Old: Attribute `id` on type `Unknown | Self@Model` is possibly unbound
New: Attribute `id` on type `Unknown | Self` is possibly unbound
[error] unresolved-attribute - :1807:29 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1809:13 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] unresolved-attribute - :1822:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1839:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1842:29 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1845:13 -
Old: Unresolved attribute `deactivated` on type `Self@Model`.
New: Unresolved attribute `deactivated` on type `Self`.
[error] invalid-argument-type - :1854:49 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1867:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1881:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1889:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :1891:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1896:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1899:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :1901:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1911:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1915:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1924:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1927:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1930:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :1932:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1937:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1941:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1941:48 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1944:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1948:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1948:48 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :1950:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1953:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] invalid-argument-type - :1955:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1961:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1964:57 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1967:26 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :2045:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2057:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2066:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2071:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2084:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2097:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2108:34 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2114:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2119:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2134:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2135:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2139:53 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2140:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2145:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :2151:34 -
Old: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `do_deactivate_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :2154:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2159:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :2240:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2253:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2295:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2307:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2345:33 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2346:33 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] unresolved-attribute - :2349:72 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2354:34 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :2355:34 -
Old: Type `Self@Model` has no attribute `description`
New: Type `Self` has no attribute `description`
[error] invalid-argument-type - :2367:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2379:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2391:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2403:37 -
Old: Argument to function `add_subgroups_to_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
New: Argument to function `add_subgroups_to_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :2416:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2482:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2568:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2582:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2634:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2654:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2720:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2736:45 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2825:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2903:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2909:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2915:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2945:13 -
Old: Type `Self@Model` has no attribute `usergroup_ptr`
New: Type `Self` has no attribute `usergroup_ptr`
[error] invalid-argument-type - :2988:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2997:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3007:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3016:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3024:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3033:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3051:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3057:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3086:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3129:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3138:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3148:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3154:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3167:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3173:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3194:61 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3198:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3202:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :3397:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3403:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3410:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3421:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3460:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3483:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3533:45 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3542:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3581:13 -
Old: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_user_group_permission_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :3588:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :3631:55 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3649:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3654:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3660:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3669:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3678:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3683:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3689:55 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3715:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3721:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3728:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3734:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3741:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3747:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3777:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3779:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3779:75 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3784:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3787:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3792:50 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3794:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3794:75 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3799:38 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :3802:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zerver/tests/test_user_topics.py

[error] unresolved-attribute - :75:29 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :85:31 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :310:29 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :320:31 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :529:31 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :539:33 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] invalid-argument-type - :1038:13 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`

zerver/tests/test_users.py

[error] unresolved-attribute - :758:66 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :762:26 -
Old: Type `Self@Model` has no attribute `editable_by_user`
New: Type `Self` has no attribute `editable_by_user`
[error] unresolved-attribute - :779:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :812:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :854:16 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :858:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :892:27 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :913:23 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :936:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :938:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :944:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :952:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :954:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :960:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] invalid-argument-type - :1010:17 -
Old: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
New: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
[error] unresolved-attribute - :1019:35 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :1043:9 -
Old: Unresolved attribute `email_address_visibility` on type `Self@Model`.
New: Unresolved attribute `email_address_visibility` on type `Self`.
[error] unresolved-attribute - :1066:9 -
Old: Unresolved attribute `email_address_visibility` on type `Self@Model`.
New: Unresolved attribute `email_address_visibility` on type `Self`.
[error] unresolved-attribute - :1216:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1217:26 -
Old: Type `Self@Model` has no attribute `modified_user`
New: Type `Self` has no attribute `modified_user`
[error] unresolved-attribute - :1218:26 -
Old: Type `Self@Model` has no attribute `acting_user`
New: Type `Self` has no attribute `acting_user`
[error] unresolved-attribute - :1602:9 -
Old: Unresolved attribute `web_home_view` on type `Self@Model`.
New: Unresolved attribute `web_home_view` on type `Self`.
[error] unresolved-attribute - :1603:9 -
Old: Unresolved attribute `emojiset` on type `Self@Model`.
New: Unresolved attribute `emojiset` on type `Self`.
[error] unresolved-attribute - :1604:9 -
Old: Unresolved attribute `color_scheme` on type `Self@Model`.
New: Unresolved attribute `color_scheme` on type `Self`.
[error] unresolved-attribute - :1605:9 -
Old: Unresolved attribute `enable_offline_email_notifications` on type `Self@Model`.
New: Unresolved attribute `enable_offline_email_notifications` on type `Self`.
[error] unresolved-attribute - :1606:9 -
Old: Unresolved attribute `enable_stream_push_notifications` on type `Self@Model`.
New: Unresolved attribute `enable_stream_push_notifications` on type `Self`.
[error] unresolved-attribute - :1607:9 -
Old: Unresolved attribute `enter_sends` on type `Self@Model`.
New: Unresolved attribute `enter_sends` on type `Self`.
[error] invalid-argument-type - :1615:35 -
Old: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self@Model`
New: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self`
[error] invalid-argument-type - :2088:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :2094:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :2100:17 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2106:17 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2111:13 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2114:13 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] invalid-argument-type - :2125:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :2131:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :2137:17 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2143:17 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2149:17 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2156:13 -
Old: Type `Self@Model` has no attribute `expiry_date`
New: Type `Self` has no attribute `expiry_date`
[error] unresolved-attribute - :2205:38 -
Old: Type `Self@Model` has no attribute `users`
New: Type `Self` has no attribute `users`
[error] unresolved-attribute - :2206:26 -
Old: Type `Self@Model` has no attribute `users`
New: Type `Self` has no attribute `users`
[error] invalid-argument-type - :2235:36 -
Old: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self@Model | None`
New: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self | None`
[error] unresolved-attribute - :2262:9 -
Old: Type `Self@Model` has no attribute `users`
New: Type `Self` has no attribute `users`
[error] unresolved-attribute - :2264:20 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :2265:24 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`
[error] invalid-argument-type - :2270:36 -
Old: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self@Model`
New: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self`

zerver/tests/test_widgets.py

[error] unresolved-attribute - :153:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :154:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :182:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :183:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :199:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :200:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :234:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :235:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :265:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :266:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :286:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :287:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :313:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :314:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :331:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :332:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :360:26 -
Old: Type `Self@Model` has no attribute `msg_type`
New: Type `Self` has no attribute `msg_type`
[error] unresolved-attribute - :361:39 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :558:9 -
Old: Unresolved attribute `content` on type `Self@Model`.
New: Unresolved attribute `content` on type `Self`.
[error] unresolved-attribute - :562:9 -
Old: Unresolved attribute `content` on type `Self@Model`.
New: Unresolved attribute `content` on type `Self`.
[error] unresolved-attribute - :566:9 -
Old: Unresolved attribute `content` on type `Self@Model`.
New: Unresolved attribute `content` on type `Self`.

zerver/tests/test_zilencer_analytics.py

[error] unresolved-attribute - :348:29 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :349:42 -
Old: Type `Self@Model` has no attribute `uuid_owner_secret`
New: Type `Self` has no attribute `uuid_owner_secret`
[error] unresolved-attribute - :350:29 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :351:29 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :352:33 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] unresolved-attribute - :353:47 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] unresolved-attribute - :354:43 -
Old: Type `Self@Model` has no attribute `date_created`
New: Type `Self` has no attribute `date_created`
[error] unresolved-attribute - :358:44 -
Old: Type `Self@Model` has no attribute `string_id`
New: Type `Self` has no attribute `string_id`
[error] unresolved-attribute - :408:26 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :409:26 -
Old: Type `Self@Model` has no attribute `realm_date_created`
New: Type `Self` has no attribute `realm_date_created`
[error] unresolved-attribute - :410:26 -
Old: Type `Self@Model` has no attribute `realm_deactivated`
New: Type `Self` has no attribute `realm_deactivated`
[error] unresolved-attribute - :411:26 -
Old: Type `Self@Model` has no attribute `name`
New: Type `Self` has no attribute `name`
[error] unresolved-attribute - :412:26 -
Old: Type `Self@Model` has no attribute `authentication_methods`
New: Type `Self` has no attribute `authentication_methods`
[error] unresolved-attribute - :413:26 -
Old: Type `Self@Model` has no attribute `org_type`
New: Type `Self` has no attribute `org_type`
[error] invalid-argument-type - :563:13 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :563:39 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :563:72 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :586:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :588:26 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :663:13 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :663:39 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :663:72 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :688:13 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmCount, RealmCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :689:13 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[InstallationCount, InstallationCount]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :690:13 -
Old: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `build_analytics_data` is incorrect: Expected `QuerySet[RealmAuditLog, RealmAuditLog]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :718:26 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`
[error] unresolved-attribute - :718:56 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :719:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :720:26 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`
[error] unresolved-attribute - :720:63 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :724:26 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`
[error] unresolved-attribute - :724:60 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :725:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :735:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :736:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :772:30 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :774:30 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] unresolved-attribute - :845:59 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :936:30 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :937:26 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`
[error] unresolved-attribute - :937:54 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :938:26 -
Old: Type `Self@Model` has no attribute `event_time`
New: Type `Self` has no attribute `event_time`
[error] unresolved-attribute - :939:26 -
Old: Type `Self@Model` has no attribute `backfilled`
New: Type `Self` has no attribute `backfilled`
[error] unresolved-attribute - :940:16 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :941:26 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :942:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1001:34 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :1002:30 -
Old: Type `Self@Model` has no attribute `remote_id`
New: Type `Self` has no attribute `remote_id`
[error] unresolved-attribute - :1002:58 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1003:30 -
Old: Type `Self@Model` has no attribute `event_time`
New: Type `Self` has no attribute `event_time`
[error] unresolved-attribute - :1004:30 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :1065:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1066:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1081:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1082:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1096:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1097:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1115:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1116:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1136:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1137:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1170:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1172:21 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1203:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1205:21 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1231:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1233:21 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1254:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1256:21 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1298:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1300:21 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1325:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1349:29 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :1350:42 -
Old: Type `Self@Model` has no attribute `uuid_owner_secret`
New: Type `Self` has no attribute `uuid_owner_secret`
[error] unresolved-attribute - :1351:29 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :1352:43 -
Old: Type `Self@Model` has no attribute `date_created`
New: Type `Self` has no attribute `date_created`
[error] unresolved-attribute - :1389:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled`
New: Type `Self` has no attribute `push_notifications_enabled`
[error] unresolved-attribute - :1390:34 -
Old: Type `Self@Model` has no attribute `push_notifications_enabled_end_timestamp`
New: Type `Self` has no attribute `push_notifications_enabled_end_timestamp`
[error] unresolved-attribute - :1419:26 -
Old: Type `Self@Model` has no attribute `registration_deactivated`
New: Type `Self` has no attribute `registration_deactivated`
[error] unresolved-attribute - :1420:26 -
Old: Type `Self@Model` has no attribute `realm_locally_deleted`
New: Type `Self` has no attribute `realm_locally_deleted`
[error] unresolved-attribute - :1424:26 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1425:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`
[error] invalid-argument-type - :1433:53 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1459:26 -
Old: Type `Self@Model` has no attribute `realm_locally_deleted`
New: Type `Self` has no attribute `realm_locally_deleted`
[error] unresolved-attribute - :1463:13 -
Old: Type `Self@Model` has no attribute `event_type`
New: Type `Self` has no attribute `event_type`
[error] unresolved-attribute - :1465:26 -
Old: Type `Self@Model` has no attribute `remote_realm`
New: Type `Self` has no attribute `remote_realm`

zerver/tests/test_zulip_update_announcements.py

[error] unresolved-attribute - :78:30 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :79:30 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :81:55 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :87:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :344:26 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] unresolved-attribute - :345:26 -
Old: Type `Self@Model` has no attribute `date_sent`
New: Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :347:51 -
Old: Type `Self@Model` has no attribute `recipient`
New: Type `Self` has no attribute `recipient`
[error] unresolved-attribute - :355:13 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] unresolved-attribute - :459:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`

zerver/views/auth.py

[error] invalid-return-type - :138:12 -
Old: Return type does not match returned value: expected `PreregistrationUser`, found `Self@Model`
New: Return type does not match returned value: expected `PreregistrationUser`, found `Self`
[error] invalid-return-type - :156:12 -
Old: Return type does not match returned value: expected `PreregistrationRealm`, found `Self@Model`
New: Return type does not match returned value: expected `PreregistrationRealm`, found `Self`
[error] invalid-argument-type - :280:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :1165:43 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self@Model | None`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self | None`
[error] invalid-argument-type - :1169:64 -
Old: Argument to function `auth_enabled_helper` is incorrect: Expected `Realm | None`, found `Self@Model | None`
New: Argument to function `auth_enabled_helper` is incorrect: Expected `Realm | None`, found `Self | None`

zerver/views/custom_profile_fields.py

[error] invalid-argument-type - :227:68 -
Old: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :252:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :259:9 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :268:39 -
Old: Type `Self@Model` has no attribute `field_type`
New: Type `Self` has no attribute `field_type`
[error] unresolved-attribute - :268:70 -
Old: Type `Self@Model` has no attribute `field_data`
New: Type `Self` has no attribute `field_data`
[error] invalid-argument-type - :269:56 -
Old: Argument to function `update_only_display_in_profile_summary` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `update_only_display_in_profile_summary` is incorrect: Expected `CustomProfileField`, found `Self`
[error] invalid-argument-type - :273:42 -
Old: Argument to function `validate_custom_profile_field_update` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `validate_custom_profile_field_update` is incorrect: Expected `CustomProfileField`, found `Self`
[error] invalid-argument-type - :277:13 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`

zerver/views/development/email_log.py

[error] unresolved-attribute - :87:77 -
Old: Type `Self@Model` has no attribute `host`
New: Type `Self` has no attribute `host`
[error] unresolved-attribute - :131:11 -
Old: Type `Self@Model` has no attribute `confirmation_key`
New: Type `Self` has no attribute `confirmation_key`

zerver/views/home.py

[error] unresolved-attribute - :80:44 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`

zerver/views/invite.py

[error] unresolved-attribute - :57:8 -
Old: Type `Self@Model` has no attribute `referred_by`
New: Type `Self` has no attribute `referred_by`
[error] unresolved-attribute - :57:43 -
Old: Type `Self@Model` has no attribute `referred_by`
New: Type `Self` has no attribute `referred_by`
[error] unresolved-attribute - :60:8 -
Old: Type `Self@Model` has no attribute `referred_by_id`
New: Type `Self` has no attribute `referred_by_id`
[error] unresolved-attribute - :61:38 -
Old: Type `Self@Model` has no attribute `invited_as`
New: Type `Self` has no attribute `invited_as`
[error] invalid-return-type - :62:12 -
Old: Return type does not match returned value: expected `PreregistrationUser`, found `Self@Model`
New: Return type does not match returned value: expected `PreregistrationUser`, found `Self`
[error] unresolved-attribute - :71:8 -
Old: Type `Self@Model` has no attribute `realm`
New: Type `Self` has no attribute `realm`
[error] unresolved-attribute - :74:8 -
Old: Type `Self@Model` has no attribute `referred_by_id`
New: Type `Self` has no attribute `referred_by_id`
[error] unresolved-attribute - :75:38 -
Old: Type `Self@Model` has no attribute `invited_as`
New: Type `Self` has no attribute `invited_as`
[error] unresolved-attribute - :77:8 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-return-type - :79:12 -
Old: Return type does not match returned value: expected `MultiuseInvite`, found `Self@Model`
New: Return type does not match returned value: expected `MultiuseInvite`, found `Self`

zerver/views/message_fetch.py

[error] unresolved-attribute - :280:35 -
Old: Type `Self@Model` has no attribute `message_id`
New: Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :280:50 -
Old: Type `Self@Model` has no attribute `flags_list`
New: Type `Self` has no attribute `flags_list`

zerver/views/presence.py

[error] unresolved-attribute - :220:43 -
Old: Type `Self@Model` has no attribute `last_visit`
New: Type `Self` has no attribute `last_visit`

zerver/views/push_notifications.py

[error] invalid-argument-type - :108:47 -
Old: Argument to function `send_test_push_notification` is incorrect: Expected `list[PushDeviceToken]`, found `list[Unknown] | list[Self@Model]`
New: Argument to function `send_test_push_notification` is incorrect: Expected `list[PushDeviceToken]`, found `list[Unknown] | list[Self]`

zerver/views/realm.py

[error] invalid-argument-type - :222:55 -
Old: Argument to function `validate_authentication_methods_dict_from_api` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `validate_authentication_methods_dict_from_api` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :227:26 -
Old: Type `Self@Model` has no attribute `get_enabled_video_chat_providers`
New: Type `Self` has no attribute `get_enabled_video_chat_providers`
[error] unresolved-attribute - :245:9 -
Old: Type `Self@Model` has no attribute `ensure_not_on_limited_plan`
New: Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :251:9 -
Old: Type `Self@Model` has no attribute `ensure_not_on_limited_plan`
New: Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :271:8 -
Old: Type `Self@Model` has no attribute `demo_organization_scheduled_deletion_date`
New: Type `Self` has no attribute `demo_organization_scheduled_deletion_date`
[error] invalid-argument-type - :272:47 -
Old: Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :275:9 -
Old: Type `Self@Model` has no attribute `ensure_not_on_limited_plan`
New: Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :278:9 -
Old: Type `Self@Model` has no attribute `can_enable_restricted_user_access_for_guests`
New: Type `Self` has no attribute `can_enable_restricted_user_access_for_guests`
[error] invalid-argument-type - :288:13 -
Old: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :303:13 -
Old: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :318:13 -
Old: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :335:13 -
Old: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :358:41 -
Old: Type `Self@Model` has no attribute `jitsi_server_url`
New: Type `Self` has no attribute `jitsi_server_url`
[error] invalid-argument-type - :360:17 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :378:17 -
Old: Type `Self@Model` has no attribute `property_types`
New: Type `Self` has no attribute `property_types`
[error] invalid-argument-type - :387:35 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :423:21 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :435:9 -
Old: Type `Self@Model` has no attribute `authentication_methods_dict`
New: Type `Self` has no attribute `authentication_methods_dict`
[error] invalid-argument-type - :437:45 -
Old: Argument to function `do_set_realm_authentication_methods` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_authentication_methods` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :443:9 -
Old: Type `Self@Model` has no attribute `moderation_request_channel`
New: Type `Self` has no attribute `moderation_request_channel`
[error] unresolved-attribute - :444:12 -
Old: Type `Self@Model` has no attribute `moderation_request_channel`
New: Type `Self` has no attribute `moderation_request_channel`
[error] invalid-argument-type - :452:13 -
Old: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :460:9 -
Old: Type `Self@Model` has no attribute `new_stream_announcements_stream`
New: Type `Self` has no attribute `new_stream_announcements_stream`
[error] unresolved-attribute - :461:13 -
Old: Type `Self@Model` has no attribute `new_stream_announcements_stream`
New: Type `Self` has no attribute `new_stream_announcements_stream`
[error] invalid-argument-type - :471:13 -
Old: Argument to function `do_set_realm_new_stream_announcements_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_new_stream_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :479:9 -
Old: Type `Self@Model` has no attribute `signup_announcements_stream`
New: Type `Self` has no attribute `signup_announcements_stream`
[error] unresolved-attribute - :480:12 -
Old: Type `Self@Model` has no attribute `signup_announcements_stream`
New: Type `Self` has no attribute `signup_announcements_stream`
[error] invalid-argument-type - :488:13 -
Old: Argument to function `do_set_realm_signup_announcements_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_signup_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :496:9 -
Old: Type `Self@Model` has no attribute `zulip_update_announcements_stream`
New: Type `Self` has no attribute `zulip_update_announcements_stream`
[error] unresolved-attribute - :497:12 -
Old: Type `Self@Model` has no attribute `zulip_update_announcements_stream`
New: Type `Self` has no attribute `zulip_update_announcements_stream`
[error] invalid-argument-type - :507:13 -
Old: Argument to function `do_set_realm_zulip_update_announcements_stream` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_set_realm_zulip_update_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :517:12 -
Old: Type `Self@Model` has no attribute `demo_organization_scheduled_deletion_date`
New: Type `Self` has no attribute `demo_organization_scheduled_deletion_date`
[error] invalid-argument-type - :519:47 -
Old: Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :525:35 -
Old: Argument to function `do_change_realm_subdomain` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_subdomain` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :526:29 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] unresolved-attribute - :527:29 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] invalid-argument-type - :530:34 -
Old: Argument to function `do_change_realm_org_type` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `do_change_realm_org_type` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :756:47 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`

zerver/views/realm_domains.py

[error] invalid-argument-type - :60:32 -
Old: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
New: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`
[error] invalid-argument-type - :73:32 -
Old: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
New: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`

zerver/views/realm_export.py

[error] unresolved-attribute - :77:40 -
Old: Type `Self@Model` has no attribute `value`
New: Type `Self` has no attribute `value`
[error] unresolved-attribute - :124:28 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :127:46 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :143:8 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :145:8 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :147:8 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] invalid-argument-type - :149:28 -
Old: Argument to function `do_delete_realm_export` is incorrect: Expected `RealmExport`, found `Self@Model`
New: Argument to function `do_delete_realm_export` is incorrect: Expected `RealmExport`, found `Self`

zerver/views/realm_playgrounds.py

[error] invalid-return-type - :36:12 -
Old: Return type does not match returned value: expected `RealmPlayground`, found `Self@Model`
New: Return type does not match returned value: expected `RealmPlayground`, found `Self`

zerver/views/registration.py

[error] unresolved-attribute - :877:44 -
Old: Type `Self@Model` has no attribute `email_address_visibility`
New: Type `Self` has no attribute `email_address_visibility`
[error] unresolved-attribute - :1098:8 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :1102:44 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1105:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1120:82 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :1142:73 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] unresolved-attribute - :1185:76 -
Old: Type `Self@Model` has no attribute `url`
New: Type `Self` has no attribute `url`
[error] unresolved-attribute - :1202:62 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1210:71 -
Old: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Self`

zerver/views/upload.py

[error] unresolved-attribute - :285:65 -
Old: Type `Self@Model` has no attribute `thumbnail_metadata`
New: Type `Self` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :289:12 -
Old: Type `Self@Model` has no attribute `frames`
New: Type `Self` has no attribute `frames`
[error] invalid-argument-type - :327:21 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :327:72 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :331:44 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self`
[error] unresolved-attribute - :391:22 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`
[error] unresolved-attribute - :392:26 -
Old: Type `Self@Model` has no attribute `content_type`
New: Type `Self` has no attribute `content_type`
[error] unresolved-attribute - :395:43 -
Old: Type `Self@Model` has no attribute `file_name`
New: Type `Self` has no attribute `file_name`

zerver/worker/deferred_work.py

[error] unresolved-attribute - :84:38 -
Old: Type `Self@Model` has no attribute `realm_id`
New: Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :139:30 -
Old: Type `Self@Model` has no attribute `extra_data`
New: Type `Self` has no attribute `extra_data`
[error] unresolved-attribute - :151:21 -
Old: Unresolved attribute `extra_data` on type `Self@Model`.
New: Unresolved attribute `extra_data` on type `Self`.
[error] unresolved-attribute - :151:65 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :154:16 -
Old: Type `Self@Model` has no attribute `status`
New: Type `Self` has no attribute `status`
[error] unresolved-attribute - :159:17 -
Old: Unresolved attribute `status` on type `Self@Model`.
New: Unresolved attribute `status` on type `Self`.
[error] unresolved-attribute - :160:17 -
Old: Unresolved attribute `date_failed` on type `Self@Model`.
New: Unresolved attribute `date_failed` on type `Self`.
[error] invalid-argument-type - :174:21 -
Old: Argument to function `export_realm_wrapper` is incorrect: Expected `RealmExport`, found `Self@Model`
New: Argument to function `export_realm_wrapper` is incorrect: Expected `RealmExport`, found `Self`
[error] unresolved-attribute - :219:79 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :220:42 -
Old: Argument to function `handle_reupload_emojis_event` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `handle_reupload_emojis_event` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :239:41 -
Old: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self`

zerver/worker/embed_links.py

[error] unresolved-attribute - :53:16 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] invalid-argument-type - :61:17 -
Old: Argument to function `render_incoming_message` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `render_incoming_message` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :62:17 -
Old: Type `Self@Model` has no attribute `content`
New: Type `Self` has no attribute `content`
[error] invalid-argument-type - :63:17 -
Old: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :66:37 -
Old: Type `Self@Model` has no attribute `sender`
New: Type `Self` has no attribute `sender`
[error] invalid-argument-type - :66:53 -
Old: Argument to function `do_update_embedded_data` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_update_embedded_data` is incorrect: Expected `Message`, found `Self`

zerver/worker/missedmessage_emails.py

[error] unresolved-attribute - :62:35 -
Old: Type `Self@Model` has no attribute `scheduled_timestamp`
New: Type `Self` has no attribute `scheduled_timestamp`

zerver/worker/thumbnail.py

[error] invalid-argument-type - :46:53 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`

zilencer/lib/push_notifications.py

[error] unresolved-attribute - :135:9 -
Old: Type `Self@Model` has no attribute `device_id`
New: Type `Self` has no attribute `device_id`

zilencer/management/commands/add_mock_conversation.py

[error] invalid-argument-type - :130:32 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :136:9 -
Old: Unresolved attribute `rendered_content` on type `Self@Model`.
New: Unresolved attribute `rendered_content` on type `Self`.
[error] invalid-argument-type - :151:20 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`

zilencer/management/commands/calculate_first_visible_message_id.py

[error] invalid-argument-type - :37:51 -
Old: Argument to function `maybe_update_first_visible_message_id` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `maybe_update_first_visible_message_id` is incorrect: Expected `Realm`, found `Self`

zilencer/management/commands/populate_billing_realms.py

[error] unresolved-attribute - :457:20 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] invalid-argument-type - :465:50 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :465:65 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteServerBillingUser | None`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteServerBillingUser | None`, found `Self`
[error] invalid-argument-type - :543:41 -
Old: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] invalid-argument-type - :554:49 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :554:63 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealmBillingUser | None`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealmBillingUser | None`, found `Self`
[error] unresolved-attribute - :556:5 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`
[error] unresolved-attribute - :557:5 -
Old: Type `Self@Model` has no attribute `server`
New: Type `Self` has no attribute `server`

zilencer/management/commands/populate_db.py

[error] unresolved-attribute - :165:74 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :176:42 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :369:13 -
Old: Unresolved attribute `enter_sends` on type `Self@Model`.
New: Unresolved attribute `enter_sends` on type `Self`.
[error] unresolved-attribute - :370:13 -
Old: Unresolved attribute `email_address_visibility` on type `Self@Model`.
New: Unresolved attribute `email_address_visibility` on type `Self`.
[error] unresolved-attribute - :412:28 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] invalid-argument-type - :414:49 -
Old: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
New: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
[error] unresolved-attribute - :664:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :720:82 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :851:29 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :888:17 -
Old: Type `Self@Model` has no attribute `type_id`
New: Type `Self` has no attribute `type_id`
[error] invalid-argument-type - :1027:34 -
Old: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Stream | None`, found `Self@Model`
New: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Stream | None`, found `Self`
[error] unresolved-attribute - :1027:52 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-return-type - :1198:12 -
Old: Return type does not match returned value: expected `Recipient`, found `Self@Model`
New: Return type does not match returned value: expected `Recipient`, found `Self`
[error] unresolved-attribute - :1227:9 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1231:9 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1237:13 -
Old: Type `Self@Model` has no attribute `user_profile`
New: Type `Self` has no attribute `user_profile`

zilencer/management/commands/render_messages.py

[error] unresolved-attribute - :40:47 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`

zilencer/models.py

[error] invalid-return-type - :27:16 -
Old: Return type does not match returned value: expected `RemoteZulipServer`, found `Self@Model`
New: Return type does not match returned value: expected `RemoteZulipServer`, found `Self`
[error] invalid-return-type - :98:16 -
Old: Return type does not match returned value: expected `QuerySet[RemoteServerBillingUser, RemoteServerBillingUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[RemoteServerBillingUser, RemoteServerBillingUser]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :227:16 -
Old: Return type does not match returned value: expected `QuerySet[RemoteRealmBillingUser, RemoteRealmBillingUser]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[RemoteRealmBillingUser, RemoteRealmBillingUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :593:49 -
Old: Argument to function `get_remote_customer_user_count` is incorrect: Expected `list[RemoteRealmAuditLog]`, found `list[Self@Model]`
New: Argument to function `get_remote_customer_user_count` is incorrect: Expected `list[RemoteRealmAuditLog]`, found `list[Self]`

zilencer/views.py

[error] unresolved-attribute - :268:38 -
Old: Type `Self@Model` has no attribute `api_key`
New: Type `Self` has no attribute `api_key`
[error] unresolved-attribute - :271:12 -
Old: Type `Self@Model` has no attribute `deactivated`
New: Type `Self` has no attribute `deactivated`
[error] unresolved-attribute - :290:28 -
Old: Type `Self@Model` has no attribute `last_updated`
New: Type `Self` has no attribute `last_updated`
[error] unresolved-attribute - :294:13 -
Old: Unresolved attribute `hostname` on type `Self@Model`.
New: Unresolved attribute `hostname` on type `Self`.
[error] unresolved-attribute - :295:13 -
Old: Unresolved attribute `contact_email` on type `Self@Model`.
New: Unresolved attribute `contact_email` on type `Self`.
[error] unresolved-attribute - :297:17 -
Old: Unresolved attribute `api_key` on type `Self@Model`.
New: Unresolved attribute `api_key` on type `Self`.
[error] unresolved-attribute - :299:13 -
Old: Unresolved attribute `last_request_datetime` on type `Self@Model`.
New: Unresolved attribute `last_request_datetime` on type `Self`.
[error] unresolved-attribute - :405:9 -
Old: Unresolved attribute `api_key` on type `Self@Model`.
New: Unresolved attribute `api_key` on type `Self`.
[error] unresolved-attribute - :416:35 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] invalid-return-type - :445:16 -
Old: Return type does not match returned value: expected `QuerySet[RemotePushDeviceToken, RemotePushDeviceToken]`, found `QuerySet[Self@Model, Self@Model]`
New: Return type does not match returned value: expected `QuerySet[RemotePushDeviceToken, RemotePushDeviceToken]`, found `QuerySet[Self, Self]`
[error] unresolved-attribute - :596:16 -
Old: Type `Self@Model & ~AlwaysFalsy` has no attribute `device_id`
New: Type `Self & ~AlwaysFalsy` has no attribute `device_id`
[error] unresolved-attribute - :606:12 -
Old: Type `Self@Model` has no attribute `device_id`
New: Type `Self` has no attribute `device_id`
[error] unresolved-attribute - :828:8 -
Old: Type `Self@Model` has no attribute `server_id`
New: Type `Self` has no attribute `server_id`
[error] invalid-return-type - :837:12 -
Old: Return type does not match returned value: expected `RemoteRealm | None`, found `Self@Model`
New: Return type does not match returned value: expected `RemoteRealm | None`, found `Self`
[error] unresolved-attribute - :1190:12 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] unresolved-attribute - :1198:12 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`
[error] invalid-argument-type - :1423:58 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1472:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] invalid-argument-type - :1482:58 -
Old: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to function `get_customer_by_remote_realm` is incorrect: Expected `RemoteRealm`, found `Self`
[error] invalid-argument-type - :1487:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self`
[error] unresolved-attribute - :1497:17 -
Old: Type `Self@Model` has no attribute `id`
New: Type `Self` has no attribute `id`
[error] unresolved-attribute - :1506:5 -
Old: Unresolved attribute `plan_type` on type `Self@Model`.
New: Unresolved attribute `plan_type` on type `Self`.
[error] unresolved-attribute - :1518:26 -
Old: Type `Self@Model` has no attribute `plan_type`
New: Type `Self` has no attribute `plan_type`
[error] invalid-assignment - :1545:5 -
Old: Object of type `Self@Model` is not assignable to `RemoteZulipServer`
New: Object of type `Self` is not assignable to `RemoteZulipServer`
[error] unresolved-attribute - :1731:13 -
Old: Type `Self@Model` has no attribute `uuid`
New: Type `Self` has no attribute `uuid`

zproject/backends.py

[error] unresolved-attribute - :1096:48 -
Old: Type `Self@Model` has no attribute `user`
New: Type `Self` has no attribute `user`
[error] invalid-argument-type - :1894:41 -
Old: Argument to function `bulk_add_members_to_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self@Model]`
New: Argument to function `bulk_add_members_to_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self]`
[error] invalid-argument-type - :1899:46 -
Old: Argument to function `bulk_remove_members_from_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self@Model]`
New: Argument to function `bulk_remove_members_from_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self]`
[error] invalid-argument-type - :2294:34 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2301:51 -
Old: Argument to function `redirect_deactivated_user_to_login` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `redirect_deactivated_user_to_login` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2310:35 -
Old: Argument to function `redirect_to_signup` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `redirect_to_signup` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2314:34 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2340:9 -
Old: Argument to function `social_auth_sync_user_attributes` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `social_auth_sync_user_attributes` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2365:17 -
Old: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2370:38 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :2384:9 -
Old: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self@Model`
New: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :2391:19 -
Old: Type `Self@Model` has no attribute `subdomain`
New: Type `Self` has no attribute `subdomain`