Summary

Comparing branches/commits:
Old: main (merge base) 7dfde3b9
New: 19796/merge 559c8b0a
Lint Rule Removed Added Changed
Total 3827 48 42
unresolved-attribute 2856 0 0
invalid-argument-type 746 37 21
invalid-return-type 166 0 1
possibly-unbound-attribute 43 5 0
non-subscriptable 0 0 20
invalid-assignment 14 0 0
no-matching-overload 0 3 0
unused-ignore-comment 0 2 0
call-non-callable 0 1 0
not-iterable 1 0 0
unsupported-operator 1 0 0

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

expression/collections/maptree.py

[error] invalid-argument-type - :47:18 - Argument to class `MapTreeLeaf` is incorrect: Expected `SupportsLessThan`, found `typing.TypeVar[Key: SupportsLessThan]`

expression/extra/result/catch.py

[error] invalid-return-type - :50:16 - Return type does not match returned value: expected `((...) -> _TSource@catch, /) -> ((...) -> Result[_TSource@catch, _TError@catch]) | Result[_TSource@catch, _TError@catch]`, found `(...) -> Result[_TSource@catch, _TError@catch]`
[error] invalid-argument-type - :50:26 - Argument to function `decorator` is incorrect: Expected `(...) -> _TSource@catch`, found `(...) -> _TSource@catch`
[error] invalid-return-type - :52:12 - Return type does not match returned value: expected `((...) -> _TSource@catch, /) -> ((...) -> Result[_TSource@catch, _TError@catch]) | Result[_TSource@catch, _TError@catch]`, found `def decorator(fn: (...) -> _TSource@catch) -> (...) -> Result[_TSource@catch, _TError@catch]`

anyio (https://github.com/agronholm/anyio)

src/anyio/from_thread.py

[error] invalid-return-type - :291:16 - Return type does not match returned value: expected `T_Retval@call`, found `T_Retval@call`

bidict (https://github.com/jab/bidict)

bidict/_typing.py

[error] non-subscriptable - :40:39 -
Old: Cannot subscript object of type `<class 'Iterable[tuple[KT, VT]]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Iterable[tuple[typing.TypeVar[KT], typing.TypeVar[VT]]]'>` with no `__class_getitem__` method

black (https://github.com/psf/black)

src/black/rusty.py

[error] invalid-argument-type - :28:23 - Argument to class `Err` is incorrect: Expected `Exception`, found `typing.TypeVar[E: Exception]`

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

discord/app_commands/commands.py

[error] invalid-return-type - :2537:16 - Return type does not match returned value: expected `T@guild_only | ((T@guild_only, /) -> T@guild_only)`, found `def inner(f: T@guild_only) -> T@guild_only`
[error] invalid-return-type - :2539:16 - Return type does not match returned value: expected `T@guild_only | ((T@guild_only, /) -> T@guild_only)`, found `T@guild_only`
[error] invalid-argument-type - :2539:22 - Argument to function `inner` is incorrect: Expected `T@guild_only`, found `T@guild_only & ~None`
[error] invalid-return-type - :2594:16 - Return type does not match returned value: expected `T@private_channel_only | ((T@private_channel_only, /) -> T@private_channel_only)`, found `def inner(f: T@private_channel_only) -> T@private_channel_only`
[error] invalid-return-type - :2596:16 - Return type does not match returned value: expected `T@private_channel_only | ((T@private_channel_only, /) -> T@private_channel_only)`, found `T@private_channel_only`
[error] invalid-argument-type - :2596:22 - Argument to function `inner` is incorrect: Expected `T@private_channel_only`, found `T@private_channel_only & ~None`
[error] invalid-return-type - :2649:16 - Return type does not match returned value: expected `T@dm_only | ((T@dm_only, /) -> T@dm_only)`, found `def inner(f: T@dm_only) -> T@dm_only`
[error] invalid-return-type - :2651:16 - Return type does not match returned value: expected `T@dm_only | ((T@dm_only, /) -> T@dm_only)`, found `T@dm_only`
[error] invalid-argument-type - :2651:22 - Argument to function `inner` is incorrect: Expected `T@dm_only`, found `T@dm_only & ~None`
[error] invalid-return-type - :2744:16 - Return type does not match returned value: expected `T@guild_install | ((T@guild_install, /) -> T@guild_install)`, found `def inner(f: T@guild_install) -> T@guild_install`
[error] invalid-return-type - :2746:16 - Return type does not match returned value: expected `T@guild_install | ((T@guild_install, /) -> T@guild_install)`, found `T@guild_install`
[error] invalid-argument-type - :2746:22 - Argument to function `inner` is incorrect: Expected `T@guild_install`, found `T@guild_install & ~None`
[error] invalid-return-type - :2795:16 - Return type does not match returned value: expected `T@user_install | ((T@user_install, /) -> T@user_install)`, found `def inner(f: T@user_install) -> T@user_install`
[error] invalid-return-type - :2797:16 - Return type does not match returned value: expected `T@user_install | ((T@user_install, /) -> T@user_install)`, found `T@user_install`
[error] invalid-argument-type - :2797:22 - Argument to function `inner` is incorrect: Expected `T@user_install`, found `T@user_install & ~None`
[error] non-subscriptable - :111:64 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :113:61 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :116:52 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :122:62 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :123:54 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :132:48 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :133:46 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :134:49 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :135:61 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :139:53 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] invalid-argument-type - :139:63 - Argument to class `Choice` is incorrect: Expected `str | int | float`, found `typing.TypeVar[ChoiceT: (str, int, int | float, str | int | float)]`
[error] non-subscriptable - :140:45 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] invalid-argument-type - :140:55 - Argument to class `Choice` is incorrect: Expected `str | int | float`, found `typing.TypeVar[ChoiceT: (str, int, int | float, str | int | float)]`

discord/app_commands/tree.py

[error] invalid-argument-type - :76:10 - Argument to class `Interaction` is incorrect: Expected `Client`, found `typing.TypeVar[ClientT: Client = Client]`

discord/client.py

[error] invalid-argument-type - :308:27 - Argument to class `ConnectionState` is incorrect: Expected `Client`, found `typing.Self`

discord/ext/commands/_types.py

[error] non-subscriptable - :47:26 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :48:22 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :53:45 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :53:80 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :54:62 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :54:113 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method

discord/ext/commands/hybrid.py

[error] non-subscriptable - :85:50 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method
[error] non-subscriptable - :86:44 -
Old: Cannot subscript object of type `<class 'Coroutine[Any, Any, T]'>` with no `__class_getitem__` method
New: Cannot subscript object of type `<class 'Coroutine[Any, Any, typing.TypeVar[T]]'>` with no `__class_getitem__` method

discord/ui/modal.py

[error] invalid-argument-type - :102:50 - Argument to class `Item` is incorrect: Expected `View`, found `typing.Self`

discord/ui/view.py

[error] invalid-argument-type - :191:30 - Argument to class `Item` is incorrect: Expected `View`, found `typing.Self`
[warning] unused-ignore-comment - :587:74 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :606:81 - Unused blanket `type: ignore` directive

django-stubs (https://github.com/typeddjango/django-stubs)

django-stubs/contrib/gis/db/backends/oracle/models.pyi

[error] invalid-argument-type - :12:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`
[error] invalid-argument-type - :26:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`

django-stubs/contrib/gis/db/backends/postgis/models.pyi

[error] invalid-argument-type - :15:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`
[error] invalid-argument-type - :28:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`

django-stubs/contrib/gis/db/backends/spatialite/models.pyi

[error] invalid-argument-type - :14:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`
[error] invalid-argument-type - :28:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`

django-stubs/db/migrations/recorder.pyi

[error] invalid-argument-type - :14:27 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`

ext/django_stubs_ext/annotations.py

[error] invalid-argument-type - :18:33 - Argument to class `Annotations` is incorrect: Expected `Mapping[str, Any]`, found `typing.TypeVar[_Annotations: Mapping[str, Any]]`

django-stubs/contrib/admin/options.pyi

[error] invalid-argument-type - :148:66 - Argument to class `QuerySet` is incorrect: Expected `Model`, found `typing.TypeVar[_ModelT: Model]`

django-stubs/contrib/auth/models.pyi

[error] invalid-argument-type - :106:23 - Argument to class `UserManager` is incorrect: Expected `AbstractBaseUser`, found `typing.Self`

django-stubs/db/models/base.pyi

[error] invalid-argument-type - :45:23 - Argument to class `Manager` is incorrect: Expected `Model`, found `typing.Self`
[error] invalid-argument-type - :47:21 - Argument to class `Options` is incorrect: Expected `Model`, found `typing.Self`

mypy_django_plugin/django/context.py

[error] invalid-return-type - :419:16 -
Old: Return type does not match returned value: expected `tuple[Field[Any, Any] | ForeignObjectRel, type[Model]]`, found `tuple[None | Field[Unknown, Unknown] | ForeignObjectRel | GenericForeignKey | Unknown, type[Model] | Unknown]`
New: Return type does not match returned value: expected `tuple[Field[Any, Any] | ForeignObjectRel, type[Model]]`, found `tuple[None | Unknown, type[Model] | Unknown]`

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

src/hydra_zen/structured_configs/_make_custom_builds.py

[error] invalid-return-type - :351:12 - Return type does not match returned value: expected `FullBuilds[T@make_custom_builds_fn] | PBuilds[T@make_custom_builds_fn] | StdBuilds[T@make_custom_builds_fn]`, found `FullBuilds[T@make_custom_builds_fn] | PBuilds[T@make_custom_builds_fn] | StdBuilds[T@make_custom_builds_fn]`

src/hydra_zen/wrapper/_implementations.py

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

meson (https://github.com/mesonbuild/meson)

mesonbuild/cargo/builder.py

[error] invalid-argument-type - :33:72 -
Old: Argument is incorrect: Argument type `TV_TokenTypes` does not satisfy constraints of type variable `TV_TokenTypes`
New: Argument is incorrect: Argument type `TV_TokenTypes@_token` does not satisfy constraints of type variable `TV_TokenTypes`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

bson/__init__.py

[error] invalid-return-type - :1097:12 - Return type does not match returned value: expected `dict[str, Any] | _DocumentType@decode`, found `dict[str, Any] | _DocumentType@decode`

pymongo/asynchronous/collection.py

[error] invalid-argument-type - :104:5 - Argument to class `InsertOne` is incorrect: Expected `Mapping[str, Any]`, found `typing.TypeVar[_DocumentType: Mapping[str, Any]]`
[error] invalid-argument-type - :107:5 - Argument to class `ReplaceOne` is incorrect: Expected `Mapping[str, Any]`, found `typing.TypeVar[_DocumentType: Mapping[str, Any]]`

pymongo/synchronous/collection.py

[error] invalid-argument-type - :103:5 - Argument to class `InsertOne` is incorrect: Expected `Mapping[str, Any]`, found `typing.TypeVar[_DocumentType: Mapping[str, Any]]`
[error] invalid-argument-type - :106:5 - Argument to class `ReplaceOne` is incorrect: Expected `Mapping[str, Any]`, found `typing.TypeVar[_DocumentType: Mapping[str, Any]]`

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

src/integrations/prefect-dask/prefect_dask/task_runners.py

[error] invalid-return-type - :448:16 - Return type does not match returned value: expected `PrefectDaskFuture[R@submit]`, found `PrefectDaskFuture[R@submit]`

src/prefect/utilities/asyncutils.py

[error] invalid-return-type - :188:24 - Return type does not match returned value: expected `R@run_coro_as_sync | None`, found `R@run_coro_as_sync`

src/prefect/utilities/collections.py

[error] invalid-assignment - :463:13 - Method `__setitem__` of type `bound method dict[str, VT@visit_collection].__setitem__(key: str, value: VT@visit_collection, /) -> None` cannot be called with a key of type `Literal["annotation"]` and a value of type `VT@visit_collection` on object of type `dict[str, VT@visit_collection]`
[error] invalid-return-type - :662:16 - Return type does not match returned value: expected `VT@get_from_dict | R@get_from_dict | None`, found `VT@get_from_dict`
[error] invalid-argument-type - :395:36 - Argument is incorrect: Expected `dict[str, VT@visit_collection]`, found `dict[str, VT@visit_collection]`

src/prefect/utilities/templating.py

[error] invalid-return-type - :161:16 - Return type does not match returned value: expected `T@apply_values | type[NotSet]`, found `T@apply_values`
[error] invalid-return-type - :218:16 - Return type does not match returned value: expected `T@apply_values | type[NotSet]`, found `T@apply_values`
[error] invalid-return-type - :230:16 - Return type does not match returned value: expected `T@apply_values | type[NotSet]`, found `T@apply_values`

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

pydantic/config.py

[error] invalid-return-type - :1210:12 - Return type does not match returned value: expected `(_TypeT@with_config, /) -> _TypeT@with_config`, found `def inner(class_: _TypeT@with_config, /) -> _TypeT@with_config`

pydantic/validate_call_decorator.py

[error] invalid-return-type - :116:16 - Return type does not match returned value: expected `AnyCallableT@validate_call | ((AnyCallableT@validate_call, /) -> AnyCallableT@validate_call)`, found `def validate(function: AnyCallableT@validate_call) -> AnyCallableT@validate_call`

pytest (https://github.com/pytest-dev/pytest)

src/_pytest/raises.py

[error] invalid-argument-type - :1004:33 - Argument to class `RaisesExc` is incorrect: Expected `BaseException`, found `typing.TypeVar[BaseExcT_co: BaseException]`

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

rotkehlchen/utils/misc.py

[error] invalid-argument-type - :174:29 - Method `__getitem__` of type `bound method dict[K@combine_dicts, V@combine_dicts].__getitem__(key: K@combine_dicts, /) -> V@combine_dicts` cannot be called with key of type `K@combine_dicts` on object of type `dict[K@combine_dicts, V@combine_dicts]`
[error] invalid-argument-type - :174:35 - Method `__getitem__` of type `bound method dict[K@combine_dicts, V@combine_dicts].__getitem__(key: K@combine_dicts, /) -> V@combine_dicts` cannot be called with key of type `K@combine_dicts` on object of type `dict[K@combine_dicts, V@combine_dicts]`

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

src/schemathesis/core/result.py

[error] invalid-argument-type - :27:23 - Argument to class `Err` is incorrect: Expected `Exception`, found `typing.TypeVar[E: Exception]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/cluster/tests/test_k_means.py

[error] unresolved-attribute - :1045:24 - Type `coo_matrix[float64]` has no attribute `indices`

sklearn/preprocessing/_polynomial.py

[warning] possibly-unbound-attribute - :1116:31 - Attribute `tolil` on type `csr_array[float64, tuple[int, int]] | float64` is possibly unbound
[warning] possibly-unbound-attribute - :1174:34 - Attribute `tocsr` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound
[warning] possibly-unbound-attribute - :1197:38 - Attribute `tolil` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound
[warning] possibly-unbound-attribute - :1212:38 - Attribute `tolil` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound
[warning] possibly-unbound-attribute - :1245:42 - Attribute `tolil` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound
[warning] possibly-unbound-attribute - :1261:42 - Attribute `tolil` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound
[warning] possibly-unbound-attribute - :1271:30 - Attribute `tocsr` on type `csr_array[float64, tuple[int, int]] | float64 | Unknown | lil_array[float64]` is possibly unbound

sklearn/utils/tests/test_validation.py

[error] unresolved-attribute - :721:9 - Unresolved attribute `indices` on type `coo_matrix[float64]`.
[error] unresolved-attribute - :721:21 - Type `coo_matrix[float64]` has no attribute `indices`
[error] unresolved-attribute - :722:9 - Unresolved attribute `indptr` on type `coo_matrix[float64]`.
[error] unresolved-attribute - :722:20 - Type `coo_matrix[float64]` has no attribute `indptr`

static-frame (https://github.com/static-frame/static-frame)

static_frame/test/unit/test_type_clinic.py

[error] invalid-argument-type - :2878:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: generic[Any]]`
[error] invalid-argument-type - :2879:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: generic[Any]]`
[error] invalid-argument-type - :2902:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: (signedinteger[_64Bit], float64)]`
[error] invalid-argument-type - :2903:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: (signedinteger[_64Bit], float64)]`
[error] invalid-argument-type - :2922:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: (signedinteger[_64Bit], float64)]`
[error] invalid-argument-type - :2923:9 - Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T: (signedinteger[_64Bit], float64)]`
[error] invalid-argument-type - :2947:9 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T]`
[error] invalid-argument-type - :2948:9 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `typing.TypeVar[T]`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/types/enum.py

[error] invalid-return-type - :236:16 - Return type does not match returned value: expected `EnumType@enum | ((EnumType@enum, /) -> EnumType@enum)`, found `def wrap(cls: EnumType@enum) -> EnumType@enum`
[error] invalid-return-type - :238:12 - Return type does not match returned value: expected `EnumType@enum | ((EnumType@enum, /) -> EnumType@enum)`, found `EnumType@enum`
[error] invalid-argument-type - :238:17 - Argument to function `wrap` is incorrect: Expected `EnumType@enum`, found `EnumType@enum & ~AlwaysFalsy`

strawberry/types/object_type.py

[error] invalid-return-type - :321:16 - Return type does not match returned value: expected `T@type | ((T@type, /) -> T@type)`, found `def wrap(cls: T@type) -> T@type`

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

lib/streamlit/elements/dialog_decorator.py

[error] invalid-return-type - :292:16 - 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 - Object of type `F@dialog_decorator & ~str` is not assignable to `F@dialog_decorator`
[error] invalid-return-type - :333:16 - 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 - Object of type `F@experimental_dialog_decorator & ~str` is not assignable to `F@experimental_dialog_decorator`

lib/streamlit/runtime/metrics_util.py

[error] invalid-return-type - :393:16 - Return type does not match returned value: expected `((F@gather_metrics, /) -> F@gather_metrics) | F@gather_metrics`, found `def wrapper(f: F@gather_metrics) -> F@gather_metrics`

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

sympy/polys/series/ring.py

[error] invalid-argument-type - :49:19 - Argument to class `PowerSeriesRingProto` is incorrect: Expected `RingElement[Unknown]`, found `typing.TypeVar[Er: RingElement[Unknown]]`
[error] invalid-argument-type - :49:40 - Argument to class `TSeries` is incorrect: Expected `RingElement[Unknown]`, found `typing.TypeVar[Er: RingElement[Unknown]]`

sympy/matrices/eigen.py

[error] invalid-return-type - :1283:20 - Return type does not match returned value: expected `tuple[Tmat@_jordan_form, Tmat@_jordan_form] | Tmat@_jordan_form`, found `Tmat@_jordan_form`
[error] invalid-return-type - :1289:16 - Return type does not match returned value: expected `tuple[Tmat@_jordan_form, Tmat@_jordan_form] | Tmat@_jordan_form`, found `tuple[Tmat@_jordan_form, Tmat@_jordan_form]`
[error] invalid-return-type - :1321:16 - Return type does not match returned value: expected `tuple[Tmat@_jordan_form, Tmat@_jordan_form] | Tmat@_jordan_form`, found `Tmat@_jordan_form`
[error] invalid-return-type - :1358:12 - Return type does not match returned value: expected `tuple[Tmat@_jordan_form, Tmat@_jordan_form] | Tmat@_jordan_form`, found `tuple[Tmat@_jordan_form, Tmat@_jordan_form]`

sympy/matrices/matrixbase.py

[error] invalid-return-type - :3735:16 - Return type does not match returned value: expected `tuple[Tmat@jordan_form, Tmat@jordan_form] | Tmat@jordan_form`, found `tuple[Tmat@jordan_form, Tmat@jordan_form] | Tmat@jordan_form`

sympy/polys/euclidtools.py

[error] invalid-return-type - :1901:16 - Return type does not match returned value: expected `tuple[@Todo(unknown type subscript), @Todo(unknown type subscript)] | tuple[Er@dup_cancel, Er@dup_cancel, @Todo(unknown type subscript), @Todo(unknown type subscript)]`, found `tuple[Er@dup_cancel, Er@dup_cancel, @Todo(unknown type subscript), @Todo(unknown type subscript)]`

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

src/werkzeug/datastructures/mixins.py

[error] invalid-argument-type - :238:28 -
Old: Argument is incorrect: Expected `Self`, found `UpdateDictMixin[Any, Any]`
New: Argument is incorrect: Expected `typing.Self`, found `UpdateDictMixin[Any, Any]`
[error] invalid-argument-type - :262:28 -
Old: Argument is incorrect: Expected `Self`, found `Self@setdefault`
New: Argument is incorrect: Expected `typing.Self`, found `Self@setdefault`
[error] invalid-argument-type - :282:28 -
Old: Argument is incorrect: Expected `Self`, found `Self@pop`
New: Argument is incorrect: Expected `typing.Self`, found `Self@pop`

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

zproject/dev_urls.py

[error] no-matching-overload - :75:5 - No overload of function `path` matches arguments

corporate/lib/remote_billing_util.py

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

corporate/models/customers.py

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

corporate/models/plans.py

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

corporate/tests/test_activity_views.py

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

zerver/actions/create_realm.py

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

zerver/actions/data_import.py

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

zerver/lib/bot_config.py

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

zerver/lib/bot_storage.py

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

zerver/lib/default_streams.py

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

zerver/lib/email_mirror_helpers.py

[error] unresolved-attribute - :59:12 - Type `Self` has no attribute `email_token`

zerver/lib/emoji.py

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

zerver/lib/muted_users.py

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

zerver/lib/navigation_views.py

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

zerver/lib/onboarding_steps.py

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

zerver/management/commands/create_default_stream_groups.py

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

zerver/management/commands/export.py

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

zerver/management/commands/list_realms.py

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

zerver/management/commands/restore_messages.py

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

zerver/models/bots.py

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

zerver/models/clients.py

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

zerver/models/recipients.py

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

zerver/models/streams.py

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

zerver/tests/test_channel_folders.py

[error] unresolved-attribute - :58:26 - Type `Self` has no attribute `name`
[error] unresolved-attribute - :59:26 - Type `Self` has no attribute `description`
[error] unresolved-attribute - :60:26 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :60:45 - Type `Self` has no attribute `order`
[error] unresolved-attribute - :62:57 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :78:35 - Argument to function `do_archive_channel_folder` is incorrect: Expected `ChannelFolder`, found `Self`
[error] unresolved-attribute - :97:26 - Type `Self` has no attribute `description`
[error] unresolved-attribute - :99:13 - Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :106:26 - Type `Self` has no attribute `description`
[error] unresolved-attribute - :108:13 - Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :157:56 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :164:65 - Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :167:56 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :176:65 - Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :180:60 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :189:69 - Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :209:9 - Unresolved attribute `is_archived` on type `Self`.
[error] unresolved-attribute - :245:29 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :262:26 - Type `Self` has no attribute `name`
[error] unresolved-attribute - :291:29 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :308:26 - Type `Self` has no attribute `description`
[error] unresolved-attribute - :310:13 - Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :319:26 - Type `Self` has no attribute `description`
[error] unresolved-attribute - :320:26 - Type `Self` has no attribute `rendered_description`
[error] unresolved-attribute - :333:29 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :350:25 - Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :356:26 - Type `Self` has no attribute `is_archived`
[error] invalid-argument-type - :360:41 - Argument to function `do_change_stream_folder` is incorrect: Expected `ChannelFolder | None`, found `Self`
[error] unresolved-attribute - :377:25 - Type `Self` has no attribute `is_archived`
[error] unresolved-attribute - :406:22 - Type `Self` has no attribute `id`

zerver/tests/test_drafts.py

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

zerver/tests/test_integrations_dev_panel.py

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

zerver/tests/test_mattermost_importer.py

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

zerver/tests/test_populate_db.py

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

zerver/tests/test_reactions.py

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

zerver/tests/test_read_receipts.py

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

zerver/tests/test_realm_domains.py

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

zerver/tests/test_realm_linkifiers.py

[error] unresolved-attribute - :281:17 - Type `Self` has no attribute `extra_data`

zerver/tests/test_rocketchat_importer.py

[error] unresolved-attribute - :1043:34 - Type `Self` has no attribute `rendered_content`

zerver/tests/test_settings.py

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

zerver/tests/test_submessage.py

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

zerver/tests/test_subscription_settings.py

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

zerver/tests/test_tusd.py

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

zerver/tests/test_urls.py

[error] unresolved-attribute - :78:29 - Type `Self` has no attribute `id`

zerver/views/home.py

[error] unresolved-attribute - :80:44 - Type `Self` has no attribute `email_address_visibility`

zerver/worker/deferred_work.py

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

zerver/worker/embed_links.py

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

zilencer/management/commands/add_mock_conversation.py

[error] invalid-argument-type - :130:32 - Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :136:9 - Unresolved attribute `rendered_content` on type `Self`.
[error] invalid-argument-type - :151:20 - 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 - Argument to function `maybe_update_first_visible_message_id` is incorrect: Expected `Realm`, found `Self`

zilencer/models.py

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

analytics/lib/counts.py

[error] unresolved-attribute - :83:12 - Type `Self` has no attribute `state`
[error] unresolved-attribute - :84:20 - Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :85:16 - Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :164:10 - Type `Self` has no attribute `state`
[error] unresolved-attribute - :165:56 - Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :166:40 - Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :167:28 - Type `Self` has no attribute `end_time`
[error] invalid-argument-type - :168:30 - Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self`
[error] unresolved-attribute - :170:10 - Type `Self` has no attribute `state`
[error] unresolved-attribute - :171:28 - Type `Self` has no attribute `end_time`
[error] unresolved-attribute - :173:68 - Type `Self` has no attribute `state`
[error] invalid-argument-type - :189:30 - Argument to function `do_update_fill_state` is incorrect: Expected `FillState`, found `Self`
[error] invalid-argument-type - :191:30 - 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 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :125:9 - Unresolved attribute `recipient` on type `Self`.
[error] invalid-argument-type - :131:13 - Argument to function `create_stream_subscription` is incorrect: Expected `Recipient`, found `Self`
[error] invalid-argument-type - :132:13 - Argument to function `create_stream_subscription` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :292:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :293:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :297:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :298:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :299:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :300:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :301:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :302:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :303:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :304:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :305:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :306:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :310:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :311:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :312:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :313:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :314:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :315:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :316:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :317:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :318:13 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :319:13 - Type `Self` has no attribute `id`

analytics/tests/test_counts.py

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

analytics/tests/test_stats_views.py

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

analytics/views/stats.py

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

confirmation/models.py

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

corporate/lib/decorator.py

[error] unresolved-attribute - :118:40 - Type `Self` has no attribute `host`

corporate/lib/stripe.py

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

corporate/lib/support.py

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

corporate/models/stripe_state.py

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

corporate/tests/test_remote_billing.py

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

corporate/tests/test_stripe.py

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

corporate/tests/test_support_views.py

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

corporate/views/audit_logs.py

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

corporate/views/plan_activity.py

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

corporate/views/portico.py

[error] invalid-assignment - :186:17 - Object of type `Self` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`
[warning] possibly-unbound-attribute - :195:51 - Attribute `tier` on type `CustomerPlan | None` is possibly unbound
[error] invalid-assignment - :254:17 - Object of type `Self` is not assignable to attribute `scheduled_upgrade_plan` of type `CustomerPlan | None`
[warning] possibly-unbound-attribute - :263:51 - Attribute `tier` on type `CustomerPlan | None` is possibly unbound

corporate/views/realm_activity.py

[error] unresolved-attribute - :156:18 - Type `Self` has no attribute `get_human_admin_users`

corporate/views/remote_billing_page.py

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

corporate/views/support.py

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

corporate/views/webhook.py

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

zerver/actions/channel_folders.py

[error] unresolved-attribute - :29:5 - Unresolved attribute `order` on type `Self`.
[error] unresolved-attribute - :29:28 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :44:48 - Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self`
[error] invalid-return-type - :48:12 - Return type does not match returned value: expected `ChannelFolder`, found `Self`
[error] unresolved-attribute - :56:12 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :59:9 - Unresolved attribute `order` on type `Self`.
[error] unresolved-attribute - :59:46 - Type `Self` has no attribute `id`

zerver/actions/create_user.py

[error] unresolved-attribute - :227:44 - Type `Self` has no attribute `message_id`
[error] unresolved-attribute - :228:47 - Type `Self` has no attribute `message_id`
[error] invalid-argument-type - :793:9 - 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 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :800:20 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :622:28 - Argument to function `do_send_user_group_members_update_event` is incorrect: Expected `NamedUserGroup`, found `Self`

zerver/actions/custom_profile_fields.py

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

zerver/actions/default_streams.py

[error] unresolved-attribute - :109:5 - Type `Self` has no attribute `streams`

zerver/actions/invites.py

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

zerver/actions/message_edit.py

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

zerver/actions/message_send.py

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

zerver/actions/navigation_views.py

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

zerver/actions/presence.py

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

zerver/actions/reactions.py

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

zerver/actions/realm_domains.py

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

zerver/actions/realm_emoji.py

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

zerver/actions/realm_linkifiers.py

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

zerver/actions/realm_settings.py

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

zerver/actions/saved_snippets.py

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

zerver/actions/streams.py

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

zerver/actions/uploads.py

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

zerver/actions/user_groups.py

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

zerver/actions/user_settings.py

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

zerver/actions/users.py

[error] unresolved-attribute - :887:29 - Type `Self` has no attribute `user_profile_id`

zerver/lib/attachments.py

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

zerver/lib/bulk_create.py

[error] unresolved-attribute - :48:36 - Type `Self` has no attribute `email_address_visibility`

zerver/lib/channel_folders.py

[error] invalid-argument-type - :67:48 - Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self | Unknown`
[error] invalid-return-type - :74:16 - Return type does not match returned value: expected `ChannelFolder`, found `Self`
[error] invalid-argument-type - :84:48 - Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self`

zerver/lib/create_user.py

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

zerver/lib/display_recipient.py

[error] invalid-return-type - :107:16 - 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 - Type `Self` has no attribute `to_dict`
[error] invalid-return-type - :129:12 - Return type does not match returned value: expected `list[Draft]`, found `list[Self]`
[error] unresolved-attribute - :141:5 - Unresolved attribute `content` on type `Self`.
[error] unresolved-attribute - :142:5 - Unresolved attribute `topic` on type `Self`.
[error] unresolved-attribute - :143:5 - Unresolved attribute `recipient_id` on type `Self`.
[error] unresolved-attribute - :144:5 - Unresolved attribute `last_edit_time` on type `Self`.
[error] unresolved-attribute - :149:61 - Type `Self` has no attribute `to_dict`
[error] unresolved-attribute - :161:16 - Type `Self` has no attribute `id`

zerver/lib/email_mirror.py

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

zerver/lib/email_notifications.py

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

zerver/lib/events.py

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

zerver/lib/export.py

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

zerver/lib/import_realm.py

[error] unresolved-attribute - :863:65 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1238:28 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1426:9 - Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1426:53 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1431:9 - Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1431:69 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1441:13 - Unresolved attribute `creator_id` on type `Self`.
[error] unresolved-attribute - :1441:66 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1463:12 - Type `Self` has no attribute `author_id`
[error] unresolved-attribute - :1465:13 - Unresolved attribute `author_id` on type `Self`.
[error] invalid-argument-type - :1503:56 - 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 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1562:13 - Unresolved attribute `recipient` on type `Self`.

zerver/lib/invites.py

[error] invalid-argument-type - :25:9 - 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 - Return type does not match returned value: expected `Realm | None`, found `Self`
[error] invalid-return-type - :176:20 - Return type does not match returned value: expected `Realm | None`, found `Self`

zerver/lib/mention.py

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

zerver/lib/message.py

[error] invalid-argument-type - :405:9 - Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
[error] invalid-return-type - :410:16 - Return type does not match returned value: expected `Message`, found `Self | Unknown`
[error] invalid-argument-type - :438:9 - Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
[error] invalid-return-type - :443:16 - Return type does not match returned value: expected `tuple[Message, UserMessage | None]`, found `tuple[Self | Unknown, UserMessage | None]`
[error] unresolved-attribute - :467:12 - Type `Self` has no attribute `is_stream_message`
[error] unresolved-attribute - :472:34 - Type `Self` has no attribute `recipient`
[error] invalid-return-type - :485:12 - Return type does not match returned value: expected `Message`, found `Self`
[warning] possibly-unbound-attribute - :565:33 - Attribute `deactivated` on type `Stream | None` is possibly unbound
[warning] possibly-unbound-attribute - :569:8 - Attribute `is_public` on type `Stream | None` is possibly unbound
[warning] possibly-unbound-attribute - :572:12 - Attribute `is_history_public_to_subscribers` on type `Stream | None` is possibly unbound
[error] invalid-argument-type - :578:13 - Argument to function `has_channel_content_access_helper` is incorrect: Expected `Stream`, found `Stream | None`
[error] invalid-argument-type - :583:9 - Argument to function `has_channel_content_access_helper` is incorrect: Expected `Stream`, found `Stream | None`
[error] invalid-assignment - :623:9 - Object of type `Self` is not assignable to `Stream | None`
[warning] possibly-unbound-attribute - :632:12 - Attribute `is_history_public_to_subscribers` on type `Stream | None` is possibly unbound
[warning] possibly-unbound-attribute - :635:20 - Attribute `is_public` on type `Stream | None` is possibly unbound
[warning] possibly-unbound-attribute - :641:12 - Attribute `is_public` on type `Stream | None` is possibly unbound
[error] unresolved-attribute - :692:13 - Type `Self` has no attribute `recipient_id`
[error] invalid-return-type - :745:16 - Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :769:12 - Return type does not match returned value: expected `QuerySet[UserMessage, int]`, found `QuerySet[Self, Any]`
[error] unresolved-attribute - :1706:33 - Type `Self` has no attribute `visibility_policy`
[error] unresolved-attribute - :1742:16 - Type `Self` has no attribute `group_size`
[error] invalid-assignment - :557:9 - Object of type `Self` is not assignable to `Stream | None`
[error] unresolved-attribute - :561:8 - Type `Stream | None` has no attribute `realm_id`
[warning] possibly-unbound-attribute - :561:8 - Attribute `realm_id` on type `Stream | Unknown` is possibly unbound

zerver/lib/message_cache.py

[error] invalid-argument-type - :366:59 - 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 - Argument to function `save_message_rendered_content` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :317:24 - Type `Self` has no attribute `realm_id`

zerver/lib/notification_data.py

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

zerver/lib/onboarding.py

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

zerver/lib/push_notifications.py

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

zerver/lib/recipient_users.py

[error] unresolved-attribute - :82:12 - Type `DirectMessageGroup | Self` has no attribute `recipient_id`
[warning] possibly-unbound-attribute - :82:12 - Attribute `recipient_id` on type `DirectMessageGroup | Unknown` is possibly unbound
[error] unresolved-attribute - :84:17 - Type `DirectMessageGroup | Self` has no attribute `id`
[warning] possibly-unbound-attribute - :84:17 - Attribute `id` on type `DirectMessageGroup | Unknown` is possibly unbound

zerver/lib/reminders.py

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

zerver/lib/remote_server.py

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

zerver/lib/rest.py

[error] invalid-argument-type - :215:43 - Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | typing.TypeVar[_F: (...) -> Any]`
[error] call-non-callable - :217:12 - Object of type `TypeVar` is not callable
[error] invalid-argument-type - :189:40 -
Old: Argument is incorrect: Expected `_F`, found `(...) -> HttpResponse`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `(...) -> HttpResponse`
[error] invalid-argument-type - :205:40 -
Old: Argument is incorrect: Expected `_F`, found `(...) -> HttpResponse`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `(...) -> HttpResponse`

zerver/lib/retention.py

[error] unresolved-attribute - :151:48 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :170:17 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :427:27 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :428:34 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :637:44 - 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 - Return type does not match returned value: expected `ScheduledMessage`, found `Self`

zerver/lib/send_email.py

[error] unresolved-attribute - :472:17 - Type `Self` has no attribute `users`
[error] unresolved-attribute - :476:17 - 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`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :53:32 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :54:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :60:32 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :61:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :66:24 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :71:47 -
Old: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `Self`
New: Argument to function `get_session_user_id` is incorrect: Expected `Session`, found `typing.Self`
[error] invalid-argument-type - :77:28 -
Old: Argument to function `delete_session` is incorrect: Expected `Session`, found `Self`
New: Argument to function `delete_session` is incorrect: Expected `Session`, found `typing.Self`

zerver/lib/soft_deactivation.py

[error] unresolved-attribute - :265:47 - Type `Self` has no attribute `id`

zerver/lib/stream_subscription.py

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

zerver/lib/streams.py

[error] unresolved-attribute - :411:54 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :413:9 - Unresolved attribute `recipient` on type `Self`.
[error] unresolved-attribute - :414:9 - Unresolved attribute `rendered_description` on type `Self`.
[error] unresolved-attribute - :431:12 - Type `Self` has no attribute `is_public`
[error] unresolved-attribute - :432:16 - Type `Self` has no attribute `is_web_public`
[error] unresolved-attribute - :433:51 - Type `Self` has no attribute `realm_id`
[error] unresolved-attribute - :438:61 - Type `Self` has no attribute `realm_id`
[error] invalid-argument-type - :441:17 - Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
[error] unresolved-attribute - :446:52 - Type `Self` has no attribute `realm`
[error] invalid-argument-type - :449:17 - Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :452:79 - Argument to function `get_user_ids_with_metadata_access_via_permission_groups` is incorrect: Expected `Stream`, found `Self`
[error] invalid-return-type - :457:12 - Return type does not match returned value: expected `tuple[Stream, bool]`, found `tuple[Self, bool]`
[error] unresolved-attribute - :806:50 - Type `Self` has no attribute `recipient`
[error] invalid-argument-type - :811:86 - 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 - 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 - Return type does not match returned value: expected `tuple[Stream, Subscription | None]`, found `tuple[Self, Self | None]`
[error] invalid-return-type - :917:16 - Return type does not match returned value: expected `Subscription | None`, found `Self | None`
[error] invalid-return-type - :975:12 - Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :980:12 - Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
[error] invalid-return-type - :1065:12 - Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :1593:16 - Return type does not match returned value: expected `DefaultStreamGroup`, found `Self`
[error] invalid-argument-type - :1951:49 - Argument to function `notify_stream_is_recently_active_update` is incorrect: Expected `Stream`, found `Self`
[error] invalid-argument-type - :1963:56 - Argument to function `update_stream_active_status_for_realm` is incorrect: Expected `Realm`, found `Self`
[error] invalid-return-type - :1989:12 - 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 - Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :1192:13 - Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :1216:13 - Argument to function `check_send_stream_message` is incorrect: Expected `Client`, found `Self`
[error] unresolved-attribute - :1292:51 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1295:17 - Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :1299:51 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1461:26 - Type `Self` has no attribute `name`
[error] unresolved-attribute - :1542:54 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1543:9 - Unresolved attribute `recipient` on type `Self`.
[error] invalid-return-type - :1545:16 - Return type does not match returned value: expected `Stream`, found `Self`
[error] invalid-return-type - :1715:16 - Return type does not match returned value: expected `Message`, found `Self`
[error] invalid-return-type - :1878:16 - Return type does not match returned value: expected `tuple[CustomerPlan, LicenseLedger]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :1963:17 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :1970:34 - Type `Self` has no attribute `emoji_code`
[error] unresolved-attribute - :1972:56 - Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :1973:60 - Type `Self` has no attribute `user_profile`
[error] unresolved-attribute - :1977:34 - Type `Self` has no attribute `emoji_code`
[error] unresolved-attribute - :1979:56 - Type `Self` has no attribute `emoji_name`
[error] unresolved-attribute - :1980:60 - Type `Self` has no attribute `user_profile`
[error] invalid-argument-type - :2051:50 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2067:9 - Type `Self` has no attribute `direct_members`
[error] unresolved-attribute - :2068:9 - Type `Self` has no attribute `direct_subgroups`
[error] invalid-return-type - :2069:16 - Return type does not match returned value: expected `UserGroup`, found `Self`
[error] invalid-return-type - :2894:16 - Return type does not match returned value: expected `tuple[RemotePushDevice, RemotePushDevice]`, found `tuple[Self, Self]`
[error] invalid-return-type - :2911:16 - Return type does not match returned value: expected `tuple[PushDeviceToken, PushDeviceToken]`, found `tuple[Self, Self]`
[error] unresolved-attribute - :1460:26 - Type `Self` has no attribute `recipient_id`

zerver/lib/test_helpers.py

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

zerver/lib/thumbnail.py

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

zerver/lib/topic.py

[error] invalid-return-type - :73:12 - Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :182:67 - 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 - 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 - :124:43 - Argument to function `_transfer_message_files_to_s3` is incorrect: Expected `Attachment`, found `Self`
[error] invalid-argument-type - :170:35 - Argument to function `_transfer_emoji_to_s3` is incorrect: Expected `RealmEmoji`, found `Self`

zerver/lib/upload/__init__.py

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

zerver/lib/user_groups.py

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

zerver/lib/user_topics.py

[error] unresolved-attribute - :125:29 - Type `Self` has no attribute `visibility_policy`

zerver/lib/users.py

[error] unresolved-attribute - :539:51 - Type `Self` has no attribute `editable_by_user`
[error] invalid-argument-type - :547:58 - 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 - Return type does not match returned value: expected `RealmAuditLog | None`, found `Self | None`
[error] unresolved-attribute - :580:21 - Type `Self` has no attribute `extra_data`

zerver/management/commands/export_search.py

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

zerver/management/commands/send_custom_email.py

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

zerver/management/commands/unarchive_channel.py

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

zerver/models/messages.py

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

zerver/models/realms.py

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

zerver/models/users.py

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

zerver/openapi/curl_param_value_generators.py

[error] invalid-argument-type - :136:35 - Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
[error] invalid-argument-type - :245:32 - Argument to function `update_user_presence` is incorrect: Expected `Client`, found `Self`
[error] unresolved-attribute - :290:26 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :309:26 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :415:23 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :221:33 - Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self`
[error] invalid-argument-type - :234:59 - Argument to function `do_events_register` is incorrect: Expected `Client`, found `Self`

zerver/tests/test_audit_log.py

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

zerver/tests/test_auth_backends.py

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

zerver/tests/test_bots.py

[error] invalid-argument-type - :330:13 - Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-argument-type - :859:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :866:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :878:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :890:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :942:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :984:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :996:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :1008:13 - 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 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :195:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :385:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :415:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :593:47 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`

zerver/tests/test_channel_creation.py

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

zerver/tests/test_channel_fetch.py

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

zerver/tests/test_channel_permissions.py

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

zerver/tests/test_custom_profile_data.py

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

zerver/tests/test_delete_unclaimed_attachments.py

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

zerver/tests/test_digest.py

[error] unresolved-attribute - :290:30 - Type `Self` has no attribute `event_last_message_id`

zerver/tests/test_docs.py

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

zerver/tests/test_e2ee_push_notifications.py

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

zerver/tests/test_email_change.py

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

zerver/tests/test_email_mirror.py

[error] unresolved-attribute - :456:27 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :467:26 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :676:48 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :748:48 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] unresolved-attribute - :890:31 - Type `Self` has no attribute `messages`
[error] unresolved-attribute - :892:26 - Type `Self` has no attribute `realm`
[error] unresolved-attribute - :893:26 - Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :927:31 - Type `Self` has no attribute `messages`
[error] unresolved-attribute - :929:26 - Type `Self` has no attribute `realm`
[error] unresolved-attribute - :930:26 - Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :933:71 - Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :1153:26 - Type `Self` has no attribute `realm`
[error] unresolved-attribute - :1154:26 - Type `Self` has no attribute `owner`
[error] unresolved-attribute - :1155:26 - Type `Self` has no attribute `is_realm_public`
[error] unresolved-attribute - :1156:31 - Type `Self` has no attribute `messages`
[error] invalid-argument-type - :1406:47 - 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 - 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 - 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 - Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
[error] unresolved-attribute - :637:74 - Type `Self` has no attribute `id`

zerver/tests/test_events.py

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

zerver/tests/test_example.py

[error] unresolved-attribute - :249:26 - Type `Self` has no attribute `user_profile_id`
[error] unresolved-attribute - :250:26 - Type `Self` has no attribute `status_text`
[error] invalid-argument-type - :458:13 - 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 - Type `Self` has no attribute `token`
[error] unresolved-attribute - :105:36 - Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :271:27 - Type `Self` has no attribute `token`
[error] unresolved-attribute - :273:32 - Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :281:27 - Type `Self` has no attribute `token`
[error] unresolved-attribute - :283:32 - Type `Self` has no attribute `ios_app_id`
[error] unresolved-attribute - :388:9 - Type `Self` has no attribute `flags`
[error] unresolved-attribute - :672:30 - Type `Self` has no attribute `flags`
[error] unresolved-attribute - :747:30 - Type `Self` has no attribute `flags`

zerver/tests/test_home.py

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

zerver/tests/test_import_export.py

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

zerver/tests/test_invite.py

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

zerver/tests/test_link_embed.py

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

zerver/tests/test_management_commands.py

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

zerver/tests/test_markdown.py

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

zerver/tests/test_markdown_thumbnail.py

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

zerver/tests/test_message_delete.py

[error] invalid-argument-type - :241:13 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :241:42 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :258:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :258:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :261:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :271:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :271:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :274:9 - Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :279:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :302:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :302:59 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :318:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :318:62 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :321:9 - Type `Self` has no attribute `date_sent`
[error] unresolved-attribute - :326:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :412:13 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :412:38 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :434:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :434:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :443:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :443:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :446:9 - Unresolved attribute `date_sent` on type `Self`.
[error] invalid-argument-type - :460:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :460:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :465:37 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :465:66 - Argument to function `set_message_deleting_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :467:9 - Unresolved attribute `date_sent` on type `Self`.
[error] unresolved-attribute - :473:9 - Unresolved attribute `date_sent` on type `Self`.
[error] invalid-argument-type - :534:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :540:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :555:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :561:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :619:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :625:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :642:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :655:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :661:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :676:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :734:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :740:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :755:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :772:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :781:52 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :791:52 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :797:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :810:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :816:13 - Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
[error] invalid-argument-type - :827:13 - 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 - Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :216:26 - Type `Self` has no attribute `rendered_content`
[error] unresolved-attribute - :217:26 - Type `Self` has no attribute `rendered_content_version`
[error] invalid-return-type - :272:20 - Return type does not match returned value: expected `Message`, found `Self`
[error] unresolved-attribute - :309:66 - Type `Self` has no attribute `emoji_name`
[error] invalid-argument-type - :737:48 - 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 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :49:26 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :61:30 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :69:23 - Type `Self` has no attribute `realm`
[error] unresolved-attribute - :78:13 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :82:13 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :86:13 - Type `Self` has no attribute `sender_id`
[error] unresolved-attribute - :89:12 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :90:49 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :110:37 - Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :112:40 - Type `Self` has no attribute `flags_list`
[error] unresolved-attribute - :201:26 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :488:19 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :510:19 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :541:19 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :717:9 - Unresolved attribute `rendered_content` on type `Self`.
[error] unresolved-attribute - :730:9 - Unresolved attribute `rendered_content` on type `Self`.
[error] invalid-argument-type - :810:61 - Argument to function `get_mentions_for_message_updates` is incorrect: Expected `Message`, found `Self`
[error] unresolved-attribute - :920:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :941:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :958:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :973:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :998:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1011:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1031:51 - Type `Self` has no attribute `edit_history`
[error] unresolved-attribute - :1283:34 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1291:30 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1292:27 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :1303:30 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1304:30 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :1312:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1321:47 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1325:47 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1330:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1336:48 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1339:48 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1341:48 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1343:56 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1402:30 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1409:30 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1410:27 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :1417:30 - Type `Self` has no attribute `topic_name`
[error] unresolved-attribute - :1418:30 - Type `Self` has no attribute `content`
[error] unresolved-attribute - :1425:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1453:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1457:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1464:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1489:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1500:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1506:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] invalid-argument-type - :1516:56 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1521:9 - Type `Self` has no attribute `date_sent`
[error] invalid-argument-type - :1523:55 - Argument to function `set_message_editing_params` is incorrect: Expected `NamedUserGroup`, found `Self`
[error] unresolved-attribute - :1534:9 - Type `Self` has no attribute `set_topic_name`
[error] invalid-argument-type - :1839:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :2027:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :2080:13 - Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2094:16 - Type `Self` has no attribute `flags`
[error] unresolved-attribute - :2330:50 - Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2342:50 - Type `Self` has no attribute `path_id`
[error] unresolved-attribute - :2674:13 - Unresolved attribute `is_muted` on type `Self`.

zerver/tests/test_message_edit_notifications.py

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

zerver/tests/test_message_fetch.py

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

zerver/tests/test_message_flags.py

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

zerver/tests/test_message_move_stream.py

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

zerver/tests/test_message_move_topic.py

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

zerver/tests/test_message_send.py

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

zerver/tests/test_new_users.py

[error] unresolved-attribute - :289:26 - Type `Self` has no attribute `name`

zerver/tests/test_onboarding_steps.py

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

zerver/tests/test_outgoing_webhook_interfaces.py

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

zerver/tests/test_presence.py

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

zerver/tests/test_push_notifications.py

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

zerver/tests/test_push_registration.py

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

zerver/tests/test_queue_worker.py

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

zerver/tests/test_realm.py

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

zerver/tests/test_realm_emoji.py

[error] invalid-return-type - :38:16 - Return type does not match returned value: expected `RealmEmoji`, found `Self`
[error] invalid-argument-type - :71:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] unresolved-attribute - :92:16 - Type `Self` has no attribute `author`
[error] unresolved-attribute - :93:26 - Type `Self` has no attribute `author`
[error] unresolved-attribute - :98:43 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :123:16 - Type `Self` has no attribute `author`
[error] unresolved-attribute - :124:26 - Type `Self` has no attribute `author`
[error] unresolved-attribute - :128:54 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :131:36 - Type `Self` has no attribute `id`
[error] invalid-argument-type - :195:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :215:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :236:13 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
[error] invalid-argument-type - :259:13 - 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 - Type `Self` has no attribute `acting_user_id`
[error] unresolved-attribute - :72:26 - Type `Self` has no attribute `status`
[error] unresolved-attribute - :75:23 - Type `Self` has no attribute `export_path`
[error] unresolved-attribute - :86:48 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :99:59 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :106:26 - Type `Self` has no attribute `status`
[error] unresolved-attribute - :107:30 - Type `Self` has no attribute `date_deleted`
[error] unresolved-attribute - :108:59 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :169:26 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :170:26 - Type `Self` has no attribute `acting_user_id`
[error] unresolved-attribute - :171:26 - Type `Self` has no attribute `status`
[error] unresolved-attribute - :174:23 - Type `Self` has no attribute `export_path`
[error] unresolved-attribute - :185:48 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :191:59 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :198:26 - Type `Self` has no attribute `status`
[error] unresolved-attribute - :199:30 - Type `Self` has no attribute `date_deleted`
[error] unresolved-attribute - :200:59 - Type `Self` has no attribute `id`
[error] unresolved-attribute - :276:26 - Type `Self` has no attribute `status`
[error] unresolved-attribute - :352:9 - Unresolved attribute `value` on type `Self`.

zerver/tests/test_reminders.py

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

zerver/tests/test_retention.py

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

zerver/tests/test_scheduled_messages.py

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

zerver/tests/test_service_bot_system.py

[error] unresolved-attribute - :631:31 - Type `Self` has no attribute `flags_list`

zerver/tests/test_signup.py

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

zerver/tests/test_slack_importer.py

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

zerver/tests/test_subs.py

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

zerver/tests/test_thumbnail.py

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

zerver/tests/test_upload.py

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

zerver/tests/test_upload_local.py

[error] unresolved-attribute - :46:39 - Type `Self` has no attribute `size`

zerver/tests/test_upload_s3.py

[error] unresolved-attribute - :68:39 - Type `Self` has no attribute `size`

zerver/tests/test_user_groups.py

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

zerver/tests/test_user_topics.py

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

zerver/tests/test_users.py

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

zerver/tests/test_widgets.py

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

zerver/tests/test_zilencer_analytics.py

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

zerver/tests/test_zulip_update_announcements.py

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

zerver/views/auth.py

[error] invalid-return-type - :138:12 - Return type does not match returned value: expected `PreregistrationUser`, found `Self`
[error] invalid-return-type - :156:12 - Return type does not match returned value: expected `PreregistrationRealm`, found `Self`
[error] invalid-argument-type - :280:17 - Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
[error] invalid-argument-type - :1165:43 - Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self | None`
[error] invalid-argument-type - :1169:64 - Argument to function `auth_enabled_helper` is incorrect: Expected `Realm | None`, found `Self | None`
[error] invalid-argument-type - :1178:1 -
Old: Argument is incorrect: Expected `_F`, found `def api_get_server_settings(request: HttpRequest) -> HttpResponse`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `def api_get_server_settings(request: HttpRequest) -> HttpResponse`

zerver/views/custom_profile_fields.py

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

zerver/views/development/email_log.py

[error] unresolved-attribute - :87:77 - Type `Self` has no attribute `host`
[error] unresolved-attribute - :131:11 - Type `Self` has no attribute `confirmation_key`
[error] invalid-argument-type - :52:1 -
Old: Argument is incorrect: Expected `_F`, found `def generate_all_emails(request: HttpRequest) -> HttpResponse`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `def generate_all_emails(request: HttpRequest) -> HttpResponse`

zerver/views/invite.py

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

zerver/views/message_fetch.py

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

zerver/views/presence.py

[error] unresolved-attribute - :220:43 - Type `Self` has no attribute `last_visit`

zerver/views/push_notifications.py

[error] invalid-argument-type - :108:47 - 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 - Argument to function `validate_authentication_methods_dict_from_api` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :227:26 - Type `Self` has no attribute `get_enabled_video_chat_providers`
[error] unresolved-attribute - :245:9 - Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :251:9 - Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :271:8 - Type `Self` has no attribute `demo_organization_scheduled_deletion_date`
[error] invalid-argument-type - :272:47 - Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :275:9 - Type `Self` has no attribute `ensure_not_on_limited_plan`
[error] unresolved-attribute - :278:9 - Type `Self` has no attribute `can_enable_restricted_user_access_for_guests`
[error] invalid-argument-type - :288:13 - Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :303:13 - Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :318:13 - Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :335:13 - Argument to function `parse_and_set_setting_value_if_required` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :358:41 - Type `Self` has no attribute `jitsi_server_url`
[error] invalid-argument-type - :360:17 - Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :378:17 - Type `Self` has no attribute `property_types`
[error] invalid-argument-type - :387:35 - Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :423:21 - Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :435:9 - Type `Self` has no attribute `authentication_methods_dict`
[error] invalid-argument-type - :437:45 - Argument to function `do_set_realm_authentication_methods` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :443:9 - Type `Self` has no attribute `moderation_request_channel`
[error] unresolved-attribute - :444:12 - Type `Self` has no attribute `moderation_request_channel`
[error] invalid-argument-type - :452:13 - Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :460:9 - Type `Self` has no attribute `new_stream_announcements_stream`
[error] unresolved-attribute - :461:13 - Type `Self` has no attribute `new_stream_announcements_stream`
[error] invalid-argument-type - :471:13 - Argument to function `do_set_realm_new_stream_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :479:9 - Type `Self` has no attribute `signup_announcements_stream`
[error] unresolved-attribute - :480:12 - Type `Self` has no attribute `signup_announcements_stream`
[error] invalid-argument-type - :488:13 - Argument to function `do_set_realm_signup_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :496:9 - Type `Self` has no attribute `zulip_update_announcements_stream`
[error] unresolved-attribute - :497:12 - Type `Self` has no attribute `zulip_update_announcements_stream`
[error] invalid-argument-type - :507:13 - Argument to function `do_set_realm_zulip_update_announcements_stream` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :517:12 - Type `Self` has no attribute `demo_organization_scheduled_deletion_date`
[error] invalid-argument-type - :519:47 - Argument to function `check_demo_organization_has_set_email` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :525:35 - Argument to function `do_change_realm_subdomain` is incorrect: Expected `Realm`, found `Self`
[error] unresolved-attribute - :526:29 - Type `Self` has no attribute `url`
[error] unresolved-attribute - :527:29 - Type `Self` has no attribute `url`
[error] invalid-argument-type - :530:34 - Argument to function `do_change_realm_org_type` is incorrect: Expected `Realm`, found `Self`
[error] invalid-argument-type - :756:47 - Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
[error] invalid-argument-type - :573:1 -
Old: Argument is incorrect: Expected `_F`, found `def check_subdomain_available(request: HttpRequest, subdomain: str) -> HttpResponse`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `def check_subdomain_available(request: HttpRequest, subdomain: str) -> HttpResponse`

zerver/views/realm_domains.py

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

zerver/views/realm_export.py

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

zerver/views/realm_playgrounds.py

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

zerver/views/registration.py

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

zerver/views/report.py

[error] invalid-argument-type - :13:1 - Argument to function `csrf_exempt` is incorrect: Argument type `typing.TypeVar[_F: (...) -> Any]` does not satisfy upper bound of type variable `_F`
[error] invalid-argument-type - :14:1 -
Old: Argument is incorrect: Expected `_F`, found `(...) -> Unknown`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `(...) -> Unknown`

zerver/views/upload.py

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

zerver/views/video_calls.py

[error] invalid-argument-type - :297:1 - Argument to function `csrf_exempt` is incorrect: Argument type `typing.TypeVar[_F: (...) -> Any]` does not satisfy upper bound of type variable `_F`
[error] invalid-argument-type - :298:1 -
Old: Argument is incorrect: Expected `_F`, found `(...) -> Unknown`
New: Argument is incorrect: Expected `typing.TypeVar[_F: (...) -> Any]`, found `(...) -> Unknown`

zerver/worker/missedmessage_emails.py

[error] unresolved-attribute - :62:35 - Type `Self` has no attribute `scheduled_timestamp`

zerver/worker/thumbnail.py

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

zilencer/lib/push_notifications.py

[error] unresolved-attribute - :135:9 - Type `Self` has no attribute `device_id`

zilencer/management/commands/populate_billing_realms.py

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

zilencer/management/commands/populate_db.py

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

zilencer/management/commands/render_messages.py

[error] unresolved-attribute - :40:47 - Type `Self` has no attribute `id`

zilencer/views.py

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

zproject/backends.py

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

zproject/urls.py

[error] no-matching-overload - :304:5 - No overload of function `path` matches arguments
[error] no-matching-overload - :823:5 - No overload of function `path` matches arguments