Summary

Comparing branches/commits:
Old: main (merge base) e0f4f25d
New: 19604/merge f3d0666f
Lint Rule Removed Added Changed
Total 15 164 5098
unresolved-attribute 0 0 2893
invalid-argument-type 4 113 1376
possibly-unbound-attribute 0 0 512
invalid-return-type 0 40 242
invalid-assignment 3 2 42
invalid-parameter-default 0 1 8
call-non-callable 0 2 6
no-matching-overload 7 0 0
invalid-super-argument 0 0 6
type-assertion-failure 0 6 0
unsupported-operator 0 0 6
inconsistent-mro 0 0 3
redundant-cast 0 0 3
non-subscriptable 0 0 1
unused-ignore-comment 1 0 0

AutoSplit (https://github.com/Toufool/AutoSplit)

src/split_parser.py

[error] invalid-return-type - :47:16 -
Old: Return type does not match returned value: expected `FileFlagValueT`, found `str | int | float`
New: Return type does not match returned value: expected `FileFlagValueT@__value_from_filename`, found `str | int | float`

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

expression/collections/block.py

[error] invalid-return-type - :271:16 -
Old: Return type does not match returned value: expected `_TSourceSum | Literal[0]`, found `int`
New: Return type does not match returned value: expected `_TSourceSum@sum | Literal[0]`, found `int`
[error] invalid-return-type - :934:12 -
Old: Return type does not match returned value: expected `_TSourceSum | Literal[0]`, found `int`
New: Return type does not match returned value: expected `_TSourceSum@sum | Literal[0]`, found `int`

expression/collections/seq.py

[error] invalid-argument-type - :444:24 - Argument is incorrect: Expected `_TSource@choose`, found `_TSource@mapper`
[error] invalid-argument-type - :637:41 -
Old: Argument to function `init_infinite` is incorrect: Expected `(int, /) -> Unknown`, found `def identity(value: _A) -> _A`
New: Argument to function `init_infinite` is incorrect: Expected `(int, /) -> Unknown`, found `def identity(value: _A@identity) -> _A@identity`

expression/core/option.py

[error] invalid-return-type - :221:16 - Return type does not match returned value: expected `Option[_TSource@of_optional]`, found `Option[_TSource@of_optional | None]`

expression/core/result.py

[error] invalid-return-type - :85:73 -
Old: Function can implicitly return `None`, which is not assignable to return type `_TSource | _TSourceOut`
New: Function can implicitly return `None`, which is not assignable to return type `_TSource@default_with | _TSourceOut@Result`
[error] invalid-return-type - :97:65 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult, _TErrorOut]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult@map, _TErrorOut@Result]`
[error] invalid-return-type - :113:10 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult, _TErrorOut]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult@map2, _TErrorOut@Result]`
[error] invalid-return-type - :125:70 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TSourceOut, _TResult]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TSourceOut@Result, _TResult@map_error]`
[error] invalid-return-type - :137:86 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult, _TErrorOut]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult@bind, _TErrorOut@Result]`
[error] invalid-return-type - :177:10 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TSourceOut, _TErrorOut]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TSourceOut@Result, _TErrorOut@Result]`
[error] invalid-return-type - :191:23 -
Old: Function can implicitly return `None`, which is not assignable to return type `dict[str, _TSourceOut | _TErrorOut | Literal["ok", "error"]]`
New: Function can implicitly return `None`, which is not assignable to return type `dict[str, _TSourceOut@Result | _TErrorOut@Result | Literal["ok", "error"]]`
[error] invalid-return-type - :205:23 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TErrorOut, _TSourceOut]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TErrorOut@Result, _TSourceOut@Result]`

expression/effect/async_result.py

[error] invalid-return-type - :32:10 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult, _TError]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TResult@bind, _TError@AsyncResultBuilder]`
[error] invalid-return-type - :79:94 -
Old: Function can implicitly return `None`, which is not assignable to return type `Result[_TSource, _TError]`
New: Function can implicitly return `None`, which is not assignable to return type `Result[_TSource@AsyncResultBuilder, _TError@AsyncResultBuilder]`

expression/extra/option/pipeline.py

[error] invalid-argument-type - :91:19 -
Old: Argument to function `reduce` is incorrect: Expected `(def Some(value: _T1) -> Option[_T1], Unknown, /) -> def Some(value: _T1) -> Option[_T1]`, found `def reducer(acc: (Any, /) -> Option[Any], fn: (Any, /) -> Option[Any]) -> (Any, /) -> Option[Any]`
New: Argument to function `reduce` is incorrect: Expected `(def Some(value: _T1@Some) -> Option[_T1@Some], Unknown, /) -> def Some(value: _T1@Some) -> Option[_T1@Some]`, found `def reducer(acc: (Any, /) -> Option[Any], fn: (Any, /) -> Option[Any]) -> (Any, /) -> Option[Any]`

expression/extra/parser.py

[error] invalid-argument-type - :247:32 - Argument to function `preturn` is incorrect: Expected `(_A, /) -> (_B, /) -> _C`, found `((_A, /) -> (_B, /) -> _C, /) -> (_B, /) -> _C`

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]`

expression/extra/result/pipeline.py

[error] invalid-argument-type - :96:19 -
Old: Argument to function `reduce` is incorrect: Expected `(def Ok(value: _TSource) -> Result[_TSource, Any], Unknown, /) -> def Ok(value: _TSource) -> Result[_TSource, Any]`, found `def reducer(acc: (Any, /) -> Result[Any, Any], fn: (Any, /) -> Result[Any, Any]) -> (Any, /) -> Result[Any, Any]`
New: Argument to function `reduce` is incorrect: Expected `(def Ok(value: _TSource@Ok) -> Result[_TSource@Ok, Any], Unknown, /) -> def Ok(value: _TSource@Ok) -> Result[_TSource@Ok, Any]`, found `def reducer(acc: (Any, /) -> Result[Any, Any], fn: (Any, /) -> Result[Any, Any]) -> (Any, /) -> Result[Any, Any]`

expression/extra/result/traversable.py

[error] invalid-argument-type - :50:21 -
Old: Argument to function `traverse` is incorrect: Expected `(Result[_TSource, _TError], /) -> Result[Unknown, Unknown]`, found `def identity(value: _A) -> _A`
New: Argument to function `traverse` is incorrect: Expected `(Result[_TSource@sequence, _TError@sequence], /) -> Result[Unknown, Unknown]`, found `def identity(value: _A@identity) -> _A@identity`
[error] invalid-argument-type - :50:31 - Argument to function `traverse` is incorrect: Expected `Block[Result[_TSource, _TError]]`, found `Block[Result[Result[_TSource, _TError], Unknown]]`

tests/test_array.py

[error] invalid-assignment - :357:1 -
Old: Object of type `def singleton(value: _TSource) -> TypedArray[_TSource]` is not assignable to `(int, /) -> TypedArray[int]`
New: Object of type `def singleton(value: _TSource@singleton) -> TypedArray[_TSource@singleton]` is not assignable to `(int, /) -> TypedArray[int]`

tests/test_block.py

[error] invalid-assignment - :335:1 -
Old: Object of type `def singleton(value: _TSource) -> Block[_TSource]` is not assignable to `(int, /) -> Block[int]`
New: Object of type `def singleton(value: _TSource@singleton) -> Block[_TSource@singleton]` is not assignable to `(int, /) -> Block[int]`

tests/test_map.py

[error] invalid-argument-type - :49:19 -
Old: Argument to function `pipe` is incorrect: Expected `(Map[str, int], /) -> Unknown`, found `def to_seq(table: Map[_Key, _Value]) -> Iterable[tuple[_Key, _Value]]`
New: Argument to function `pipe` is incorrect: Expected `(Map[str, int], /) -> Unknown`, found `def to_seq(table: Map[_Key@to_seq, _Value@to_seq]) -> Iterable[tuple[_Key@to_seq, _Value@to_seq]]`

tests/test_parser.py

[error] invalid-argument-type - :232:9 -
Old: Argument to function `pipe` is incorrect: Expected `(Parser[str], /) -> Unknown`, found `def many(parser: Parser[_A]) -> Parser[Block[_A]]`
New: Argument to function `pipe` is incorrect: Expected `(Parser[str], /) -> Unknown`, found `def many(parser: Parser[_A@many]) -> Parser[Block[_A@many]]`

tests/test_result.py

[error] invalid-argument-type - :487:24 -
Old: Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `def swap(result: Result[_TSource, _TError]) -> Result[_TError, _TSource]`
New: Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `def swap(result: Result[_TSource@swap, _TError@swap]) -> Result[_TError@swap, _TSource@swap]`
[error] invalid-argument-type - :573:24 -
Old: Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `def merge(result: Result[_TSource, _TSource]) -> _TSource`
New: Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `def merge(result: Result[_TSource@merge, _TSource@merge]) -> _TSource@merge`

tests/test_seq.py

[error] invalid-argument-type - :308:20 -
Old: Argument to bound method `choose` is incorrect: Expected `(None | Literal[42], /) -> Option[Unknown]`, found `def of_optional(value: _TSource | None) -> Option[_TSource]`
New: Argument to bound method `choose` is incorrect: Expected `(None | Literal[42], /) -> Option[Unknown]`, found `def of_optional(value: _TSource@of_optional | None) -> Option[_TSource@of_optional]`
[error] invalid-assignment - :321:1 -
Old: Object of type `def singleton(item: _TSource) -> Seq[_TSource]` is not assignable to `(int, /) -> Seq[int]`
New: Object of type `def singleton(item: _TSource@singleton) -> Seq[_TSource@singleton]` is not assignable to `(int, /) -> Seq[int]`

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/helpers.py

[error] invalid-argument-type - :377:11 - Argument to bound method `__init__` is incorrect: Expected `Parser[Message[str, str]]`, found `HeaderParser[_MessageT@HeaderParser]`

aiohttp/web_request.py

[error] invalid-return-type - :599:16 -
Old: Return type does not match returned value: expected `slice[int, int, int]`, found `slice[Any, _StartT_co, _StartT_co | _StopT_co]`
New: Return type does not match returned value: expected `slice[int, int, int]`, found `slice[Any, _StartT_co@slice, _StartT_co@slice | _StopT_co@slice]`

aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)

aiohttp_devtools/logs.py

[error] invalid-argument-type - :32:17 -
Old: Argument to bound method `__init__` is incorrect: Expected `Formatter[str]`, found `Terminal256Formatter[_T]`
New: Argument to bound method `__init__` is incorrect: Expected `Formatter[str]`, found `Terminal256Formatter[_T@Terminal256Formatter]`

aioredis (https://github.com/aio-libs/aioredis)

aioredis/client.py

[error] invalid-assignment - :3432:13 -
Old: Object of type `(Sequence[@Todo(Inference of subscript on special form)] & ~Mapping[Unknown, Unknown]) | (Mapping[AnyKeyT, int | float] & ~Mapping[Unknown, Unknown])` is not assignable to `Sequence[Unknown] | AbstractSet[AnyKeyT]`
New: Object of type `(Sequence[@Todo(Inference of subscript on special form)] & ~Mapping[Unknown, Unknown]) | (Mapping[AnyKeyT@_zaggregate, int | float] & ~Mapping[Unknown, Unknown])` is not assignable to `Sequence[Unknown] | AbstractSet[AnyKeyT@_zaggregate]`

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

src/anyio/_core/_fileio.py

[error] invalid-argument-type - :201:22 - Argument to bound method `__init__` is incorrect: Argument type `AnyStr@wrap_file` does not satisfy constraints of type variable `AnyStr`

src/anyio/_core/_contextmanagers.py

[error] invalid-return-type - :72:16 -
Old: Return type does not match returned value: expected `_T_co`, found `object`
New: Return type does not match returned value: expected `_T_co@__enter__`, found `object`

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`

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

beartype/_util/api/standard/utilfunctools.py

[error] invalid-return-type - :319:12 -
Old: Return type does not match returned value: expected `BeartypeableT`, found `_lru_cache_wrapper[Unknown]`
New: Return type does not match returned value: expected `BeartypeableT@beartype_functools_lru_cache`, found `_lru_cache_wrapper[Unknown]`

beartype/_util/cache/utilcachecall.py

[error] unresolved-attribute - :180:34 -
Old: Type `CallableT & ((...) -> object)` has no attribute `__name__`
New: Type `CallableT@callable_cached & ((...) -> object)` has no attribute `__name__`
[error] unresolved-attribute - :417:34 -
Old: Type `CallableT & ((...) -> object)` has no attribute `__name__`
New: Type `CallableT@method_cached_arg_by_id & ((...) -> object)` has no attribute `__name__`
[error] unresolved-attribute - :568:44 -
Old: Type `CallableT & ((...) -> object)` has no attribute `__name__`
New: Type `CallableT@property_cached & ((...) -> object)` has no attribute `__name__`

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

bidict/_base.py

[error] invalid-return-type - :519:16 -
Old: Return type does not match returned value: expected `BT`, found `BidictBase[Any, Any]`
New: Return type does not match returned value: expected `BT@__ror__`, found `BidictBase[Any, Any]`

bidict/_bidict.py

[error] invalid-return-type - :41:30 -
Old: Function always implicitly returns `None`, which is not assignable to return type `MutableBidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `MutableBidict[VT@MutableBidict, KT@MutableBidict]`
[error] invalid-return-type - :44:26 -
Old: Function always implicitly returns `None`, which is not assignable to return type `MutableBidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `MutableBidict[VT@MutableBidict, KT@MutableBidict]`
[error] invalid-return-type - :185:30 -
Old: Function always implicitly returns `None`, which is not assignable to return type `bidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `bidict[VT@bidict, KT@bidict]`
[error] invalid-return-type - :188:26 -
Old: Function always implicitly returns `None`, which is not assignable to return type `bidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `bidict[VT@bidict, KT@bidict]`

bidict/_frozen.py

[error] invalid-return-type - :34:30 -
Old: Function always implicitly returns `None`, which is not assignable to return type `frozenbidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `frozenbidict[VT@frozenbidict, KT@frozenbidict]`
[error] invalid-return-type - :37:26 -
Old: Function always implicitly returns `None`, which is not assignable to return type `frozenbidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `frozenbidict[VT@frozenbidict, KT@frozenbidict]`

bidict/_orderedbase.py

[error] invalid-return-type - :138:30 -
Old: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidictBase[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidictBase[VT@OrderedBidictBase, KT@OrderedBidictBase]`
[error] invalid-return-type - :141:26 -
Old: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidictBase[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidictBase[VT@OrderedBidictBase, KT@OrderedBidictBase]`

bidict/_orderedbidict.py

[error] invalid-return-type - :39:30 -
Old: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidict[VT@OrderedBidict, KT@OrderedBidict]`
[error] invalid-return-type - :42:26 -
Old: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidict[VT, KT]`
New: Function always implicitly returns `None`, which is not assignable to return type `OrderedBidict[VT@OrderedBidict, KT@OrderedBidict]`

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

src/blib2to3/pgen2/grammar.py

[error] invalid-return-type - :151:16 -
Old: Return type does not match returned value: expected `_P`, found `Grammar`
New: Return type does not match returned value: expected `_P@copy`, found `Grammar`

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

src/bokeh/core/property/bases.py

[error] invalid-return-type - :185:20 -
Old: Return type does not match returned value: expected `T`, found `((() -> T) & ~((...) -> object)) | (T & ~((...) -> object))`
New: Return type does not match returned value: expected `T@Property`, found `((() -> T@Property) & ~((...) -> object)) | (T@Property & ~((...) -> object))`
[error] invalid-return-type - :188:24 -
Old: Return type does not match returned value: expected `T`, found `((() -> T) & ((...) -> object)) | (T & ((...) -> object))`
New: Return type does not match returned value: expected `T@Property`, found `((() -> T@Property) & ((...) -> object)) | (T@Property & ((...) -> object))`

src/bokeh/core/property/container.py

[error] invalid-return-type - :140:20 -
Old: Return type does not match returned value: expected `PropertyValueList[T]`, found `list[T] & ~list[Unknown]`
New: Return type does not match returned value: expected `PropertyValueList[T@List]`, found `list[T@List] & ~list[Unknown]`
[error] invalid-return-type - :165:20 -
Old: Return type does not match returned value: expected `PropertyValueSet[T]`, found `set[T] & ~set[Unknown]`
New: Return type does not match returned value: expected `PropertyValueSet[T@Set]`, found `set[T@Set] & ~set[Unknown]`

cki-lib (https://gitlab.com/cki-project/cki-lib)

tests/test_yaml.py

[error] invalid-argument-type - :284:44 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :299:44 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

cloud-init (https://github.com/canonical/cloud-init)

tests/unittests/test_cli.py

[error] invalid-argument-type - :276:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

cloudinit/sources/helpers/azure.py

[error] unresolved-attribute - :44:18 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@azure_ds_telemetry_reporter` has no attribute `__name__`
[error] unresolved-attribute - :45:25 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@azure_ds_telemetry_reporter` has no attribute `__name__`

colour (https://github.com/colour-science/colour)

colour/colorimetry/spectrum.py

[error] invalid-argument-type - :2773:23 -
Old: Argument to function `reshape_sd` is incorrect: Argument type `TypeMultiSpectralDistributions` does not satisfy upper bound of type variable `TypeSpectralDistribution`
New: Argument to function `reshape_sd` is incorrect: Argument type `TypeMultiSpectralDistributions@reshape_msds` does not satisfy upper bound of type variable `TypeSpectralDistribution`

comtypes (https://github.com/enthought/comtypes)

comtypes/test/test_clear_cache.py

[error] invalid-argument-type - :19:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_client.py

[error] invalid-argument-type - :81:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`
[error] invalid-argument-type - :104:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`
[error] invalid-argument-type - :305:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_getactiveobj.py

[error] invalid-argument-type - :8:33 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_ienum.py

[error] invalid-argument-type - :11:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_imfattributes.py

[error] invalid-argument-type - :11:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_monikers.py

[error] invalid-argument-type - :10:33 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_storage.py

[error] invalid-argument-type - :11:33 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

comtypes/test/test_viewobject.py

[error] invalid-argument-type - :15:33 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `None`

cwltool (https://github.com/common-workflow-language/cwltool)

cwltool/process.py

[error] invalid-parameter-default - :1182:5 -
Old: Default value of type `def urljoin(base: AnyStr, url: AnyStr | None, allow_fragments: bool = Literal[True]) -> AnyStr` is not assignable to annotated parameter type `(str, str, /) -> str`
New: Default value of type `def urljoin(base: AnyStr@urljoin, url: AnyStr@urljoin | None, allow_fragments: bool = Literal[True]) -> AnyStr@urljoin` is not assignable to annotated parameter type `(str, str, /) -> str`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/_trace/tracer.py

[error] unresolved-attribute - :855:68 -
Old: Type `AnyCallable` has no attribute `__name__`
New: Type `AnyCallable@wrap` has no attribute `__name__`

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

discord/abc.py

[error] invalid-parameter-default - :1943:9 -
Old: Default value of type `<class 'VoiceClient'>` is not assignable to annotated parameter type `(Client, Connectable, /) -> T`
New: Default value of type `<class 'VoiceClient'>` is not assignable to annotated parameter type `(Client, Connectable, /) -> T@connect`

discord/app_commands/commands.py

[error] invalid-return-type - :2534: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 - :2536: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 - :2536:22 - Argument to function `inner` is incorrect: Expected `T@guild_only`, found `T@guild_only & ~None`
[error] invalid-return-type - :2588: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 - :2590: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 - :2590:22 - Argument to function `inner` is incorrect: Expected `T@private_channel_only`, found `T@private_channel_only & ~None`
[error] invalid-return-type - :2639: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 - :2641: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 - :2641:22 - Argument to function `inner` is incorrect: Expected `T@dm_only`, found `T@dm_only & ~None`
[error] invalid-return-type - :2733: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 - :2735: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 - :2735:22 - Argument to function `inner` is incorrect: Expected `T@guild_install`, found `T@guild_install & ~None`
[error] invalid-return-type - :2783: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 - :2785: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 - :2785:22 - Argument to function `inner` is incorrect: Expected `T@user_install`, found `T@user_install & ~None`
[error] unresolved-attribute - :455:5 -
Old: Unresolved attribute `__discord_app_commands_base_function__` on type `F`.
New: Unresolved attribute `__discord_app_commands_base_function__` on type `F@mark_overrideable`.

discord/app_commands/tree.py

[error] unresolved-attribute - :1229:9 -
Old: Unresolved attribute `_cs_command` on type `Interaction[ClientT]`.
New: Unresolved attribute `_cs_command` on type `Interaction[ClientT@CommandTree]`.
[error] unresolved-attribute - :1286:9 -
Old: Unresolved attribute `_cs_command` on type `Interaction[ClientT]`.
New: Unresolved attribute `_cs_command` on type `Interaction[ClientT@CommandTree]`.
[error] unresolved-attribute - :1293:9 -
Old: Unresolved attribute `_cs_namespace` on type `Interaction[ClientT]`.
New: Unresolved attribute `_cs_namespace` on type `Interaction[ClientT@CommandTree]`.

discord/backoff.py

[error] invalid-parameter-default - :63:42 -
Old: Default value of type `Literal[False]` is not assignable to annotated parameter type `T`
New: Default value of type `Literal[False]` is not assignable to annotated parameter type `T@ExponentialBackoff`

discord/client.py

[error] invalid-return-type - :342:16 -
Old: Return type does not match returned value: expected `ConnectionState[Self]`, found `ConnectionState[Client]`
New: Return type does not match returned value: expected `ConnectionState[Self@Client]`, found `ConnectionState[Client]`
[error] unresolved-attribute - :2099:23 -
Old: Type `CoroT` has no attribute `__name__`
New: Type `CoroT@event` has no attribute `__name__`
[error] unresolved-attribute - :2100:71 -
Old: Type `CoroT` has no attribute `__name__`
New: Type `CoroT@event` has no attribute `__name__`

discord/ext/commands/cog.py

[error] unresolved-attribute - :266:5 -
Old: Unresolved attribute `__cog_special_method__` on type `FuncT`.
New: Unresolved attribute `__cog_special_method__` on type `FuncT@_cog_special_method`.
[error] unresolved-attribute - :495:24 -
Old: Type `FuncT` has no attribute `__func__`
New: Type `FuncT@_get_overridden_method` has no attribute `__func__`
[error] invalid-assignment - :525:13 -
Old: Object of type `Literal[True]` is not assignable to attribute `__cog_listener__` on type `(FuncT & ~staticmethod) | ((...) -> Unknown)`
New: Object of type `Literal[True]` is not assignable to attribute `__cog_listener__` on type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)`
[error] unresolved-attribute - :526:33 -
Old: Type `(FuncT & ~staticmethod) | ((...) -> Unknown)` has no attribute `__name__`
New: Type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)` has no attribute `__name__`
[error] unresolved-attribute - :528:17 -
Old: Type `(FuncT & ~staticmethod) | ((...) -> Unknown)` has no attribute `__cog_listener_names__`
New: Type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)` has no attribute `__cog_listener_names__`
[error] invalid-assignment - :530:17 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__cog_listener_names__` on type `(FuncT & ~staticmethod) | ((...) -> Unknown)`
New: Object of type `list[Unknown]` is not assignable to attribute `__cog_listener_names__` on type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)`

discord/ext/commands/converter.py

[error] invalid-assignment - :1121:13 -
Old: Object of type `tuple[(tuple[T] & ~tuple[Unknown, ...]) | (T & ~tuple[Unknown, ...])]` is not assignable to `tuple[T] | T`
New: Object of type `tuple[(tuple[T@__class_getitem__] & ~tuple[Unknown, ...]) | (T@__class_getitem__ & ~tuple[Unknown, ...])]` is not assignable to `tuple[T@__class_getitem__] | T@__class_getitem__`
[error] invalid-argument-type - :1122:16 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `tuple[T] | T`
New: Argument to function `len` is incorrect: Expected `Sized`, found `tuple[T@__class_getitem__] | T@__class_getitem__`
[error] non-subscriptable - :1124:21 -
Old: Cannot subscript object of type `T` with no `__getitem__` method
New: Cannot subscript object of type `T@__class_getitem__` with no `__getitem__` method

discord/ext/commands/core.py

[error] invalid-return-type - :2103:12 -
Old: Return type does not match returned value: expected `(T, /) -> T`, found `Check[Unknown]`
New: Return type does not match returned value: expected `(T@has_any_role, /) -> T@has_any_role`, found `Check[Unknown]`
[error] invalid-return-type - :2136:12 -
Old: Return type does not match returned value: expected `(T, /) -> T`, found `Check[Unknown]`
New: Return type does not match returned value: expected `(T@bot_has_role, /) -> T@bot_has_role`, found `Check[Unknown]`
[error] invalid-return-type - :2165:12 -
Old: Return type does not match returned value: expected `(T, /) -> T`, found `Check[Unknown]`
New: Return type does not match returned value: expected `(T@bot_has_any_role, /) -> T@bot_has_any_role`, found `Check[Unknown]`

discord/ext/commands/help.py

[error] unresolved-attribute - :222:5 -
Old: Unresolved attribute `__help_command_not_overridden__` on type `FuncT`.
New: Unresolved attribute `__help_command_not_overridden__` on type `FuncT@_not_overridden`.

discord/interactions.py

[error] invalid-return-type - :386:16 -
Old: Return type does not match returned value: expected `InteractionResponse[ClientT]`, found `InteractionResponse[Client]`
New: Return type does not match returned value: expected `InteractionResponse[ClientT@Interaction]`, found `InteractionResponse[Client]`
[error] invalid-return-type - :862:20 -
Old: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT] | None`, found `InteractionCallbackResponse[Client]`
New: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT@InteractionResponse] | None`, found `InteractionCallbackResponse[Client]`
[error] invalid-return-type - :1044:16 -
Old: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT]`, found `InteractionCallbackResponse[Client]`
New: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT@InteractionResponse]`, found `InteractionCallbackResponse[Client]`
[error] invalid-return-type - :1188:16 -
Old: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT] | None`, found `InteractionCallbackResponse[Client]`
New: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT@InteractionResponse] | None`, found `InteractionCallbackResponse[Client]`
[error] invalid-return-type - :1241:16 -
Old: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT]`, found `InteractionCallbackResponse[Client]`
New: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT@InteractionResponse]`, found `InteractionCallbackResponse[Client]`
[error] invalid-return-type - :1338:16 -
Old: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT]`, found `InteractionCallbackResponse[Client]`
New: Return type does not match returned value: expected `InteractionCallbackResponse[ClientT@InteractionResponse]`, found `InteractionCallbackResponse[Client]`

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

django-stubs/utils/datastructures.pyi

[error] inconsistent-mro - :39:1 -
Old: Cannot create a consistent method resolution order (MRO) for class `_IndexableCollection` with bases list `[typing.Protocol[_I], <class 'Collection[_I]'>]`
New: Cannot create a consistent method resolution order (MRO) for class `_IndexableCollection` with bases list `[typing.Protocol[_I], <class 'Collection[_I@_IndexableCollection]'>]`

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

freqtrade/exchange/common.py

[error] unresolved-attribute - :174:26 -
Old: Type `F` has no attribute `__name__`
New: Type `F@retrier` has no attribute `__name__`

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/_launch.py

[warning] redundant-cast - :92:12 -
Old: Value is already of type `T`
New: Value is already of type `T@value_check`

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-argument-type - :2252:47 -
Old: Argument to function `get_target_path` is incorrect: Expected `HasTarget`, found `(Importable & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> R) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> Unknown) & ((...) -> object) & type[DataclassInstance]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> Unknown) & ((...) -> object) & type[DataclassInstance])`
New: Argument to function `get_target_path` is incorrect: Expected `HasTarget`, found `(Importable@builds & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> R@builds) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> Unknown) & ((...) -> object) & type[DataclassInstance]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> Unknown) & ((...) -> object) & type[DataclassInstance])`

src/hydra_zen/third_party/beartype.py

[warning] redundant-cast - :130:12 -
Old: Value is already of type `_T`
New: Value is already of type `_T@validates_with_beartype`

src/hydra_zen/wrapper/_implementations.py

[error] invalid-return-type - :1638:20 - Return type does not match returned value: expected `F@__call__ | Self@ZenStore`, found `F | Self@ZenStore`
[error] invalid-parameter-default - :1479:9 -
Old: Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | dict[Any, Any] | ListConfig | DictConfig, CustomBuildsFn: @Todo(unsupported type[X] special form) = <class 'DefaultBuilds'>, **kw: Any) -> DataClass_ | ListConfig | DictConfig` is not assignable to annotated parameter type `(F, /) -> @Todo(Support for `typing.TypeAlias`)`
New: Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | dict[Any, Any] | ListConfig | DictConfig, CustomBuildsFn: @Todo(unsupported type[X] special form) = <class 'DefaultBuilds'>, **kw: Any) -> DataClass_ | ListConfig | DictConfig` is not assignable to annotated parameter type `(F@__call__, /) -> @Todo(Support for `typing.TypeAlias`)`
[error] invalid-return-type - :1578:20 -
Old: Return type does not match returned value: expected `F | Self`, found `ZenStore`
New: Return type does not match returned value: expected `F@__call__ | Self@ZenStore`, found `ZenStore`

tests/annotations/declarations.py

[error] invalid-return-type - :451:33 -
Old: Function always implicitly returns `None`, which is not assignable to return type `HydraPartialBuilds[T]`
New: Function always implicitly returns `None`, which is not assignable to return type `HydraPartialBuilds[T@make_hydra_partial]`

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

src/jinja2/async_utils.py

[warning] redundant-cast - :68:22 -
Old: Value is already of type `Awaitable[V]`
New: Value is already of type `Awaitable[V@auto_await]`

src/jinja2/bccache.py

[error] invalid-argument-type - :298:39 - Argument to bound method `write_bytecode` is incorrect: Expected `IO[bytes]`, found `_TemporaryFileWrapper[str]`

src/jinja2/utils.py

[error] unresolved-attribute - :100:23 -
Old: Type `F` has no attribute `__code__`
New: Type `F@internalcode` has no attribute `__code__`

koda-validate (https://github.com/keithasaurus/koda-validate)

koda_validate/generic.py

[error] invalid-argument-type - :152:56 - Argument is incorrect: Argument type `ExactMatchT@EqualsValidator` does not satisfy constraints of type variable `ExactMatchT`
[error] invalid-return-type - :321:16 -
Old: Return type does not match returned value: expected `StrOrBytes`, found `str | bytes`
New: Return type does not match returned value: expected `StrOrBytes@Strip`, found `str | bytes`
[error] invalid-return-type - :330:16 -
Old: Return type does not match returned value: expected `StrOrBytes`, found `str | bytes`
New: Return type does not match returned value: expected `StrOrBytes@UpperCase`, found `str | bytes`
[error] invalid-return-type - :336:16 -
Old: Return type does not match returned value: expected `StrOrBytes`, found `str | bytes`
New: Return type does not match returned value: expected `StrOrBytes@LowerCase`, found `str | bytes`

kopf (https://github.com/nolar/kopf)

kopf/_cogs/structs/dicts.py

[warning] possibly-unbound-attribute - :241:25 -
Old: Attribute `obj` on type `(_T & Unknown & ~None) | (Iterable[_T] & Unknown) | (_T & _dummy) | (Iterable[_T] & _dummy)` is possibly unbound
New: Attribute `obj` on type `(_T@walk & Unknown & ~None) | (Iterable[_T@walk] & Unknown) | (_T@walk & _dummy) | (Iterable[_T@walk] & _dummy)` is possibly unbound

kopf/_kits/webhacks.py

[error] invalid-argument-type - :81:26 -
Old: Argument to function `wraps` is incorrect: Argument type `(...) -> _RWrapped` does not satisfy upper bound of type variable `_ServerFn`
New: Argument to function `wraps` is incorrect: Argument type `(...) -> _RWrapped@wraps` does not satisfy upper bound of type variable `_ServerFn`

manticore (https://github.com/trailofbits/manticore)

tests/native/test_state.py

[error] invalid-argument-type - :318:30 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :342:30 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

tests/native/test_unicorn_concrete.py

[error] invalid-argument-type - :160:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

tests/other/test_state_introspection.py

[error] invalid-argument-type - :60:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

manticore/platforms/platform.py

[error] unresolved-attribute - :27:13 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@unimplemented` has no attribute `__name__`

tests/ethereum/test_general.py

[error] invalid-argument-type - :81:45 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

materialize (https://github.com/MaterializeInc/materialize)

test/limits/mzcompose.py

[error] invalid-argument-type - :2066:49 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :2152:45 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

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

mesonbuild/cargo/builder.py

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

mesonbuild/cargo/interpreter.py

[error] invalid-argument-type - :153:22 -
Old: Argument to bound method `__init__` is incorrect: Argument type `Iterable[_T]` does not satisfy constraints of type variable `_UnknownKeysT`
New: Argument to bound method `__init__` is incorrect: Argument type `Iterable[_T@set]` does not satisfy constraints of type variable `_UnknownKeysT`

mesonbuild/interpreter/interpreter.py

[error] invalid-return-type - :2277:16 -
Old: Return type does not match returned value: expected `TestClass`, found `@Todo(unsupported type[X] special form) | Test`
New: Return type does not match returned value: expected `TestClass@make_test`, found `@Todo(unsupported type[X] special form) | Test`

mesonbuild/mintro.py

[error] invalid-argument-type - :538:30 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `TextIO | @Todo(Support for `typing.TypeAlias`)`

mesonbuild/rewriter.py

[error] unresolved-attribute - :90:62 -
Old: Type `TV_func` has no attribute `__name__`
New: Type `TV_func@__call__` has no attribute `__name__`

mesonbuild/utils/universal.py

[error] invalid-return-type - :585:16 -
Old: Return type does not match returned value: expected `PerMachine[_T]`, found `PerMachine[Unknown & ~None]`
New: Return type does not match returned value: expected `PerMachine[_T@PerMachineDefaultable]`, found `PerMachine[Unknown & ~None]`
[error] invalid-return-type - :619:16 -
Old: Return type does not match returned value: expected `PerThreeMachine[_T]`, found `PerThreeMachine[Unknown & ~None]`
New: Return type does not match returned value: expected `PerThreeMachine[_T@PerThreeMachineDefaultable]`, found `PerThreeMachine[Unknown & ~None]`
[error] invalid-assignment - :1664:5 -
Old: Object of type `Overload[(key: _T, default: None = None, /) -> _U | None, (key: _T, default: _U, /) -> _U, (key: _T, default: _T, /) -> _U | _T]` is not assignable to `(_T, /) -> _U`
New: Object of type `Overload[(key: _T@extract_as_list, default: None = None, /) -> _U@extract_as_list | None, (key: _T@extract_as_list, default: _U@extract_as_list, /) -> _U@extract_as_list, (key: _T@extract_as_list, default: _T@get, /) -> _U@extract_as_list | _T@get]` is not assignable to `(_T@extract_as_list, /) -> _U@extract_as_list`

unittests/helpers.py

[error] invalid-return-type - :228:16 -
Old: Return type does not match returned value: expected `((...) -> R, /) -> (...) -> R`, found `def expectedFailure(test_item: _FT) -> _FT`
New: Return type does not match returned value: expected `((...) -> R@xfail_if_jobname, /) -> (...) -> R@xfail_if_jobname`, found `def expectedFailure(test_item: _FT@expectedFailure) -> _FT@expectedFailure`

unittests/linuxliketests.py

[error] invalid-argument-type - :712:48 -
Old: Argument to function `copytree` is incorrect: Expected `(str, str, /) -> object`, found `def copyfile(src: @Todo(Support for `typing.TypeAlias`), dst: _StrOrBytesPathT, *, follow_symlinks: bool = Literal[True]) -> _StrOrBytesPathT`
New: Argument to function `copytree` is incorrect: Expected `(str, str, /) -> object`, found `def copyfile(src: @Todo(Support for `typing.TypeAlias`), dst: _StrOrBytesPathT@copyfile, *, follow_symlinks: bool = Literal[True]) -> _StrOrBytesPathT@copyfile`

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

web/gen/options_js.py

[error] invalid-argument-type - :40:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

mitmproxy/net/http/url.py

[error] invalid-argument-type - :147:21 - Argument to function `default_port` is incorrect: Argument type `AnyStr@hostport` does not satisfy constraints of type variable `AnyStr`
[error] invalid-return-type - :151:20 -
Old: Return type does not match returned value: expected `AnyStr`, found `bytes`
New: Return type does not match returned value: expected `AnyStr@hostport`, found `bytes`
[error] invalid-return-type - :153:20 -
Old: Return type does not match returned value: expected `AnyStr`, found `str`
New: Return type does not match returned value: expected `AnyStr@hostport`, found `str`

mitmproxy/utils/debug.py

[error] invalid-argument-type - :35:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `Unknown | TextIO`

test/mitmproxy/net/http/test_url.py

[error] invalid-argument-type - :193:28 - Argument to function `parse_authority` is incorrect: Argument type `AnyStr@test_parse_authority` does not satisfy constraints of type variable `AnyStr`
[error] invalid-argument-type - :196:32 - Argument to function `parse_authority` is incorrect: Argument type `AnyStr@test_parse_authority` does not satisfy constraints of type variable `AnyStr`
[error] invalid-argument-type - :199:29 - Argument to function `parse_authority` is incorrect: Argument type `AnyStr@test_parse_authority` does not satisfy constraints of type variable `AnyStr`

test/mitmproxy/utils/test_arg_check.py

[error] invalid-argument-type - :54:37 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

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

mkdocs/tests/livereload_tests.py

[error] invalid-argument-type - :291:45 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`

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`

more-itertools (https://github.com/more-itertools/more-itertools)

more_itertools/more.pyi

[error] inconsistent-mro - :166:1 -
Old: Cannot create a consistent method resolution order (MRO) for class `_SizedIterable` with bases list `[typing.Protocol[_T_co], <class 'Sized'>, <class 'Iterable[_T_co]'>]`
New: Cannot create a consistent method resolution order (MRO) for class `_SizedIterable` with bases list `[typing.Protocol[_T_co], <class 'Sized'>, <class 'Iterable[_T_co@_SizedIterable]'>]`
[error] inconsistent-mro - :169:1 -
Old: Cannot create a consistent method resolution order (MRO) for class `_SizedReversible` with bases list `[typing.Protocol[_T_co], <class 'Sized'>, <class 'Reversible[_T_co]'>]`
New: Cannot create a consistent method resolution order (MRO) for class `_SizedReversible` with bases list `[typing.Protocol[_T_co], <class 'Sized'>, <class 'Reversible[_T_co@_SizedReversible]'>]`

nox (https://github.com/wntrblm/nox)

nox/_decorators.py

[error] unresolved-attribute - :53:9 -
Old: Type `T` has no attribute `__code__`
New: Type `T@_copy_func` has no attribute `__code__`
[error] unresolved-attribute - :54:9 -
Old: Type `T` has no attribute `__globals__`
New: Type `T@_copy_func` has no attribute `__globals__`
[error] unresolved-attribute - :55:22 -
Old: Type `T` has no attribute `__name__`
New: Type `T@_copy_func` has no attribute `__name__`
[error] unresolved-attribute - :56:17 -
Old: Type `T` has no attribute `__defaults__`
New: Type `T@_copy_func` has no attribute `__defaults__`
[error] unresolved-attribute - :57:17 -
Old: Type `T` has no attribute `__closure__`
New: Type `T@_copy_func` has no attribute `__closure__`
[error] unresolved-attribute - :61:26 -
Old: Type `T` has no attribute `__kwdefaults__`
New: Type `T@_copy_func` has no attribute `__kwdefaults__`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/upstream/utils.py

[error] invalid-return-type - :709:16 -
Old: Return type does not match returned value: expected `T`, found `Unknown | None`
New: Return type does not match returned value: expected `T@safeget`, found `Unknown | None`

paasta (https://github.com/yelp/paasta)

paasta_tools/drain_lib.py

[error] invalid-return-type - :206:20 -
Old: Return type does not match returned value: expected `Sequence[T]`, found `None`
New: Return type does not match returned value: expected `Sequence[T@for_each_registration]`, found `None`

paasta_tools/utils.py

[warning] unused-ignore-comment - :4137:60 - Unused blanket `type: ignore` directive

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)

tests/test_pandas.py

[error] type-assertion-failure - :191:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :248:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :260:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :312:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :324:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :337:9 - Argument does not have asserted type `DataFrame`

pegen (https://github.com/we-like-parsers/pegen)

src/pegen/parser.py

[error] unresolved-attribute - :28:19 -
Old: Type `F` has no attribute `__name__`
New: Type `F@logger` has no attribute `__name__`
[error] unresolved-attribute - :48:19 -
Old: Type `F` has no attribute `__name__`
New: Type `F@memoize` has no attribute `__name__`
[error] unresolved-attribute - :85:19 -
Old: Type `(P, /) -> T | None` has no attribute `__name__`
New: Type `(P@memoize_left_rec, /) -> T@memoize_left_rec | None` has no attribute `__name__`

poetry (https://github.com/python-poetry/poetry)

src/poetry/utils/cache.py

[error] invalid-return-type - :149:16 -
Old: Return type does not match returned value: expected `T`, found `(Unknown & ~None) | @Todo(Type::Intersection.call()) | (T & ~((...) -> object)) | ((() -> T) & ~((...) -> object))`
New: Return type does not match returned value: expected `T@FileCache`, found `(Unknown & ~None) | @Todo(Type::Intersection.call()) | (T@FileCache & ~((...) -> object)) | ((() -> T@FileCache) & ~((...) -> object))`

src/poetry/utils/isolated_build.py

[error] invalid-argument-type - :198:34 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

porcupine (https://github.com/Akuli/porcupine)

porcupine/plugins/porcupine_debug_prompt.py

[error] invalid-argument-type - :62:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :62:74 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`

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/integrations/prefect-docker/prefect_docker/deployments/steps.py

[error] unresolved-attribute - :107:65 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@cacheable` has no attribute `__name__`
[error] unresolved-attribute - :109:13 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@cacheable` has no attribute `__name__`
[error] unresolved-attribute - :114:44 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@cacheable` has no attribute `__name__`
[error] unresolved-attribute - :117:43 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@cacheable` has no attribute `__name__`

src/prefect/_internal/concurrency/cancellation.py

[error] invalid-argument-type - :598:55 -
Old: Argument to bound method `__init__` is incorrect: Expected `_T`, found `type[BaseException]`
New: Argument to bound method `__init__` is incorrect: Expected `_T@py_object`, found `type[BaseException]`

src/prefect/_internal/websockets.py

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

src/prefect/cli/cloud/__init__.py

[error] invalid-return-type - :266:12 -
Old: Return type does not match returned value: expected `str | T`, found `str | (tuple[T, str] & ~tuple[Unknown, ...]) | @Todo(Subscript expressions on intersections)`
New: Return type does not match returned value: expected `str | T@prompt_select_from_list`, found `str | (tuple[T@prompt_select_from_list, str] & ~tuple[Unknown, ...]) | @Todo(Subscript expressions on intersections)`

src/prefect/cli/deploy.py

[error] invalid-assignment - :728:5 - Object of type `str` is not assignable to `dict[str, Any]`
[error] invalid-argument-type - :750:9 - Argument is incorrect: Expected `dict[str, Any]`, found `Any | None`
[error] invalid-assignment - :768:9 - Object of type `Any | None` is not assignable to attribute `enforce_parameter_schema` of type `bool`

src/prefect/context.py

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

src/prefect/flow_engine.py

[error] invalid-return-type - :772:31 -
Old: Function can implicitly return `None`, which is not assignable to return type `R | Coroutine[Any, Any, R]`
New: Function can implicitly return `None`, which is not assignable to return type `R@call_flow_fn | Coroutine[Any, Any, R@call_flow_fn]`

src/prefect/futures.py

[error] invalid-return-type - :102:10 -
Old: Function always implicitly returns `None`, which is not assignable to return type `R`
New: Function always implicitly returns `None`, which is not assignable to return type `R@PrefectFuture`

src/prefect/server/schemas/states.py

[error] invalid-return-type - :331:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Scheduled`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :340:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Completed`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :349:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Running`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :358:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Failed`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :367:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Crashed`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :376:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Cancelling`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :385:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Cancelled`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :394:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Pending`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :428:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Paused`, found `@Todo(unsupported type[X] special form) | State`
[error] invalid-return-type - :493:12 -
Old: Return type does not match returned value: expected `_State`, found `@Todo(unsupported type[X] special form) | State`
New: Return type does not match returned value: expected `_State@Retrying`, found `@Todo(unsupported type[X] special form) | State`

src/prefect/states.py

[error] invalid-return-type - :98:6 -
Old: Function can implicitly return `None`, which is not assignable to return type `R`
New: Function can implicitly return `None`, which is not assignable to return type `R@_get_state_result_data_with_retries`

src/prefect/task_engine.py

[error] invalid-return-type - :1710:16 -
Old: Return type does not match returned value: expected `R | State[Any] | None | Coroutine[Any, Any, R | State[Any] | None]`, found `Generator[Unknown, None, None]`
New: Return type does not match returned value: expected `R@run_task | State[Any] | None | Coroutine[Any, Any, R@run_task | State[Any] | None]`, found `Generator[Unknown, None, None]`

src/prefect/utilities/asyncutils.py

[error] invalid-argument-type - :376:1 -
Old: Argument to function `asynccontextmanager` is incorrect: Expected `(...) -> AsyncIterator[Unknown]`, found `Overload[(value: None = None, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[None, None], (value: R, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[R, None]]`
New: Argument to function `asynccontextmanager` is incorrect: Expected `(...) -> AsyncIterator[Unknown]`, found `Overload[(value: None = None, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[None, None], (value: R@asyncnullcontext, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[R@asyncnullcontext, None]]`

src/prefect/utilities/collections.py

[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`
[error] invalid-return-type - :425:24 - Return type does not match returned value: expected `T@resolve_variables`, found `T`
[error] invalid-return-type - :166:20 -
Old: Return type does not match returned value: expected `T | type[NotSet]`, found `str`
New: Return type does not match returned value: expected `T@apply_values | type[NotSet]`, found `str`
[error] invalid-assignment - :199:25 -
Old: Object of type `str` is not assignable to `T`
New: Object of type `str` is not assignable to `T@apply_values`
[error] invalid-assignment - :201:21 -
Old: Object of type `str` is not assignable to `T`
New: Object of type `str` is not assignable to `T@apply_values`
[error] invalid-return-type - :203:20 -
Old: Return type does not match returned value: expected `T | type[NotSet]`, found `str | T`
New: Return type does not match returned value: expected `T@apply_values | type[NotSet]`, found `str | T@apply_values`
[error] invalid-return-type - :336:20 -
Old: Return type does not match returned value: expected `T | dict[str, Any]`, found `str`
New: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `str`
[error] invalid-return-type - :412:20 -
Old: Return type does not match returned value: expected `T`, found `str`
New: Return type does not match returned value: expected `T@resolve_variables`, found `str`
[error] invalid-return-type - :423:24 -
Old: Return type does not match returned value: expected `T`, found `Literal[""]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `Literal[""]`
[error] invalid-assignment - :432:25 -
Old: Object of type `str` is not assignable to `T`
New: Object of type `str` is not assignable to `T@resolve_variables`
[error] invalid-assignment - :434:25 -
Old: Object of type `str` is not assignable to `T`
New: Object of type `str` is not assignable to `T@resolve_variables`
[error] invalid-return-type - :435:20 -
Old: Return type does not match returned value: expected `T`, found `str | T`
New: Return type does not match returned value: expected `T@resolve_variables`, found `str | T@resolve_variables`

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

psycopg/psycopg/pq/_debug.py

[error] unresolved-attribute - :94:38 -
Old: Type `Func` has no attribute `__name__`
New: Type `Func@debugging` has no attribute `__name__`

psycopg/psycopg/pq/pq_ctypes.py

[error] invalid-argument-type - :94:36 -
Old: Argument to bound method `__init__` is incorrect: Expected `_T`, found `ReferenceType[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `_T@py_object`, found `ReferenceType[Unknown]`

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

pwndbg/aglib/kernel/__init__.py

[error] invalid-parameter-default - :64:42 -
Old: Default value of type `None` is not assignable to annotated parameter type `D`
New: Default value of type `None` is not assignable to annotated parameter type `D@requires_debug_symbols`
[error] invalid-parameter-default - :86:25 -
Old: Default value of type `None` is not assignable to annotated parameter type `D`
New: Default value of type `None` is not assignable to annotated parameter type `D@requires_debug_info`

pwndbg/aglib/proc.py

[error] invalid-return-type - :42:46 -
Old: Function always implicitly returns `None`, which is not assignable to return type `(...) -> T | None`
New: Function always implicitly returns `None`, which is not assignable to return type `(...) -> T@OnlyWhenRunning | None`
[error] invalid-return-type - :43:49 -
Old: Function always implicitly returns `None`, which is not assignable to return type `(...) -> T`
New: Function always implicitly returns `None`, which is not assignable to return type `(...) -> T@OnlyWhenQemuKernel`
[error] invalid-return-type - :46:6 -
Old: Function always implicitly returns `None`, which is not assignable to return type `((...) -> T, /) -> (...) -> T | None`
New: Function always implicitly returns `None`, which is not assignable to return type `((...) -> T@OnlyWithArch, /) -> (...) -> T@OnlyWithArch | None`

pwndbg/commands/__init__.py

[error] unresolved-attribute - :559:12 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@func_name` has no attribute `__name__`
[error] unresolved-attribute - :568:56 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@OnlyWhenLocal` has no attribute `__name__`

pwndbg/dbg/gdb/__init__.py

[error] invalid-return-type - :1663:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def exit(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def exit(func: () -> T@exit, **kwargs: Any) -> () -> T@exit`
[error] invalid-return-type - :1665:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def cont(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def cont(func: () -> T@cont, **kwargs: Any) -> () -> T@cont`
[error] invalid-return-type - :1667:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def start(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def start(func: () -> T@start, **kwargs: Any) -> () -> T@start`
[error] invalid-return-type - :1669:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def stop(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def stop(func: () -> T@stop, **kwargs: Any) -> () -> T@stop`
[error] invalid-return-type - :1671:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def new_objfile(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def new_objfile(func: () -> T@new_objfile, **kwargs: Any) -> () -> T@new_objfile`
[error] invalid-return-type - :1673:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def mem_changed(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def mem_changed(func: () -> T@mem_changed, **kwargs: Any) -> () -> T@mem_changed`
[error] invalid-return-type - :1675:20 -
Old: Return type does not match returned value: expected `((...) -> T, /) -> (...) -> T`, found `def reg_changed(func: () -> T, **kwargs: Any) -> () -> T`
New: Return type does not match returned value: expected `((...) -> T@event_handler, /) -> (...) -> T@event_handler`, found `def reg_changed(func: () -> T@reg_changed, **kwargs: Any) -> () -> T@reg_changed`

pwndbg/decorators.py

[error] invalid-parameter-default - :47:5 -
Old: Default value of type `None` is not assignable to annotated parameter type `K`
New: Default value of type `None` is not assignable to annotated parameter type `K@suppress_errors`

pwndbg/gdblib/events.py

[error] unresolved-attribute - :283:29 -
Old: Type `() -> T` has no attribute `__name__`
New: Type `() -> T@connect` has no attribute `__name__`
[error] unresolved-attribute - :291:60 -
Old: Type `() -> T` has no attribute `__name__`
New: Type `() -> T@connect` has no attribute `__name__`

pwndbg/glibc.py

[error] unresolved-attribute - :192:18 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@OnlyWhenGlibcLoaded` has no attribute `__name__`

pwndbg/integration/binja.py

[error] invalid-parameter-default - :158:13 -
Old: Default value of type `None` is not assignable to annotated parameter type `K`
New: Default value of type `None` is not assignable to annotated parameter type `K@with_bn`

pybind11 (https://github.com/pybind/pybind11)

tests/test_iostream.py

[error] invalid-argument-type - :168:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :176:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :187:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`
[error] invalid-argument-type - :195:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`
[error] invalid-argument-type - :205:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :225:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :232:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :239:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :251:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`
[error] invalid-argument-type - :266:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :266:51 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`

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

pydantic/_internal/_utils.py

[error] invalid-return-type - :307:70 -
Old: Function always implicitly returns `None`, which is not assignable to return type `T`
New: Function always implicitly returns `None`, which is not assignable to return type `T@LazyClassAttribute`

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`
[error] unresolved-attribute - :1207:9 -
Old: Unresolved attribute `__pydantic_config__` on type `_TypeT`.
New: Unresolved attribute `__pydantic_config__` on type `_TypeT@with_config`.

pydantic/functional_serializers.py

[error] invalid-return-type - :298:12 -
Old: Return type does not match returned value: expected `((_FieldWrapSerializerT, /) -> _FieldWrapSerializerT) | ((_FieldPlainSerializerT, /) -> _FieldPlainSerializerT)`, found `def dec(f: @Todo(Support for `typing.TypeAlias`)) -> PydanticDescriptorProxy[Any]`
New: Return type does not match returned value: expected `((_FieldWrapSerializerT@field_serializer, /) -> _FieldWrapSerializerT@field_serializer) | ((_FieldPlainSerializerT@field_serializer, /) -> _FieldPlainSerializerT@field_serializer)`, found `def dec(f: @Todo(Support for `typing.TypeAlias`)) -> PydanticDescriptorProxy[Any]`
[error] invalid-return-type - :416:16 -
Old: Return type does not match returned value: expected `_ModelPlainSerializerT | ((_ModelWrapSerializerT, /) -> _ModelWrapSerializerT) | ((_ModelPlainSerializerT, /) -> _ModelPlainSerializerT)`, found `def dec(f: @Todo(Support for `typing.TypeAlias`)) -> PydanticDescriptorProxy[Any]`
New: Return type does not match returned value: expected `_ModelPlainSerializerT@model_serializer | ((_ModelWrapSerializerT@model_serializer, /) -> _ModelWrapSerializerT@model_serializer) | ((_ModelPlainSerializerT@model_serializer, /) -> _ModelPlainSerializerT@model_serializer)`, found `def dec(f: @Todo(Support for `typing.TypeAlias`)) -> PydanticDescriptorProxy[Any]`
[error] invalid-return-type - :418:16 -
Old: Return type does not match returned value: expected `_ModelPlainSerializerT | ((_ModelWrapSerializerT, /) -> _ModelWrapSerializerT) | ((_ModelPlainSerializerT, /) -> _ModelPlainSerializerT)`, found `PydanticDescriptorProxy[Any]`
New: Return type does not match returned value: expected `_ModelPlainSerializerT@model_serializer | ((_ModelWrapSerializerT@model_serializer, /) -> _ModelWrapSerializerT@model_serializer) | ((_ModelPlainSerializerT@model_serializer, /) -> _ModelPlainSerializerT@model_serializer)`, found `PydanticDescriptorProxy[Any]`

pydantic/root_model.py

[error] unresolved-attribute - :73:5 -
Old: Unresolved attribute `__pydantic_base_init__` on type `def __init__(self, /, root: RootModelRootType = PydanticUndefinedType, **data) -> None`.
New: Unresolved attribute `__pydantic_base_init__` on type `def __init__(self, /, root: RootModelRootType@RootModel = PydanticUndefinedType, **data) -> None`.

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`

pyinstrument (https://github.com/joerick/pyinstrument)

pyinstrument/util.py

[error] invalid-argument-type - :65:30 - Argument to function `file_is_a_tty` is incorrect: Argument type `AnyStr@file_supports_color` does not satisfy constraints of type variable `AnyStr`

pyp (https://github.com/hauntsaninja/pyp)

tests/test_pyp.py

[error] invalid-argument-type - :45:37 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

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

src/_pytest/capture.py

[error] invalid-return-type - :968:16 -
Old: Return type does not match returned value: expected `CaptureResult[AnyStr]`, found `CaptureResult[str]`
New: Return type does not match returned value: expected `CaptureResult[AnyStr@CaptureFixture]`, found `CaptureResult[str]`

src/_pytest/fixtures.py

[error] unresolved-attribute - :1240:29 -
Old: Type `FixtureFunction & ~type[Any] & ~FixtureFunctionDefinition` has no attribute `__name__`
New: Type `FixtureFunction@__call__ & ~type[Any] & ~FixtureFunctionDefinition` has no attribute `__name__`

src/_pytest/raises.py

[error] invalid-return-type - :298:16 -
Old: Return type does not match returned value: expected `RaisesExc[BaseException] | ExceptionInfo[E]`, found `ExceptionInfo[BaseException]`
New: Return type does not match returned value: expected `RaisesExc[BaseException] | ExceptionInfo[E@raises]`, found `ExceptionInfo[BaseException]`

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

rotkehlchen/utils/misc.py

[error] call-non-callable - :174:29 - Method `__getitem__` of type `bound method dict[K@combine_dicts, V@combine_dicts].__getitem__(key: K@combine_dicts, /) -> V@combine_dicts` is not callable on object of type `dict[K@combine_dicts, V@combine_dicts]`
[error] call-non-callable - :174:35 - Method `__getitem__` of type `bound method dict[K@combine_dicts, V@combine_dicts].__getitem__(key: K@combine_dicts, /) -> V@combine_dicts` is not callable on object of type `dict[K@combine_dicts, V@combine_dicts]`

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

src/schemathesis/core/registries.py

[error] unresolved-attribute - :17:21 -
Old: Type `T` has no attribute `__name__`
New: Type `T@Registry` has no attribute `__name__`

src/schemathesis/specs/openapi/negative/mutations.py

[error] invalid-parameter-default - :445:33 - Default value of type `def ident(x: T@ident) -> T@ident` is not assignable to annotated parameter type `(T@ordered, /) -> Any`

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

sklearn/externals/array_api_compat/_internal.py

[error] unresolved-attribute - :43:38 -
Old: Type `(...) -> _T` has no attribute `__name__`
New: Type `(...) -> _T@get_xp` has no attribute `__name__`

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

scipy/_lib/array_api_compat/array_api_compat/_internal.py

[error] unresolved-attribute - :44:38 -
Old: Type `(...) -> _T` has no attribute `__name__`
New: Type `(...) -> _T@get_xp` has no attribute `__name__`

scipy/_lib/doccer.py

[error] unresolved-attribute - :127:38 -
Old: Type `_F` has no attribute `__name__`
New: Type `_F@_doc` has no attribute `__name__`
[error] unresolved-attribute - :162:38 -
Old: Type `_F` has no attribute `__name__`
New: Type `_F@_doc` has no attribute `__name__`
[error] unresolved-attribute - :203:38 -
Old: Type `_F` has no attribute `__name__`
New: Type `_F@_doc` has no attribute `__name__`

scipy/io/_idl.py

[error] no-matching-overload - :802:17 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :782:9 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :789:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :801:17 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :818:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :819:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :821:13 - No overload of bound method `write` matches arguments

scipy/signal/_signaltools.py

[error] unsupported-operator - :2841:14 -
Old: Operator `>` is not supported for types `_StartT_co` and `Literal[0]`
New: Operator `>` is not supported for types `_StartT_co@slice` and `Literal[0]`
[error] unsupported-operator - :2843:25 -
Old: Operator `<` is not supported for types `Literal[0]` and `_StartT_co`
New: Operator `<` is not supported for types `Literal[0]` and `_StartT_co@slice`
[error] unsupported-operator - :2855:25 -
Old: Operator `<` is not supported for types `Literal[0]` and `_StartT_co`
New: Operator `<` is not supported for types `Literal[0]` and `_StartT_co@slice`
[error] unsupported-operator - :2860:12 -
Old: Operator `>` is not supported for types `_StartT_co` and `Literal[0]`
New: Operator `>` is not supported for types `_StartT_co@slice` and `Literal[0]`

scipy/sparse/linalg/_isolve/tfqmr.py

[error] unsupported-operator - :178:29 -
Old: Operator `+` is unsupported between objects of type `int | (Overload[(object: SupportsIter[_SupportsNextT_co], /) -> _SupportsNextT_co, (object: _GetItemIterable[_T], /) -> Iterator[_T], (object: () -> _T | None, sentinel: None, /) -> Iterator[_T], (object: () -> _T, sentinel: object, /) -> Iterator[_T]])` and `Literal[1]`
New: Operator `+` is unsupported between objects of type `int | (Overload[(object: SupportsIter[_SupportsNextT_co@iter], /) -> _SupportsNextT_co@iter, (object: _GetItemIterable[_T@iter], /) -> Iterator[_T@iter], (object: () -> _T@iter | None, sentinel: None, /) -> Iterator[_T@iter], (object: () -> _T@iter, sentinel: object, /) -> Iterator[_T@iter]])` and `Literal[1]`

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

scrapy/utils/datatypes.py

[error] invalid-return-type - :76:16 -
Old: Return type does not match returned value: expected `AnyStr`, found `str | bytes`
New: Return type does not match returned value: expected `AnyStr@normkey`, found `str | bytes`

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

static_frame/core/index.py

[error] invalid-return-type - :438:16 -
Old: Return type does not match returned value: expected `I`, found `Index[Any]`
New: Return type does not match returned value: expected `I@__copy__`, found `Index[Any]`
[error] invalid-return-type - :456:16 -
Old: Return type does not match returned value: expected `I`, found `Index[Any]`
New: Return type does not match returned value: expected `I@rename`, found `Index[Any]`

static_frame/test/property/strategies.py

[error] invalid-argument-type - :927:17 -
Old: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `(bound method type[Index].from_labels(labels: Iterable[Unknown], *, /, name: Unknown = None) -> I) | (bound method <class 'Index'>.from_labels(labels: Iterable[Unknown], *, /, name: Unknown = None) -> I)`
New: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `(bound method type[Index].from_labels(labels: Iterable[Unknown], *, /, name: Unknown = None) -> I@from_labels) | (bound method <class 'Index'>.from_labels(labels: Iterable[Unknown], *, /, name: Unknown = None) -> I@from_labels)`

static_frame/test/unit/test_archive_npy.py

[error] invalid-argument-type - :658:41 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`

static_frame/test/unit/test_type_clinic.py

[error] invalid-argument-type - :3083:21 -
Old: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T2`
New: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T2@process1`
[error] invalid-argument-type - :3083:31 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T1`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T1@process1`
[error] invalid-argument-type - :3083:53 -
Old: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T2`
New: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T2@process1`
[error] invalid-argument-type - :3083:63 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T1`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T1@process1`
[error] invalid-argument-type - :3093:21 -
Old: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T4`
New: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T4@process2`
[error] invalid-argument-type - :3093:31 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T3`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T3@process2`
[error] invalid-argument-type - :3093:53 -
Old: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T4`
New: Argument to class `Series` is incorrect: Expected `generic[Any]`, found `T4@process2`
[error] invalid-argument-type - :3093:63 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T3`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T3@process2`
[error] invalid-argument-type - :3124:22 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T@process1`
[error] invalid-argument-type - :3125:22 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T@process1`
[error] invalid-argument-type - :3126:20 -
Old: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T`
New: Argument to class `Index` is incorrect: Expected `generic[Any]`, found `T@process1`

static_frame/test/unit/test_util.py

[error] invalid-argument-type - :2123:27 -
Old: Argument to function `_ufunc_set_1d` is incorrect: Expected `(ndarray[Any, Any], ndarray[Any, Any], /) -> ndarray[Any, Any]`, found `Overload[(a: @Todo(Support for `typing.TypeAlias`) | None, axis: None = None, out: None = None, keepdims: Literal[False, 0] | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> bool[bool], (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> @Todo(Support for `typing.TypeAlias`), (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None, out: _ArrayT, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> _ArrayT, (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> _ArrayT]`
New: Argument to function `_ufunc_set_1d` is incorrect: Expected `(ndarray[Any, Any], ndarray[Any, Any], /) -> ndarray[Any, Any]`, found `Overload[(a: @Todo(Support for `typing.TypeAlias`) | None, axis: None = None, out: None = None, keepdims: Literal[False, 0] | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> bool[bool], (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> @Todo(Support for `typing.TypeAlias`), (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None, out: _ArrayT@any, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, *, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> _ArrayT@any, (a: @Todo(Support for `typing.TypeAlias`) | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT@any, keepdims: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType, where: @Todo(Support for `typing.TypeAlias`) | _NoValueType = EllipsisType) -> _ArrayT@any]`

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

strawberry/directive.py

[error] invalid-argument-type - :138:50 - Argument to bound method `__init__` is incorrect: Expected `((...) -> T@StrawberryDirectiveResolver) | staticmethod | classmethod`, found `(...) -> T@directive`
[error] unresolved-attribute - :134:25 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@directive` has no attribute `__name__`

strawberry/federation/object_type.py

[error] invalid-argument-type - :90:9 -
Old: Argument to function `type` is incorrect: Argument type `T | None` does not satisfy upper bound of type variable `T`
New: Argument to function `type` is incorrect: Argument type `T@_impl_type | None` does not satisfy upper bound of type variable `T`

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`
[error] invalid-argument-type - :157:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `type[type]`, found `T`
New: Argument to bound method `__init__` is incorrect: Expected `type[type]`, found `T@_process_type`
[error] invalid-argument-type - :397:9 -
Old: Argument to function `type` is incorrect: Argument type `T | None` does not satisfy upper bound of type variable `T`
New: Argument to function `type` is incorrect: Argument type `T@input | None` does not satisfy upper bound of type variable `T`
[error] invalid-argument-type - :470:9 -
Old: Argument to function `type` is incorrect: Argument type `T | None` does not satisfy upper bound of type variable `T`
New: Argument to function `type` is incorrect: Argument type `T@interface | None` does not satisfy upper bound of type variable `T`

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

lib/streamlit/elements/dialog_decorator.py

[error] invalid-return-type - :288:16 - Return type does not match returned value: expected `F@dialog_decorator | ((F@dialog_decorator, /) -> F@dialog_decorator)`, found `def wrapper(f: F@wrapper) -> F@wrapper`
[error] invalid-assignment - :290:5 - Object of type `F@dialog_decorator & ~str` is not assignable to `F`
[error] invalid-return-type - :329: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@wrapper) -> F@wrapper`
[error] invalid-assignment - :331:5 - Object of type `F@experimental_dialog_decorator & ~str` is not assignable to `F`

lib/streamlit/runtime/fragment.py

[error] invalid-return-type - :451:12 - Return type does not match returned value: expected `((F@fragment, /) -> F@fragment) | F@fragment`, found `((F@fragment | None, /) -> F@fragment | None) | F@fragment | None`
[error] invalid-return-type - :479:12 - Return type does not match returned value: expected `((F@experimental_fragment, /) -> F@experimental_fragment) | F@experimental_fragment`, found `((F@experimental_fragment | None, /) -> F@experimental_fragment | None) | F@experimental_fragment | None`

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/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/expressions/kronecker.py

[error] unresolved-attribute - :326:24 -
Old: Type `Overload[(i: SupportsNext[_T], /) -> _T, (i: SupportsNext[_T], default: _VT, /) -> _T | _VT]` has no attribute `col_join`
New: Type `Overload[(i: SupportsNext[_T@next], /) -> _T@next, (i: SupportsNext[_T@next], default: _VT@next, /) -> _T@next | _VT@next]` has no attribute `col_join`

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

sympy/matrices/tests/test_matrices.py

[error] call-non-callable - :1267:12 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
[error] call-non-callable - :1269:5 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`

sympy/matrices/tests/test_matrixbase.py

[error] call-non-callable - :2044:12 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
[error] call-non-callable - :2046:5 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableDenseMatrix`

sympy/matrices/tests/test_sparse.py

[error] call-non-callable - :583:32 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableSparseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableSparseMatrix`
[error] call-non-callable - :585:32 -
Old: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self, (key: tuple[Unknown, int], /) -> Self, (key: tuple[Unknown, Unknown], /) -> Self, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableSparseMatrix`
New: Method `__getitem__` of type `Overload[(key: tuple[int, int], /) -> Expr, (key: tuple[int, Unknown], /) -> Self@RepMatrix, (key: tuple[Unknown, int], /) -> Self@RepMatrix, (key: tuple[Unknown, Unknown], /) -> Self@RepMatrix, (key: int, /) -> Expr, (key: slice[Any, Any, Any], /) -> list[Expr]]` is not callable on object of type `MutableSparseMatrix`

sympy/polys/densebasic.py

[error] invalid-argument-type - :861:28 - Argument to function `dmp_ground_p` is incorrect: Argument type `Er@dmp_ground_p | None` does not satisfy upper bound of type variable `Er`

sympy/polys/domains/domain.py

[error] invalid-return-type - :534:20 -
Old: Return type does not match returned value: expected `Er`, found `Es | Expr | int | float | complex`
New: Return type does not match returned value: expected `Er@Domain`, found `Es@convert | Expr | int | float | complex`
[error] invalid-assignment - :584:21 -
Old: Object of type `Basic` is not assignable to `Es | Expr | int | float | complex`
New: Object of type `Basic` is not assignable to `Es@convert | Expr | int | float | complex`

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)]`

sympy/polys/polyclasses.py

[error] invalid-return-type - :219:24 - Return type does not match returned value: expected `DMP[Er@DMP]`, found `DMP_Python[Er@DUP_Flint] | DUP_Flint[Er@DUP_Flint]`

trio (https://github.com/python-trio/trio)

src/trio/_channel.py

[error] invalid-argument-type - :203:50 -
Old: Argument is incorrect: Expected `bool`, found `SendType`
New: Argument is incorrect: Expected `bool`, found `SendType@MemorySendChannel`
[error] invalid-argument-type - :546:38 -
Old: Argument to bound method `__init__` is incorrect: Expected `MemoryReceiveChannel[Unknown]`, found `MemorySendChannel[Unknown] | MemoryReceiveChannel[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `MemoryReceiveChannel[Unknown]`, found `MemorySendChannel[T@as_safe_channel] | MemoryReceiveChannel[T@as_safe_channel]`

src/trio/_core/_tests/test_io.py

[error] unresolved-attribute - :65:16 -
Old: Type `(socket | int, /) -> RetT` has no attribute `__name__`
New: Type `(socket | int, /) -> RetT@also_using_fileno` has no attribute `__name__`

src/trio/_core/_tests/test_run.py

[error] invalid-assignment - :2668:5 -
Old: Object of type `<class 'RuntimeError'> | RaisesGroup[ExcT_1 | ExceptionGroup[ExcT_2]]` is not assignable to `type[RuntimeError] | RaisesGroup[RuntimeError]`
New: Object of type `<class 'RuntimeError'> | RaisesGroup[ExcT_1@__init__ | ExceptionGroup[ExcT_2@__init__]]` is not assignable to `type[RuntimeError] | RaisesGroup[RuntimeError]`

src/trio/_path.py

[error] invalid-return-type - :77:16 -
Old: Return type does not match returned value: expected `PathT`, found `Path`
New: Return type does not match returned value: expected `PathT@_wrap_method_path`, found `Path`

src/trio/_socket.py

[error] unresolved-attribute - :441:54 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`
[error] unresolved-attribute - :446:71 -
Old: Type `(...) -> T` has no attribute `__name__`
New: Type `(...) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`

src/trio/_tests/test_testing_raisesgroup.py

[error] invalid-argument-type - :40:37 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :84:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[RuntimeError, ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[RuntimeError, ValueError]`
[error] invalid-argument-type - :140:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ExceptionGroup[Exception]]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ExceptionGroup[Exception]]`
[error] invalid-argument-type - :140:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :343:37 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :384:30 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :435:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :996:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :1008:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :1045:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[OSError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[OSError]`
[error] invalid-argument-type - :1111:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`

src/trio/_tests/test_threads.py

[error] invalid-argument-type - :89:22 -
Old: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run_sync(fn: (...) -> RetT, *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT`
New: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run_sync(fn: (...) -> RetT@from_thread_run_sync, *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT@from_thread_run_sync`
[error] invalid-argument-type - :96:22 -
Old: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run_sync(fn: (...) -> RetT, *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT`
New: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run_sync(fn: (...) -> RetT@from_thread_run_sync, *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT@from_thread_run_sync`
[error] invalid-argument-type - :104:22 -
Old: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run(afn: (...) -> Awaitable[RetT], *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT`
New: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run(afn: (...) -> Awaitable[RetT@from_thread_run], *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT@from_thread_run`
[error] invalid-argument-type - :112:22 -
Old: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run(afn: (...) -> Awaitable[RetT], *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT`
New: Argument to function `check_case` is incorrect: Expected `(...) -> Thread`, found `def from_thread_run(afn: (...) -> Awaitable[RetT@from_thread_run], *args: @Todo(`Unpack[]` special form), *, trio_token: TrioToken | None = None) -> RetT@from_thread_run`

src/trio/_tests/type_tests/raisesgroup.py

[error] invalid-argument-type - :24:37 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :30:71 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :133:37 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-argument-type - :156:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ExceptionGroup[Exception]]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ExceptionGroup[Exception]]`
[error] invalid-argument-type - :156:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co]`, found `tuple[ValueError]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[_ExceptionT_co@ExceptionGroup]`, found `tuple[ValueError]`
[error] invalid-assignment - :169:5 -
Old: Object of type `RaisesGroup[ExcT_1 | ExceptionGroup[ExcT_2]]` is not assignable to `RaisesGroup[ValueError]`
New: Object of type `RaisesGroup[ExcT_1@__init__ | ExceptionGroup[ExcT_2@__init__]]` is not assignable to `RaisesGroup[ValueError]`
[error] invalid-assignment - :170:5 -
Old: Object of type `RaisesGroup[ExcT_1 | ExceptionGroup[ExcT_2]]` is not assignable to `RaisesGroup[ValueError]`
New: Object of type `RaisesGroup[ExcT_1@__init__ | ExceptionGroup[ExcT_2@__init__]]` is not assignable to `RaisesGroup[ValueError]`
[error] invalid-assignment - :171:5 -
Old: Object of type `RaisesGroup[ExcT_1 | ExceptionGroup[ExcT_2]]` is not assignable to `RaisesGroup[ValueError]`
New: Object of type `RaisesGroup[ExcT_1@__init__ | ExceptionGroup[ExcT_2@__init__]]` is not assignable to `RaisesGroup[ValueError]`

src/trio/_util.py

[error] unresolved-attribute - :191:9 -
Old: Unresolved attribute `__name__` on type `CallT`.
New: Unresolved attribute `__name__` on type `CallT@async_wraps`.
[error] unresolved-attribute - :192:9 -
Old: Unresolved attribute `__qualname__` on type `CallT`.
New: Unresolved attribute `__qualname__` on type `CallT@async_wraps`.

src/trio/testing/_raises_group.py

[error] invalid-super-argument - :543:9 -
Old: `RaisesGroup[ExcT_1 | BaseExcT_1 | BaseExceptionGroup[BaseExcT_2]]` is not an instance or subclass of `<class 'RaisesGroup'>` in `super(<class 'RaisesGroup'>, RaisesGroup[ExcT_1 | BaseExcT_1 | BaseExceptionGroup[BaseExcT_2]])` call
New: `RaisesGroup[ExcT_1@__init__ | BaseExcT_1@__init__ | BaseExceptionGroup[BaseExcT_2@__init__]]` is not an instance or subclass of `<class 'RaisesGroup'>` in `super(<class 'RaisesGroup'>, RaisesGroup[ExcT_1@__init__ | BaseExcT_1@__init__ | BaseExceptionGroup[BaseExcT_2@__init__]])` call

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

test/__init__.py

[error] invalid-return-type - :119:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@notWindows, /) -> _TestFuncT@notWindows`, found `Unknown | MarkDecorator`
[error] invalid-return-type - :126:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@onlyBrotli, /) -> _TestFuncT@onlyBrotli`, found `Unknown | MarkDecorator`
[error] invalid-return-type - :132:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@notBrotli, /) -> _TestFuncT@notBrotli`, found `Unknown | MarkDecorator`
[error] invalid-return-type - :138:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@onlyZstd, /) -> _TestFuncT@onlyZstd`, found `Unknown | MarkDecorator`
[error] invalid-return-type - :145:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@notZstd, /) -> _TestFuncT@notZstd`, found `Unknown | MarkDecorator`
[error] invalid-return-type - :205:12 -
Old: Return type does not match returned value: expected `(_TestFuncT, /) -> _TestFuncT`, found `Unknown | MarkDecorator`
New: Return type does not match returned value: expected `(_TestFuncT@resolvesLocalhostFQDN, /) -> _TestFuncT@resolvesLocalhostFQDN`, found `Unknown | MarkDecorator`

vision (https://github.com/pytorch/vision)

references/detection/coco_eval.py

[error] invalid-argument-type - :34:34 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`
[error] invalid-argument-type - :190:26 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `StringIO`

torchvision/datasets/utils.py

[error] invalid-return-type - :416:16 -
Old: Return type does not match returned value: expected `T`, found `str`
New: Return type does not match returned value: expected `T@verify_str_arg`, found `str`
[error] invalid-return-type - :426:12 -
Old: Return type does not match returned value: expected `T`, found `str`
New: Return type does not match returned value: expected `T@verify_str_arg`, found `str`

torchvision/models/_api.py

[error] unresolved-attribute - :198:45 -
Old: Type `(...) -> M` has no attribute `__name__`
New: Type `(...) -> M@register_model` has no attribute `__name__`

torchvision/models/_utils.py

[error] unresolved-attribute - :126:73 -
Old: Type `(...) -> D` has no attribute `__name__`
New: Type `(...) -> D@kwonly_to_pos_or_kw` has no attribute `__name__`
[error] unresolved-attribute - :203:76 -
Old: Type `(...) -> M` has no attribute `__name__`
New: Type `(...) -> M@outer_wrapper` has no attribute `__name__`

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

src/werkzeug/sansio/request.py

[error] invalid-argument-type - :305:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_date(value: str | None) -> datetime | None`
[error] invalid-argument-type - :318:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `<class 'int'>`
[error] invalid-argument-type - :503:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_set_header(value: str | None, on_update: ((HeaderSet, /) -> None) | None = None) -> HeaderSet`

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 `Self@UpdateDictMixin`, found `UpdateDictMixin[Any, Any]`
[error] invalid-super-argument - :278:18 -
Old: `Self` is not an instance or subclass of `<class 'UpdateDictMixin'>` in `super(<class 'UpdateDictMixin'>, Self)` call
New: `Self@UpdateDictMixin` is not an instance or subclass of `<class 'UpdateDictMixin'>` in `super(<class 'UpdateDictMixin'>, Self@UpdateDictMixin)` call

src/werkzeug/sansio/response.py

[error] invalid-argument-type - :336:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_age(value: str | None = None) -> timedelta | None`
[error] invalid-argument-type - :355:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `<class 'int'>`
[error] invalid-argument-type - :391:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_date(value: str | None) -> datetime | None`
[error] invalid-argument-type - :392:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def http_date(timestamp: date | int | float | struct_time | None = None) -> str`
[error] invalid-argument-type - :404:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_date(value: str | None) -> datetime | None`
[error] invalid-argument-type - :405:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def http_date(timestamp: date | int | float | struct_time | None = None) -> str`
[error] invalid-argument-type - :417:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_date(value: str | None) -> datetime | None`
[error] invalid-argument-type - :418:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def http_date(timestamp: date | int | float | struct_time | None = None) -> str`
[error] invalid-argument-type - :715:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_set_header(value: str | None, on_update: ((HeaderSet, /) -> None) | None = None) -> HeaderSet`
[error] invalid-argument-type - :716:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def dump_header(iterable: Iterable[Any]) -> str`
[error] invalid-argument-type - :722:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_set_header(value: str | None, on_update: ((HeaderSet, /) -> None) | None = None) -> HeaderSet`
[error] invalid-argument-type - :723:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def dump_header(iterable: Iterable[Any]) -> str`
[error] invalid-argument-type - :734:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `def parse_set_header(value: str | None, on_update: ((HeaderSet, /) -> None) | None = None) -> HeaderSet`
[error] invalid-argument-type - :735:9 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@header_property, /) -> str) | None`, found `def dump_header(iterable: Iterable[Any]) -> str`
[error] invalid-argument-type - :741:9 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@header_property) | None`, found `<class 'int'>`

src/werkzeug/utils.py

[error] unresolved-attribute - :85:33 -
Old: Type `(Any, /) -> _T` has no attribute `__name__`
New: Type `(Any, /) -> _T@cached_property` has no attribute `__name__`
[error] invalid-return-type - :114:16 -
Old: Return type does not match returned value: expected `_T`, found `Any | _Missing`
New: Return type does not match returned value: expected `_T@cached_property`, found `Any | _Missing`

tests/test_utils.py

[error] invalid-argument-type - :153:53 - Argument to bound method `__init__` is incorrect: Expected `_TAccessorValue@environ_property | None`, found `Literal["spam"]`
[error] invalid-argument-type - :155:51 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@environ_property) | None`, found `<class 'int'>`
[error] invalid-argument-type - :156:65 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@environ_property) | None`, found `<class 'int'>`
[error] invalid-argument-type - :158:27 - Argument to bound method `__init__` is incorrect: Expected `((str, /) -> _TAccessorValue@environ_property) | None`, found `def parse_date(value: str | None) -> datetime | None`
[error] invalid-argument-type - :158:39 - Argument to bound method `__init__` is incorrect: Expected `((_TAccessorValue@environ_property, /) -> str) | None`, found `def http_date(timestamp: date | int | float | struct_time | None = None) -> str`

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

zerver/management/commands/send_test_email.py

[error] invalid-argument-type - :48:30 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stderr`, found `StringIO`

zerver/migrations/0501_delete_dangling_usermessages.py

[error] invalid-argument-type - :156:45 - Argument to bound method `__init__` is incorrect: Expected `_T_io@redirect_stdout`, found `Unknown | TextIO`

zerver/migrations/0536_add_message_type.py

[error] invalid-argument-type - :16:77 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :23:77 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[1]`

zerver/migrations/0548_realmuserdefault_web_channel_default_view_and_more.py

[error] invalid-argument-type - :15:44 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@SmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :20:44 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@SmallIntegerField`, found `Literal[1]`

zerver/migrations/0578_namedusergroup_deactivated.py

[error] invalid-argument-type - :15:54 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[False]`

zerver/migrations/0586_customprofilefield_editable_by_user.py

[error] invalid-argument-type - :15:39 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`

zerver/migrations/0631_stream_is_recently_active.py

[error] invalid-argument-type - :15:39 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`

zerver/migrations/0703_realmuserdefault_resolved_topic_notice_auto_read_policy_and_more.py

[error] invalid-argument-type - :18:17 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[2]`
[error] invalid-argument-type - :26:17 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[2]`

zerver/migrations/0704_stream_subscriber_count.py

[error] invalid-argument-type - :15:47 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveIntegerField`, found `Literal[0]`

zerver/migrations/0725_realmuserdefault_web_left_sidebar_unreads_count_summary_and_more.py

[error] invalid-argument-type - :15:39 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`
[error] invalid-argument-type - :20:39 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`

zerver/migrations/0743_realm_require_e2ee_push_notifications.py

[error] invalid-argument-type - :31:39 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[False]`

zerver/models/custom_profile_fields.py

[error] invalid-argument-type - :86:58 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`

zerver/models/groups.py

[error] invalid-argument-type - :87:54 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[False]`

analytics/lib/counts.py

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

analytics/management/commands/populate_analytics_db.py

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

analytics/tests/test_counts.py

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

analytics/tests/test_stats_views.py

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

analytics/views/stats.py

[error] unresolved-attribute - :138:20 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :140:52 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :243:20 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :245:38 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] invalid-assignment - :444:9 -
Old: Object of type `Unknown | _ST` is not assignable to `Realm | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Realm | None`

confirmation/models.py

[error] unresolved-attribute - :112:8 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :112:66 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :115:11 -
Old: Type `Self` has no attribute `content_object`
New: Type `Self@Model` has no attribute `content_object`
[error] unresolved-attribute - :130:16 -
Old: Type `Self` has no attribute `type`
New: Type `Self@Model` has no attribute `type`
[error] invalid-return-type - :170:12 -
Old: Return type does not match returned value: expected `Confirmation`, found `Self`
New: Return type does not match returned value: expected `Confirmation`, found `Self@Model`
[error] invalid-argument-type - :201:44 -
Old: Argument to function `confirmation_url` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `confirmation_url` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :314:37 -
Old: Type `Self` has no attribute `date_created`
New: Type `Self@Model` has no attribute `date_created`
[error] invalid-return-type - :317:12 -
Old: Return type does not match returned value: expected `RealmCreationKey | None`, found `Self`
New: Return type does not match returned value: expected `RealmCreationKey | None`, found `Self@Model`

corporate/lib/decorator.py

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

corporate/lib/registration.py

[warning] possibly-unbound-attribute - :14:52 -
Old: Attribute `exempt_from_license_number_check` on type `Unknown | _ST` is possibly unbound
New: Attribute `exempt_from_license_number_check` on type `Unknown | _ST@ForeignKey` is possibly unbound

corporate/lib/remote_billing_util.py

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

corporate/lib/stripe.py

[error] invalid-return-type - :391:16 -
Old: Return type does not match returned value: expected `CustomerPlanOffer | None`, found `Self | None`
New: Return type does not match returned value: expected `CustomerPlanOffer | None`, found `Self@Model | None`
[error] invalid-return-type - :1049:16 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self | None`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model | None`
[error] invalid-return-type - :1074:16 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model`
[error] unresolved-attribute - :1202:17 -
Old: Unresolved attribute `status` on type `Self`.
New: Unresolved attribute `status` on type `Self@Model`.
[error] unresolved-attribute - :1961:16 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :1974:17 -
Old: Unresolved attribute `invoiced_through` on type `Self`.
New: Unresolved attribute `invoiced_through` on type `Self@Model`.
[error] unresolved-attribute - :2031:29 -
Old: Type `Self` has no attribute `fixed_price`
New: Type `Self@Model` has no attribute `fixed_price`
[error] unresolved-attribute - :2033:27 -
Old: Type `Self` has no attribute `tier`
New: Type `Self@Model` has no attribute `tier`
[error] unresolved-attribute - :2044:20 -
Old: Type `Self` has no attribute `next_invoice_date`
New: Type `Self@Model` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2054:33 -
Old: Type `Self` has no attribute `next_invoice_date`
New: Type `Self@Model` has no attribute `next_invoice_date`
[error] unresolved-attribute - :2055:33 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :2168:34 -
Old: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :2192:9 -
Old: Unresolved attribute `invoiced_through` on type `Self`.
New: Unresolved attribute `invoiced_through` on type `Self@Model`.
[error] unresolved-attribute - :2201:39 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2210:40 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :2241:12 -
Old: Attribute `exempt_from_license_number_check` on type `Unknown | _ST` is possibly unbound
New: Attribute `exempt_from_license_number_check` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-return-type - :2288:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
[error] invalid-return-type - :2333:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
[error] unresolved-attribute - :2352:17 -
Old: Unresolved attribute `status` on type `Self`.
New: Unresolved attribute `status` on type `Self@Model`.
[error] unresolved-attribute - :2354:47 -
Old: Type `Self` has no attribute `tier`
New: Type `Self@Model` has no attribute `tier`
[error] invalid-return-type - :2355:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[None, Self@Model]`
[error] invalid-argument-type - :2372:70 -
Old: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :2403:43 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-return-type - :2407:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self@Model, Self@Model]`
[error] invalid-argument-type - :2418:71 -
Old: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :2449:44 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-return-type - :2453:24 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan | None, LicenseLedger | None]`, found `tuple[Self@Model, Self@Model]`
[error] invalid-return-type - :2469:20 -
Old: Return type does not match returned value: expected `CustomerPlan | None`, found `Self | None`
New: Return type does not match returned value: expected `CustomerPlan | None`, found `Self@Model | None`
[warning] possibly-unbound-attribute - :3073:17 -
Old: Attribute `exempt_from_license_number_check` on type `Unknown | _ST` is possibly unbound
New: Attribute `exempt_from_license_number_check` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3109:17 -
Old: Attribute `exempt_from_license_number_check` on type `Unknown | _ST` is possibly unbound
New: Attribute `exempt_from_license_number_check` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :3157:59 -
Old: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to function `get_price_per_license_and_discount` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :3188:16 -
Old: Type `Self` has no attribute `automanage_licenses`
New: Type `Self@Model` has no attribute `automanage_licenses`
[warning] possibly-unbound-attribute - :3207:21 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3224:20 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3230:33 -
Old: Attribute `licenses` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `licenses` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :3231:39 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :3248:30 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3308:34 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3354:21 -
Old: Attribute `flat_discounted_months` on type `Unknown | _ST` is possibly unbound
New: Attribute `flat_discounted_months` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3355:21 -
Old: Attribute `save` on type `Unknown | _ST` is possibly unbound
New: Attribute `save` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3359:34 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3387:16 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3407:17 -
Old: Attribute `stripe_customer_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `stripe_customer_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :3442:17 -
Old: Type `Self` has no attribute `type`
New: Type `Self@Model` has no attribute `type`
[error] unresolved-attribute - :3446:32 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`
[error] unresolved-attribute - :3457:39 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`
[warning] possibly-unbound-attribute - :3739:20 -
Old: Attribute `exempt_from_license_number_check` on type `Unknown | _ST` is possibly unbound
New: Attribute `exempt_from_license_number_check` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :3859:27 -
Old: Type `Self` has no attribute `tier`
New: Type `Self@Model` has no attribute `tier`
[error] unresolved-attribute - :3872:9 -
Old: Unresolved attribute `invoiced_through` on type `Self`.
New: Unresolved attribute `invoiced_through` on type `Self@Model`.
[error] unresolved-attribute - :3914:81 -
Old: Type `Self` has no attribute `tier`
New: Type `Self@Model` has no attribute `tier`
[error] unresolved-attribute - :3927:9 -
Old: Unresolved attribute `invoiced_through` on type `Self`.
New: Unresolved attribute `invoiced_through` on type `Self@Model`.
[error] invalid-return-type - :4130:20 -
Old: Return type does not match returned value: expected `Customer`, found `Self`
New: Return type does not match returned value: expected `Customer`, found `Self@Model`
[error] invalid-return-type - :4135:20 -
Old: Return type does not match returned value: expected `Customer`, found `Self`
New: Return type does not match returned value: expected `Customer`, found `Self@Model`
[warning] possibly-unbound-attribute - :4170:16 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :4172:13 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :4534:21 -
Old: Type `Self` has no attribute `annual_discounted_price`
New: Type `Self@Model` has no attribute `annual_discounted_price`
[error] unresolved-attribute - :4535:21 -
Old: Type `Self` has no attribute `monthly_discounted_price`
New: Type `Self@Model` has no attribute `monthly_discounted_price`
[error] unresolved-attribute - :4537:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self`.
New: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
[error] invalid-return-type - :4540:16 -
Old: Return type does not match returned value: expected `Customer`, found `Self`
New: Return type does not match returned value: expected `Customer`, found `Self@Model`
[error] unresolved-attribute - :4969:21 -
Old: Type `Self` has no attribute `annual_discounted_price`
New: Type `Self@Model` has no attribute `annual_discounted_price`
[error] unresolved-attribute - :4970:21 -
Old: Type `Self` has no attribute `monthly_discounted_price`
New: Type `Self@Model` has no attribute `monthly_discounted_price`
[error] unresolved-attribute - :4972:13 -
Old: Unresolved attribute `flat_discounted_months` on type `Self`.
New: Unresolved attribute `flat_discounted_months` on type `Self@Model`.
[error] invalid-return-type - :4975:16 -
Old: Return type does not match returned value: expected `Customer`, found `Self`
New: Return type does not match returned value: expected `Customer`, found `Self@Model`
[warning] possibly-unbound-attribute - :5555:8 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5556:69 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5557:10 -
Old: Attribute `remote_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `remote_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5558:24 -
Old: Attribute `remote_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `remote_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5561:10 -
Old: Attribute `remote_server` on type `Unknown | _ST` is possibly unbound
New: Attribute `remote_server` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5562:25 -
Old: Attribute `remote_server` on type `Unknown | _ST` is possibly unbound
New: Attribute `remote_server` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :5634:9 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

corporate/lib/stripe_event_handler.py

[error] invalid-argument-type - :86:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `(Unknown & ~None) | (_ST@OneToOneField & ~None)`
[error] invalid-argument-type - :88:43 -
Old: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `(Unknown & ~None) | (_ST@OneToOneField & ~None)`
[error] invalid-argument-type - :92:73 -
Old: Argument to function `get_active_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_active_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@OneToOneField & ~None)`
[error] invalid-argument-type - :95:51 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST@OneToOneField & ~None)`
[error] invalid-argument-type - :109:9 -
Old: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST`
New: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :129:8 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :131:13 -
Old: Argument to function `get_configured_fixed_price_plan_offer` is incorrect: Expected `Customer`, found `Unknown | _ST`
New: Argument to function `get_configured_fixed_price_plan_offer` is incorrect: Expected `Customer`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :131:23 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :139:66 -
Old: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST`
New: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :140:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :140:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :140:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :141:16 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :143:23 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :165:66 -
Old: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST`
New: Argument to function `get_billing_session_for_stripe_webhook` is incorrect: Expected `Customer`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :166:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :166:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :166:83 -
Old: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST`
New: Argument to bound method `get_complimentary_access_plan` is incorrect: Expected `Customer | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :170:44 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :171:20 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :173:27 -
Old: Attribute `required_plan_tier` on type `Unknown | _ST` is possibly unbound
New: Attribute `required_plan_tier` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :188:16 -
Old: Attribute `is_free_trial` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `is_free_trial` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :194:20 -
Old: Attribute `status` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `status` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :196:49 -
Old: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Unknown | _ST`
New: Argument to function `get_current_plan_by_customer` is incorrect: Expected `Customer`, found `Unknown | _ST@ForeignKey`

corporate/lib/support.py

[error] unresolved-attribute - :392:17 -
Old: Type `Self` has no attribute `end_time`
New: Type `Self@Model` has no attribute `end_time`
[error] unresolved-attribute - :435:17 -
Old: Type `Self` has no attribute `end_time`
New: Type `Self@Model` has no attribute `end_time`
[error] invalid-argument-type - :439:58 -
Old: Argument to function `get_push_status_for_remote_request` is incorrect: Expected `RemoteZulipServer`, found `Unknown | _ST`
New: Argument to function `get_push_status_for_remote_request` is incorrect: Expected `RemoteZulipServer`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :460:24 -
Old: Type `Self` has no attribute `event_time`
New: Type `Self@Model` has no attribute `event_time`
[error] invalid-argument-type - :468:52 -
Old: Argument to function `has_stale_audit_log` is incorrect: Expected `RemoteZulipServer`, found `Unknown | _ST`
New: Argument to function `has_stale_audit_log` is incorrect: Expected `RemoteZulipServer`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :490:37 -
Old: Argument to function `get_realm_user_data` is incorrect: Expected `Realm`, found `Unknown | Realm | _ST`
New: Argument to function `get_realm_user_data` is incorrect: Expected `Realm`, found `Unknown | Realm | _ST@ForeignKey`
[error] invalid-argument-type - :501:65 -
Old: Argument to function `get_formatted_realm_upload_space_used` is incorrect: Expected `Realm`, found `Unknown | Realm | _ST`
New: Argument to function `get_formatted_realm_upload_space_used` is incorrect: Expected `Realm`, found `Unknown | Realm | _ST@ForeignKey`

corporate/models/customers.py

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

corporate/models/plans.py

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

corporate/models/stripe_state.py

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

corporate/tests/test_activity_views.py

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

corporate/tests/test_remote_billing.py

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

corporate/tests/test_stripe.py

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

corporate/tests/test_support_views.py

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

corporate/views/audit_logs.py

[warning] possibly-unbound-attribute - :20:12 -
Old: Attribute `host` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `host` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :52:16 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :77:8 -
Old: Type `Self` has no attribute `last_version`
New: Type `Self@Model` has no attribute `last_version`
[error] unresolved-attribute - :81:23 -
Old: Type `Self` has no attribute `last_version`
New: Type `Self@Model` has no attribute `last_version`
[error] unresolved-attribute - :87:44 -
Old: Type `Self` has no attribute `last_audit_log_update`
New: Type `Self@Model` has no attribute `last_audit_log_update`

corporate/views/plan_activity.py

[warning] possibly-unbound-attribute - :15:16 -
Old: Attribute `name` on type `(Unknown & ~AlwaysFalsy) | (_ST & ~AlwaysFalsy)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~AlwaysFalsy) | (_ST@OneToOneField & ~AlwaysFalsy)` is possibly unbound
[warning] possibly-unbound-attribute - :17:16 -
Old: Attribute `name` on type `(Unknown & ~AlwaysFalsy) | (_ST & ~AlwaysFalsy)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~AlwaysFalsy) | (_ST@OneToOneField & ~AlwaysFalsy)` is possibly unbound
[warning] possibly-unbound-attribute - :19:12 -
Old: Attribute `hostname` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `hostname` on type `(Unknown & ~None) | (_ST@OneToOneField & ~None)` is possibly unbound
[error] unresolved-attribute - :27:41 -
Old: Type `Self` has no attribute `customer`
New: Type `Self@Model` has no attribute `customer`
[error] unresolved-attribute - :48:81 -
Old: Type `Self` has no attribute `tier`
New: Type `Self@Model` has no attribute `tier`
[error] unresolved-attribute - :53:44 -
Old: Type `Self` has no attribute `next_invoice_date`
New: Type `Self@Model` has no attribute `next_invoice_date`
[error] unresolved-attribute - :56:8 -
Old: Type `Self` has no attribute `invoiced_through`
New: Type `Self@Model` has no attribute `invoiced_through`
[error] unresolved-attribute - :60:27 -
Old: Type `Self` has no attribute `invoiced_through`
New: Type `Self@Model` has no attribute `invoiced_through`

corporate/views/portico.py

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

corporate/views/realm_activity.py

[warning] possibly-unbound-attribute - :106:16 -
Old: Attribute `delivery_email` on type `Unknown | _ST` is possibly unbound
New: Attribute `delivery_email` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :156:18 -
Old: Type `Self` has no attribute `get_human_admin_users`
New: Type `Self@Model` has no attribute `get_human_admin_users`

corporate/views/remote_billing_page.py

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

corporate/views/sponsorship.py

[warning] possibly-unbound-attribute - :27:8 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | Realm | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | Realm | _ST@ForeignKey` is possibly unbound

corporate/views/support.py

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

corporate/views/upgrade.py

[warning] possibly-unbound-attribute - :64:13 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :65:13 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :206:8 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | Realm | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | Realm | _ST@ForeignKey` is possibly unbound

corporate/views/user_activity.py

[warning] possibly-unbound-attribute - :55:13 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound

corporate/views/webhook.py

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

zerver/actions/alert_words.py

[error] invalid-argument-type - :12:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/bots.py

[error] invalid-argument-type - :31:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :41:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :54:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :69:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :88:59 -
Old: Argument to function `send_bot_owner_update_events` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to function `send_bot_owner_update_events` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :126:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :168:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :205:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/channel_folders.py

[error] invalid-argument-type - :38:48 -
Old: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self`
New: Argument to function `get_channel_folder_dict` is incorrect: Expected `ChannelFolder`, found `Self@Model`
[error] invalid-return-type - :42:12 -
Old: Return type does not match returned value: expected `ChannelFolder`, found `Self`
New: Return type does not match returned value: expected `ChannelFolder`, found `Self@Model`
[error] invalid-argument-type - :50:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :50:56 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :82:22 -
Old: Argument to function `render_channel_folder_description` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `render_channel_folder_description` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/create_realm.py

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

zerver/actions/create_user.py

[warning] possibly-unbound-attribute - :87:13 -
Old: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :92:42 -
Old: Argument to function `internal_send_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_send_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :106:35 -
Old: Argument to function `realm_user_count` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :112:32 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :116:64 -
Old: Argument to function `send_message_to_signup_notification_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_message_to_signup_notification_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :122:17 -
Old: Argument to function `generate_licenses_low_warning_message_if_required` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `generate_licenses_low_warning_message_if_required` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :127:61 -
Old: Argument to function `send_group_direct_message_to_admins` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_group_direct_message_to_admins` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-assignment - :143:9 -
Old: Object of type `Unknown | _ST` is not assignable to `UserProfile | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `UserProfile | None`
[warning] possibly-unbound-attribute - :159:62 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :171:9 -
Old: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :216:22 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :225:87 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :227:44 -
Old: Type `Self` has no attribute `message_id`
New: Type `Self@Model` has no attribute `message_id`
[error] unresolved-attribute - :228:47 -
Old: Type `Self` has no attribute `message_id`
New: Type `Self@Model` has no attribute `message_id`
[warning] possibly-unbound-attribute - :298:21 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :305:13 -
Old: Attribute `is_active` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `is_active` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :309:32 -
Old: Attribute `default_language` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `default_language` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :311:59 -
Old: Attribute `realm_id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `realm_id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :312:17 -
Old: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :339:32 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :339:52 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :345:8 -
Old: Attribute `send_welcome_emails` on type `Unknown | _ST` is possibly unbound
New: Attribute `send_welcome_emails` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :403:13 -
Old: Attribute `get_active_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_active_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :406:35 -
Old: Attribute `get_active_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_active_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :450:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :455:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :461:51 -
Old: Argument to function `get_data_for_inaccessible_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_data_for_inaccessible_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :464:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :473:47 -
Old: Argument to function `stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :474:55 -
Old: Argument to function `stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :501:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :565:64 -
Old: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :568:36 -
Old: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :583:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :622:28 -
Old: Argument to function `do_send_user_group_members_update_event` is incorrect: Expected `NamedUserGroup`, found `Self`
New: Argument to function `do_send_user_group_members_update_event` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
[error] invalid-argument-type - :695:68 -
Old: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :698:40 -
Old: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :700:70 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :723:64 -
Old: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :726:36 -
Old: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :732:17 -
Old: Attribute `is_active` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `is_active` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :750:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :756:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :765:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :767:18 -
Old: Attribute `get_human_admin_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_human_admin_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :779:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :785:69 -
Old: Argument to function `send_bot_owner_update_events` is incorrect: Expected `UserProfile | None`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `send_bot_owner_update_events` is incorrect: Expected `UserProfile | None`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :792:9 -
Old: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :793:9 -
Old: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Collection[Stream] | QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Collection[Stream] | QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
[error] unresolved-attribute - :798:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :800:20 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :804:9 -
Old: Argument to function `send_peer_subscriber_events` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_peer_subscriber_events` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :829:34 -
Old: Argument to function `send_update_events_for_anonymous_group_settings` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_update_events_for_anonymous_group_settings` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/custom_profile_fields.py

[error] unresolved-attribute - :152:12 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :155:9 -
Old: Unresolved attribute `order` on type `Self`.
New: Unresolved attribute `order` on type `Self@Model`.
[error] unresolved-attribute - :155:52 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :169:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :189:28 -
Old: Type `Self` has no attribute `value`
New: Type `Self@Model` has no attribute `value`
[error] unresolved-attribute - :194:9 -
Old: Unresolved attribute `value` on type `Self`.
New: Unresolved attribute `value` on type `Self@Model`.
[error] unresolved-attribute - :195:12 -
Old: Type `Self` has no attribute `field`
New: Type `Self@Model` has no attribute `field`
[error] unresolved-attribute - :196:13 -
Old: Unresolved attribute `rendered_value` on type `Self`.
New: Unresolved attribute `rendered_value` on type `Self@Model`.
[error] invalid-argument-type - :197:52 -
Old: Argument to function `render_stream_description` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `render_stream_description` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :205:23 -
Old: Type `Self` has no attribute `field_id`
New: Type `Self@Model` has no attribute `field_id`
[error] unresolved-attribute - :206:26 -
Old: Type `Self` has no attribute `value`
New: Type `Self@Model` has no attribute `value`
[error] unresolved-attribute - :207:35 -
Old: Type `Self` has no attribute `rendered_value`
New: Type `Self@Model` has no attribute `rendered_value`
[error] unresolved-attribute - :208:25 -
Old: Type `Self` has no attribute `field`
New: Type `Self@Model` has no attribute `field`
[error] unresolved-attribute - :219:51 -
Old: Type `Self` has no attribute `editable_by_user`
New: Type `Self@Model` has no attribute `editable_by_user`
[error] unresolved-attribute - :236:25 -
Old: Type `Self` has no attribute `field_type`
New: Type `Self@Model` has no attribute `field_type`

zerver/actions/data_import.py

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

zerver/actions/default_streams.py

[error] invalid-argument-type - :75:32 -
Old: Argument to function `notify_default_streams` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_default_streams` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :83:28 -
Old: Argument to function `notify_default_streams` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_default_streams` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :109:5 -
Old: Type `Self` has no attribute `streams`
New: Type `Self@Model` has no attribute `streams`

zerver/actions/invites.py

[error] invalid-argument-type - :206:24 -
Old: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :213:17 -
Old: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :217:17 -
Old: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `check_spare_licenses_available_for_inviting_new_users` is incorrect: Expected `Realm`, found `Self@Model`
[error] unresolved-attribute - :220:12 -
Old: Type `Self` has no attribute `invite_required`
New: Type `Self@Model` has no attribute `invite_required`
[error] invalid-argument-type - :235:65 -
Old: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :254:43 -
Old: Argument to function `get_existing_user_errors` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `get_existing_user_errors` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :304:28 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :324:13 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-argument-type - :328:13 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[warning] possibly-unbound-attribute - :338:36 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :398:9 -
Old: Type `Self` has no attribute `streams`
New: Type `Self@Model` has no attribute `streams`
[error] unresolved-attribute - :400:9 -
Old: Type `Self` has no attribute `groups`
New: Type `Self@Model` has no attribute `groups`
[error] unresolved-attribute - :401:5 -
Old: Unresolved attribute `invited_as` on type `Self`.
New: Unresolved attribute `invited_as` on type `Self@Model`.
[error] invalid-argument-type - :403:28 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :423:28 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :423:35 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :428:13 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :434:35 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to function `notify_invites_changed` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :448:24 -
Old: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `check_invite_limit` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :453:31 -
Old: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Self`
New: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Self@Model`
[error] unresolved-attribute - :463:21 -
Old: Type `Self` has no attribute `default_language`
New: Type `Self@Model` has no attribute `default_language`
[warning] possibly-unbound-attribute - :465:35 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :466:31 -
Old: Attribute `delivery_email` on type `Unknown | _ST` is possibly unbound
New: Attribute `delivery_email` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :468:36 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :471:21 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :488:30 -
Old: Argument to function `common_context` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `common_context` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :491:23 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :492:24 -
Old: Attribute `delivery_email` on type `Unknown | _ST` is possibly unbound
New: Attribute `delivery_email` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :493:29 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] invalid-argument-type - :497:9 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Self@Model`
[error] unresolved-attribute - :500:18 -
Old: Type `Self` has no attribute `default_language`
New: Type `Self@Model` has no attribute `default_language`

zerver/actions/message_delete.py

[warning] possibly-unbound-attribute - :120:28 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/actions/message_edit.py

[warning] possibly-unbound-attribute - :169:12 -
Old: Attribute `allow_message_editing` on type `Unknown | _ST` is possibly unbound
New: Attribute `allow_message_editing` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :176:8 -
Old: Attribute `message_content_edit_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_content_edit_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :177:28 -
Old: Attribute `message_content_edit_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_content_edit_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :273:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :312:24 -
Old: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :342:45 -
Old: Argument to function `stream_message_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `stream_message_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :345:32 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :360:32 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :467:41 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] invalid-argument-type - :475:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :546:18 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :547:9 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :621:41 -
Old: Type `Self` has no attribute `is_muted`
New: Type `Self@Model` has no attribute `is_muted`
[error] invalid-argument-type - :727:45 -
Old: Argument to function `__new__` is incorrect: Expected `(Self, /) -> Unknown`, found `def user_info(um: UserMessage) -> dict[str, Any]`
New: Argument to function `__new__` is incorrect: Expected `(Self@Model, /) -> Unknown`, found `def user_info(um: UserMessage) -> dict[str, Any]`
[error] invalid-argument-type - :728:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :841:13 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unsupported-operator - :870:9 -
Old: Operator `|=` is unsupported between objects of type `QuerySet[Self, Self]` and `QuerySet[Message, Message]`
New: Operator `|=` is unsupported between objects of type `QuerySet[Self@Model, Self@Model]` and `QuerySet[Message, Message]`
[error] invalid-argument-type - :907:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :968:38 -
Old: Attribute `user_profile_id` on type `Unknown | Self` is possibly unbound
New: Attribute `user_profile_id` on type `Unknown | Self@Model` is possibly unbound
[warning] possibly-unbound-attribute - :1044:17 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1205:13 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1215:13 -
Old: Argument to function `bulk_access_stream_messages_query` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `bulk_access_stream_messages_query` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1229:16 -
Old: Attribute `is_bot` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_bot` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1230:57 -
Old: Argument to function `apply_automatic_unmute_follow_topics_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `apply_automatic_unmute_follow_topics_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1232:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1302:17 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1349:35 -
Old: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1353:13 -
Old: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1357:34 -
Old: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1362:13 -
Old: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1383:40 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1383:67 -
Old: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1481:22 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1482:61 -
Old: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1490:46 -
Old: Argument to function `get_stream_topics_policy` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_topics_policy` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1592:17 -
Old: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1596:21 -
Old: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_within_stream_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1612:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1623:13 -
Old: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1629:56 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1630:52 -
Old: Argument to function `stream_wildcard_mention_allowed` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `stream_wildcard_mention_allowed` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1630:76 -
Old: Argument to function `stream_wildcard_mention_allowed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `stream_wildcard_mention_allowed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1635:40 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1635:58 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1638:17 -
Old: Argument to function `topic_wildcard_mention_allowed` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `topic_wildcard_mention_allowed` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1638:58 -
Old: Argument to function `topic_wildcard_mention_allowed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `topic_wildcard_mention_allowed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1657:17 -
Old: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1661:21 -
Old: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `move_messages_between_streams_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1735:12 -
Old: Type `Self` has no attribute `rendered_content`
New: Type `Self@Model` has no attribute `rendered_content`
[error] unresolved-attribute - :1737:9 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1738:9 -
Old: Type `Self` has no attribute `rendered_content`
New: Type `Self@Model` has no attribute `rendered_content`
[error] unresolved-attribute - :1744:9 -
Old: Type `Self` has no attribute `rendered_content`
New: Type `Self@Model` has no attribute `rendered_content`
[error] invalid-argument-type - :1751:33 -
Old: Argument to function `do_update_embedded_data` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `do_update_embedded_data` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`

zerver/actions/message_flags.py

[error] invalid-argument-type - :99:32 -
Old: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :142:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :185:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :391:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/message_send.py

[error] invalid-assignment - :1836:5 - Invalid assignment to data descriptor attribute `type` on type `Message` with custom `__set__` method
[warning] possibly-unbound-attribute - :603:42 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :608:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :612:21 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :621:18 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :622:9 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :636:9 -
Old: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `render_incoming_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :697:9 -
Old: Argument is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :753:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :993:41 -
Old: Type `Self` has no attribute `visibility_policy`
New: Type `Self@Model` has no attribute `visibility_policy`
[error] unresolved-attribute - :1041:21 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[warning] possibly-unbound-attribute - :1273:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1297:16 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :1470:8 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1470:47 -
Old: Attribute `deactivated` on type `Unknown | _ST` is possibly unbound
New: Attribute `deactivated` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1492:51 -
Old: Attribute `realm_id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `realm_id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :1493:9 -
Old: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :1515:32 -
Old: Attribute `default_language` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `default_language` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-assignment - :1744:9 -
Old: Object of type `Unknown | _ST` is not assignable to `Realm | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Realm | None`
[error] invalid-argument-type - :1993:9 -
Old: Argument to function `_internal_prep_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `_internal_prep_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :2046:9 -
Old: Argument to function `_internal_prep_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `_internal_prep_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/message_summary.py

[error] invalid-argument-type - :91:53 -
Old: Argument to function `clean_narrow_for_message_fetch` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `clean_narrow_for_message_fetch` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :95:9 -
Old: Argument to function `fetch_messages` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `fetch_messages` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :126:9 -
Old: Argument to function `messages_for_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `messages_for_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :213:50 -
Old: Argument to function `markdown_convert` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `markdown_convert` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`

zerver/actions/muted_users.py

[error] invalid-argument-type - :24:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :41:65 -
Old: Argument to function `get_user_mutes` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `get_user_mutes` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :42:26 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :42:54 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :45:15 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :50:40 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/actions/navigation_views.py

[error] invalid-argument-type - :36:53 -
Old: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self`
New: Argument to function `get_navigation_view_dict` is incorrect: Expected `NavigationView`, found `Self@Model`
[error] invalid-argument-type - :38:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :39:12 -
Old: Return type does not match returned value: expected `NavigationView`, found `Self`
New: Return type does not match returned value: expected `NavigationView`, found `Self@Model`
[error] invalid-argument-type - :96:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :121:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/onboarding_steps.py

[error] invalid-argument-type - :12:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/presence.py

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

zerver/actions/reactions.py

[error] invalid-argument-type - :47:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :80:21 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :156:22 -
Old: Type `Self` has no attribute `emoji_name`
New: Type `Self@Model` has no attribute `emoji_name`
[error] invalid-argument-type - :161:29 -
Old: Argument to function `check_emoji_request` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_emoji_request` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :185:51 -
Old: Argument to function `notify_reaction_update` is incorrect: Expected `Reaction`, found `Self`
New: Argument to function `notify_reaction_update` is incorrect: Expected `Reaction`, found `Self@Model`

zerver/actions/realm_domains.py

[error] unresolved-attribute - :36:20 -
Old: Type `Self` has no attribute `domain`
New: Type `Self@Model` has no attribute `domain`
[error] unresolved-attribute - :36:58 -
Old: Type `Self` has no attribute `allow_subdomains`
New: Type `Self@Model` has no attribute `allow_subdomains`
[error] invalid-return-type - :41:12 -
Old: Return type does not match returned value: expected `RealmDomain`, found `Self`
New: Return type does not match returned value: expected `RealmDomain`, found `Self@Model`
[error] invalid-argument-type - :61:48 -
Old: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :73:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :92:48 -
Old: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :97:65 -
Old: Attribute `emails_restricted_to_domains` on type `Unknown | _ST` is possibly unbound
New: Attribute `emails_restricted_to_domains` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :102:31 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :104:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :104:56 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/actions/realm_emoji.py

[error] invalid-argument-type - :65:24 -
Old: Argument to function `notify_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :72:5 -
Old: Unresolved attribute `deactivated` on type `Self`.
New: Unresolved attribute `deactivated` on type `Self@Model`.
[error] unresolved-attribute - :83:55 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`

zerver/actions/realm_export.py

[error] invalid-argument-type - :26:25 -
Old: Argument to function `notify_realm_export` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_realm_export` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/realm_linkifiers.py

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

zerver/actions/realm_settings.py

[error] invalid-argument-type - :540:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@OneToOneField`
[warning] possibly-unbound-attribute - :540:56 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@OneToOneField` is possibly unbound
[error] invalid-argument-type - :647:49 -
Old: Argument to function `demo_organization_owner_email_exists` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `demo_organization_owner_email_exists` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :653:13 -
Old: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_deactivate_realm` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :792:33 -
Old: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `scrub_deactivated_realm` is incorrect: Expected `Realm`, found `Self@Model`
[error] unresolved-attribute - :865:51 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :867:54 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`

zerver/actions/reminders.py

[error] invalid-argument-type - :30:9 -
Old: Argument to function `check_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :50:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/saved_snippets.py

[error] unresolved-attribute - :32:41 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :38:26 -
Old: Type `Self` has no attribute `to_api_dict`
New: Type `Self@Model` has no attribute `to_api_dict`
[error] invalid-argument-type - :40:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :42:12 -
Old: Return type does not match returned value: expected `SavedSnippet`, found `Self`
New: Return type does not match returned value: expected `SavedSnippet`, found `Self@Model`
[error] unresolved-attribute - :57:9 -
Old: Unresolved attribute `title` on type `Self`.
New: Unresolved attribute `title` on type `Self@Model`.
[error] unresolved-attribute - :59:9 -
Old: Unresolved attribute `content` on type `Self`.
New: Unresolved attribute `content` on type `Self@Model`.
[error] unresolved-attribute - :67:30 -
Old: Type `Self` has no attribute `to_api_dict`
New: Type `Self@Model` has no attribute `to_api_dict`
[error] invalid-argument-type - :69:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :71:12 -
Old: Return type does not match returned value: expected `SavedSnippet`, found `Self`
New: Return type does not match returned value: expected `SavedSnippet`, found `Self@Model`
[error] unresolved-attribute - :77:13 -
Old: Type `Self` has no attribute `to_api_dict`
New: Type `Self@Model` has no attribute `to_api_dict`
[error] invalid-argument-type - :91:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/scheduled_messages.py

[error] invalid-argument-type - :90:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :99:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :164:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :192:9 -
Old: Argument to function `get_recipient_ids` is incorrect: Expected `Recipient | None`, found `Unknown | _ST`
New: Argument to function `get_recipient_ids` is incorrect: Expected `Recipient | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :293:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :309:34 -
Old: Argument to function `access_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `access_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :310:59 -
Old: Argument to function `get_reminder_formatted_content` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `get_reminder_formatted_content` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :317:51 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :318:9 -
Old: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :336:8 -
Old: Attribute `deactivated` on type `Unknown | _ST` is possibly unbound
New: Attribute `deactivated` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :339:12 -
Old: Attribute `is_active` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_active` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :352:42 -
Old: Argument to function `for_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `for_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :359:60 -
Old: Argument to function `for_user_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `for_user_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :368:9 -
Old: Argument to function `check_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `check_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :369:9 -
Old: Argument to function `check_message` is incorrect: Expected `Client`, found `Unknown | _ST`
New: Argument to function `check_message` is incorrect: Expected `Client`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :372:9 -
Old: Argument to function `check_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :382:37 -
Old: Argument to function `notify_remove_scheduled_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `notify_remove_scheduled_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`

zerver/actions/streams.py

[error] invalid-argument-type - :166:53 -
Old: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :166:67 -
Old: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `DefaultStreamGroup`, found `Self`
New: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `DefaultStreamGroup`, found `Self@Model`
[error] invalid-argument-type - :176:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :178:32 -
Old: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :190:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :267:18 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :289:55 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :301:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :305:9 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :314:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :340:8 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :340:35 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :357:33 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] unresolved-attribute - :357:54 -
Old: Type `Self` has no attribute `active`
New: Type `Self@Model` has no attribute `active`
[error] unresolved-attribute - :361:9 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[error] unresolved-attribute - :363:45 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] unresolved-attribute - :390:14 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[error] unresolved-attribute - :800:22 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] invalid-argument-type - :1217:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1226:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1239:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1356:33 -
Old: Attribute `get_admin_users_and_bots` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_admin_users_and_bots` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1368:59 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1371:13 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1382:33 -
Old: Attribute `get_admin_users_and_bots` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_admin_users_and_bots` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1395:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1412:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1437:53 -
Old: Argument to function `silent_mention_syntax_for_user_group` is incorrect: Expected `NamedUserGroup`, found `Self`
New: Argument to function `silent_mention_syntax_for_user_group` is incorrect: Expected `NamedUserGroup`, found `Self@Model`
[warning] possibly-unbound-attribute - :1471:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1536:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1538:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1558:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1592:26 -
Old: Argument to function `render_stream_description` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `render_stream_description` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1617:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1636:21 -
Old: Attribute `message_retention_days` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_retention_days` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1638:21 -
Old: Attribute `message_retention_days` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_retention_days` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1640:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1706:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1748:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1752:59 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1777:32 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1855:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1861:63 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1864:17 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1880:17 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1885:40 -
Old: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1887:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1902:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1916:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1962:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/submessage.py

[error] invalid-argument-type - :63:9 -
Old: Argument to function `set_visibility_policy_possible` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `set_visibility_policy_possible` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :63:17 -
Old: Argument to function `set_visibility_policy_possible` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `set_visibility_policy_possible` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :65:9 -
Old: Attribute `automatically_follow_topics_policy` on type `Unknown | _ST` is possibly unbound
New: Attribute `automatically_follow_topics_policy` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :66:9 -
Old: Attribute `automatically_unmute_topics_in_muted_streams_policy` on type `Unknown | _ST` is possibly unbound
New: Attribute `automatically_unmute_topics_in_muted_streams_policy` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :68:21 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :69:45 -
Old: Argument to function `access_stream_by_id` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `access_stream_by_id` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :72:73 -
Old: Argument to function `visibility_policy_for_participation` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `visibility_policy_for_participation` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :75:17 -
Old: Argument to function `should_change_visibility_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `should_change_visibility_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :77:28 -
Old: Attribute `topic_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `topic_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :80:21 -
Old: Argument to function `do_set_user_topic_visibility_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `do_set_user_topic_visibility_policy` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :82:32 -
Old: Attribute `topic_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `topic_name` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/actions/typing.py

[error] invalid-argument-type - :59:83 -
Old: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :65:9 -
Old: Argument to function `do_send_typing_notification` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_send_typing_notification` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :102:32 -
Old: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :141:32 -
Old: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :152:79 -
Old: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :173:32 -
Old: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_rollback_unsafe` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/uploads.py

[warning] possibly-unbound-attribute - :33:30 -
Old: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST` is possibly unbound
New: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :35:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :47:44 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :48:39 -
Old: Type `Self` has no attribute `is_public`
New: Type `Self@Model` has no attribute `is_public`
[error] unresolved-attribute - :49:37 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] invalid-argument-type - :51:44 -
Old: Argument to function `validate_attachment_request` is incorrect: Expected `UserProfile | AnonymousUser`, found `Unknown | _ST`
New: Argument to function `validate_attachment_request` is incorrect: Expected `UserProfile | AnonymousUser`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :63:17 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :76:38 -
Old: Argument to function `notify_attachment_update` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `notify_attachment_update` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :97:39 -
Old: Type `Self & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
New: Type `Self@Model & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :99:63 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self & ~AlwaysFalsy`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model & ~AlwaysFalsy`
[error] unresolved-attribute - :111:43 -
Old: Type `Self & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
New: Type `Self@Model & ~AlwaysFalsy` has no attribute `thumbnail_metadata`
[error] invalid-argument-type - :113:67 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self & ~AlwaysFalsy`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model & ~AlwaysFalsy`
[error] unresolved-attribute - :145:29 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`

zerver/actions/user_groups.py

[error] unresolved-attribute - :124:13 -
Old: Type `Self` has no attribute `direct_members`
New: Type `Self@Model` has no attribute `direct_members`
[error] unresolved-attribute - :129:13 -
Old: Type `Self` has no attribute `direct_members`
New: Type `Self@Model` has no attribute `direct_members`
[error] unresolved-attribute - :135:13 -
Old: Type `Self` has no attribute `direct_members`
New: Type `Self@Model` has no attribute `direct_members`
[error] unresolved-attribute - :138:13 -
Old: Type `Self` has no attribute `direct_members`
New: Type `Self@Model` has no attribute `direct_members`
[error] invalid-argument-type - :215:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :252:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :304:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :327:88 -
Old: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :352:77 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :363:13 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :376:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :402:88 -
Old: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :432:13 -
Old: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :444:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :460:88 -
Old: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :496:77 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :506:13 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :519:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :538:88 -
Old: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_metadata_access_streams_via_group_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :577:13 -
Old: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :602:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/user_settings.py

[error] invalid-argument-type - :54:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :64:24 -
Old: Attribute `get_active_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_active_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :98:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :106:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :132:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :167:12 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :178:27 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :188:13 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :200:9 -
Old: Argument to function `send_email` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `send_email` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :244:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :250:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :264:65 -
Old: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :274:65 -
Old: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :328:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :363:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :380:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :503:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :515:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :531:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :540:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :542:18 -
Old: Attribute `get_human_admin_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_human_admin_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :554:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-assignment - :622:17 -
Old: Object of type `Self` is not assignable to `UserPresence | None`
New: Object of type `Self@Model` is not assignable to `UserPresence | None`

zerver/actions/user_status.py

[error] invalid-argument-type - :55:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/user_topics.py

[error] invalid-argument-type - :55:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :65:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/actions/users.py

[warning] possibly-unbound-attribute - :85:8 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :106:9 -
Old: Attribute `delete` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `delete` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :110:80 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :113:13 -
Old: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :190:8 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :217:90 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :220:13 -
Old: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :228:41 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :239:80 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :242:13 -
Old: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :256:41 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :309:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :332:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :403:29 -
Old: Argument to function `send_peer_remove_events` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_peer_remove_events` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :413:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :413:76 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :416:52 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :417:94 -
Old: Argument to function `get_users_involved_in_dms_with_target_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_users_involved_in_dms_with_target_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :450:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :453:43 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :487:17 -
Old: Argument to function `send_update_events_for_anonymous_group_settings` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_update_events_for_anonymous_group_settings` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :501:13 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :523:12 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :546:68 -
Old: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :549:40 -
Old: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :551:70 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :565:17 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :583:73 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :603:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :606:13 -
Old: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_get_subscriber_peer_info` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :615:34 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :622:36 -
Old: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_stream_deletion_event` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :662:64 -
Old: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_user_count_by_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :665:36 -
Old: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `maybe_enqueue_audit_log_upload` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :669:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :675:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :711:13 -
Old: Argument to function `update_users_in_full_members_system_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `update_users_in_full_members_system_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :822:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :841:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :887:29 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] invalid-argument-type - :930:58 -
Old: Argument to function `get_service_dicts_for_bots` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_service_dicts_for_bots` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :964:15 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/actions/video_calls.py

[error] invalid-argument-type - :12:9 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/context_processors.py

[warning] possibly-unbound-attribute - :47:22 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :48:23 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/decorator.py

[warning] possibly-unbound-attribute - :281:8 -
Old: Attribute `deactivated` on type `Unknown | _ST` is possibly unbound
New: Attribute `deactivated` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :307:9 -
Old: Attribute `subdomain` on type `Unknown | _ST` is possibly unbound
New: Attribute `subdomain` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/addressee.py

[error] invalid-assignment - :119:13 -
Old: Object of type `Unknown | _ST` is not assignable to `Realm | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Realm | None`

zerver/lib/attachments.py

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

zerver/lib/avatar.py

[warning] possibly-unbound-attribute - :153:20 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/bot_config.py

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

zerver/lib/bot_storage.py

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

zerver/lib/bulk_create.py

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

zerver/lib/cache.py

[warning] possibly-unbound-attribute - :709:60 -
Old: Attribute `realm_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/channel_folders.py

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

zerver/lib/create_user.py

[warning] possibly-unbound-attribute - :93:77 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :189:45 -
Old: Type `Self` has no attribute `email_address_visibility`
New: Type `Self@Model` has no attribute `email_address_visibility`
[error] invalid-argument-type - :237:31 -
Old: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self`
New: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self@Model`

zerver/lib/default_streams.py

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

zerver/lib/digest.py

[warning] possibly-unbound-attribute - :65:16 -
Old: Attribute `is_bot` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_bot` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :66:36 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :450:13 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/display_recipient.py

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

zerver/lib/drafts.py

[error] invalid-argument-type - :69:54 -
Old: Argument to function `get_user_profiles_by_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_profiles_by_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :125:24 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`
[error] invalid-argument-type - :127:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :129:12 -
Old: Return type does not match returned value: expected `list[Draft]`, found `list[Self]`
New: Return type does not match returned value: expected `list[Draft]`, found `list[Self@Model]`
[error] unresolved-attribute - :141:5 -
Old: Unresolved attribute `content` on type `Self`.
New: Unresolved attribute `content` on type `Self@Model`.
[error] unresolved-attribute - :142:5 -
Old: Unresolved attribute `topic` on type `Self`.
New: Unresolved attribute `topic` on type `Self@Model`.
[error] unresolved-attribute - :143:5 -
Old: Unresolved attribute `recipient_id` on type `Self`.
New: Unresolved attribute `recipient_id` on type `Self@Model`.
[error] unresolved-attribute - :144:5 -
Old: Unresolved attribute `last_edit_time` on type `Self`.
New: Unresolved attribute `last_edit_time` on type `Self@Model`.
[error] unresolved-attribute - :149:61 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`
[error] invalid-argument-type - :150:30 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :161:16 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :165:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/email_mirror.py

[error] invalid-return-type - :132:12 -
Old: Return type does not match returned value: expected `MissedMessageEmailAddress`, found `Self`
New: Return type does not match returned value: expected `MissedMessageEmailAddress`, found `Self@Model`
[error] invalid-return-type - :367:12 -
Old: Return type does not match returned value: expected `tuple[ChannelEmailAddress, dict[str, bool]]`, found `tuple[Self, dict[str, bool]]`
New: Return type does not match returned value: expected `tuple[ChannelEmailAddress, dict[str, bool]]`, found `tuple[Self@Model, dict[str, bool]]`
[warning] possibly-unbound-attribute - :421:68 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :423:8 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :429:36 -
Old: Argument to function `access_stream_for_send_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | _ST | Unknown`
New: Argument to function `access_stream_for_send_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | _ST@ForeignKey | Unknown`
[error] invalid-argument-type - :429:59 -
Old: Argument to function `access_stream_for_send_message` is incorrect: Expected `Stream`, found `Unknown | _ST`
New: Argument to function `access_stream_for_send_message` is incorrect: Expected `Stream`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :453:63 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :453:77 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :460:42 -
Old: Argument to function `construct_zulip_body` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `construct_zulip_body` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :460:49 -
Old: Argument to function `construct_zulip_body` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `construct_zulip_body` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :461:16 -
Old: Argument to function `send_zulip` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `send_zulip` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :461:24 -
Old: Argument to function `send_zulip` is incorrect: Expected `Stream`, found `Unknown | _ST`
New: Argument to function `send_zulip` is incorrect: Expected `Stream`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :464:9 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :465:9 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :474:18 -
Old: Attribute `topic_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `topic_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :476:8 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :478:21 -
Old: Attribute `sender` on type `Unknown | _ST` is possibly unbound
New: Attribute `sender` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :480:21 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :482:27 -
Old: Argument to function `is_user_active` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `is_user_active` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :486:42 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :486:62 -
Old: Argument to function `construct_zulip_body` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `construct_zulip_body` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :490:63 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :491:33 -
Old: Argument to function `send_mm_reply_to_stream` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `send_mm_reply_to_stream` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :497:39 -
Old: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :502:44 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :502:64 -
Old: Argument to function `internal_send_group_direct_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `internal_send_group_direct_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :508:9 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :536:12 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :540:17 -
Old: Argument to function `access_stream_for_send_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `access_stream_for_send_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :542:21 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :543:21 -
Old: Attribute `realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :553:40 -
Old: Argument to function `rate_limit_mirror_by_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `rate_limit_mirror_by_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/email_mirror_helpers.py

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

zerver/lib/email_notifications.py

[warning] possibly-unbound-attribute - :212:12 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :213:20 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :214:14 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :215:55 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :217:24 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :253:48 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :259:40 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :274:12 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :277:17 -
Old: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :278:27 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :279:34 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :281:33 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :285:14 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :287:55 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :298:20 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :300:25 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :308:17 -
Old: Argument to function `topic_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `topic_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :309:17 -
Old: Argument to function `topic_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self`
New: Argument to function `topic_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self@Model`
[warning] possibly-unbound-attribute - :312:25 -
Old: Attribute `name` on type `Stream | Self` is possibly unbound
New: Attribute `name` on type `Stream | Self@Model` is possibly unbound
[error] invalid-argument-type - :313:45 -
Old: Argument to function `stream_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `stream_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :313:57 -
Old: Argument to function `stream_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self`
New: Argument to function `stream_narrow_url` is incorrect: Expected `Stream`, found `Stream | Self@Model`
[warning] possibly-unbound-attribute - :318:29 -
Old: Attribute `name` on type `Stream | Self` is possibly unbound
New: Attribute `name` on type `Stream | Self@Model` is possibly unbound
[warning] possibly-unbound-attribute - :326:31 -
Old: Attribute `type_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :384:9 -
Old: Attribute `message_content_allowed_in_email_notifications` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_content_allowed_in_email_notifications` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :533:13 -
Old: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :562:13 -
Old: Argument to function `message_link_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `message_link_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :568:26 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[warning] possibly-unbound-attribute - :582:23 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :586:51 -
Old: Attribute `message_content_allowed_in_email_notifications` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_content_allowed_in_email_notifications` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :595:23 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :838:16 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :842:17 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :849:30 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :863:30 -
Old: Argument to function `email_belongs_to_ldap` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `email_belongs_to_ldap` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :877:9 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :895:16 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :905:17 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :923:13 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :932:88 -
Old: Argument to function `get_org_type_zulip_guide` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_org_type_zulip_guide` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :955:13 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :976:13 -
Old: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_future_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/emoji.py

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

zerver/lib/events.py

[error] invalid-argument-type - :154:42 -
Old: Argument to function `get_customer_by_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_customer_by_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :630:17 -
Old: Type `Self` has no attribute `resolved_topic_notice_auto_read_policy`
New: Type `Self@Model` has no attribute `resolved_topic_notice_auto_read_policy`
[error] invalid-argument-type - :810:69 -
Old: Argument to function `get_channel_folders_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_folders_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1311:25 -
Old: Argument to function `get_data_for_inaccessible_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_data_for_inaccessible_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1451:52 -
Old: Type `Self` has no attribute `first_message_id`
New: Type `Self@Model` has no attribute `first_message_id`
[error] invalid-argument-type - :1531:75 -
Old: Argument to function `get_role_based_system_groups_dict` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_role_based_system_groups_dict` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1539:33 -
Old: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1549:33 -
Old: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1559:33 -
Old: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1587:75 -
Old: Argument to function `get_role_based_system_groups_dict` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_role_based_system_groups_dict` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1594:29 -
Old: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_corresponding_policy_value_for_group_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/export.py

[error] unresolved-attribute - :1381:24 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1609:52 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :1632:12 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] unresolved-attribute - :1635:42 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] invalid-argument-type - :1664:9 -
Old: Argument to function `fetch_usermessages` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `fetch_usermessages` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-assignment - :1924:9 -
Old: Object of type `list[Self]` is not assignable to `list[Attachment] | None`
New: Object of type `list[Self@Model]` is not assignable to `list[Attachment] | None`
[error] invalid-argument-type - :1948:13 -
Old: Argument to function `export_emoji_from_local` is incorrect: Expected `list[RealmEmoji]`, found `list[Self]`
New: Argument to function `export_emoji_from_local` is incorrect: Expected `list[RealmEmoji]`, found `list[Self@Model]`
[error] invalid-argument-type - :1996:41 -
Old: Argument to function `get_emoji_path` is incorrect: Expected `RealmEmoji`, found `Self`
New: Argument to function `get_emoji_path` is incorrect: Expected `RealmEmoji`, found `Self@Model`
[error] invalid-argument-type - :2601:32 -
Old: Argument to function `export_uploads_and_avatars` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `export_uploads_and_avatars` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :2753:12 -
Old: Type `Self` has no attribute `type`
New: Type `Self@Model` has no attribute `type`
[error] unresolved-attribute - :2754:59 -
Old: Type `Self` has no attribute `type_id`
New: Type `Self@Model` has no attribute `type_id`
[error] unresolved-attribute - :2759:44 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2777:25 -
Old: Type `Self` has no attribute `recipient_id`
New: Type `Self@Model` has no attribute `recipient_id`
[error] invalid-argument-type - :2934:58 -
Old: Argument to function `get_consented_user_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_consented_user_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :2937:13 -
Old: Argument to function `do_export_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_export_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :2991:13 -
Old: Argument to bound method `upload_export_tarball` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to bound method `upload_export_tarball` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/home.py

[warning] possibly-unbound-attribute - :70:28 -
Old: Attribute `webathena_enabled` on type `Unknown | _ST` is possibly unbound
New: Attribute `webathena_enabled` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/import_realm.py

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

zerver/lib/invites.py

[error] invalid-argument-type - :25:9 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-argument-type - :50:32 -
Old: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_invites_changed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/management.py

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

zerver/lib/markdown/__init__.py

[warning] possibly-unbound-attribute - :2838:13 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :2889:66 -
Old: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `None | Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `None | Unknown | _ST@ForeignKey`
[error] invalid-assignment - :2892:13 -
Old: Object of type `None | Unknown | _ST` is not assignable to `UserProfile | None`
New: Object of type `None | Unknown | _ST@ForeignKey` is not assignable to `UserProfile | None`
[warning] possibly-unbound-attribute - :3038:19 -
Old: Attribute `is_bot` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_bot` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3039:27 -
Old: Attribute `translate_emoticons` on type `Unknown | _ST` is possibly unbound
New: Attribute `translate_emoticons` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/mention.py

[error] unresolved-attribute - :404:42 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :409:17 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :411:24 -
Old: Type `Self` has no attribute `deactivated`
New: Type `Self@Model` has no attribute `deactivated`
[error] unresolved-attribute - :412:51 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[warning] possibly-unbound-attribute - :500:9 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/message.py

[error] invalid-argument-type - :405:9 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model | Unknown`
[error] invalid-return-type - :410:16 -
Old: Return type does not match returned value: expected `Message`, found `Self | Unknown`
New: Return type does not match returned value: expected `Message`, found `Self@Model | Unknown`
[error] invalid-argument-type - :438:9 -
Old: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self | Unknown`
New: Argument to function `has_message_access` is incorrect: Expected `Message`, found `Self@Model | Unknown`
[error] invalid-return-type - :443:16 -
Old: Return type does not match returned value: expected `tuple[Message, UserMessage | None]`, found `tuple[Self | Unknown, UserMessage | None]`
New: Return type does not match returned value: expected `tuple[Message, UserMessage | None]`, found `tuple[Self@Model | Unknown, UserMessage | None]`
[error] unresolved-attribute - :467:12 -
Old: Type `Self` has no attribute `is_stream_message`
New: Type `Self@Model` has no attribute `is_stream_message`
[error] unresolved-attribute - :472:34 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] invalid-return-type - :485:12 -
Old: Return type does not match returned value: expected `Message`, found `Self`
New: Return type does not match returned value: expected `Message`, found `Self@Model`
[warning] possibly-unbound-attribute - :552:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-assignment - :557:9 -
Old: Object of type `Self` is not assignable to `Stream | None`
New: Object of type `Self@Model` is not assignable to `Stream | None`
[warning] possibly-unbound-attribute - :557:40 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :621:18 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-assignment - :623:9 -
Old: Object of type `Self` is not assignable to `Stream | None`
New: Object of type `Self@Model` is not assignable to `Stream | None`
[error] unresolved-attribute - :692:13 -
Old: Type `Self` has no attribute `recipient_id`
New: Type `Self@Model` has no attribute `recipient_id`
[warning] possibly-unbound-attribute - :695:21 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :697:24 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-return-type - :745:16 -
Old: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Message, Message]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-return-type - :769:12 -
Old: Return type does not match returned value: expected `QuerySet[UserMessage, int]`, found `QuerySet[Self, Any]`
New: Return type does not match returned value: expected `QuerySet[UserMessage, int]`, found `QuerySet[Self@Model, Any]`
[error] invalid-argument-type - :835:61 -
Old: Argument to function `get_first_visible_message_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_first_visible_message_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1706:33 -
Old: Type `Self` has no attribute `visibility_policy`
New: Type `Self@Model` has no attribute `visibility_policy`
[warning] possibly-unbound-attribute - :1740:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1741:66 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1742:16 -
Old: Type `Self` has no attribute `group_size`
New: Type `Self@Model` has no attribute `group_size`
[warning] possibly-unbound-attribute - :1744:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1751:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1752:47 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1753:70 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1755:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1756:37 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/message_cache.py

[warning] possibly-unbound-attribute - :316:16 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :317:24 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[warning] possibly-unbound-attribute - :317:46 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :330:33 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :331:36 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :332:39 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :334:30 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :335:41 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :336:37 -
Old: Attribute `realm_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `realm_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :366:59 -
Old: Argument to function `sew_submessages_and_reactions_to_msgs` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self, dict[str, Any]]`
New: Argument to function `sew_submessages_and_reactions_to_msgs` is incorrect: Expected `list[dict[str, Any]]`, found `QuerySet[Self@Model, dict[str, Any]]`
[error] invalid-argument-type - :464:62 -
Old: Argument to function `save_message_rendered_content` is incorrect: Expected `Message`, found `Self`
New: Argument to function `save_message_rendered_content` is incorrect: Expected `Message`, found `Self@Model`

zerver/lib/message_report.py

[error] invalid-argument-type - :35:60 -
Old: Argument to function `silent_mention_syntax_for_user` is incorrect: Expected `UserProfile | UserDisplayRecipient`, found `Unknown | _ST`
New: Argument to function `silent_mention_syntax_for_user` is incorrect: Expected `UserProfile | UserDisplayRecipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :46:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :47:48 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :64:22 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :65:24 -
Old: Attribute `label` on type `Unknown | _ST` is possibly unbound
New: Attribute `label` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :108:72 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :109:8 -
Old: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :113:58 -
Old: Attribute `realm` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `realm` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :114:9 -
Old: Argument to function `internal_send_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_send_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`

zerver/lib/muted_users.py

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

zerver/lib/narrow.py

[warning] possibly-unbound-attribute - :1018:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1019:22 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1027:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1029:53 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1033:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1034:66 -
Old: Argument to function `get_direct_message_group_user_ids` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_direct_message_group_user_ids` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1050:68 -
Old: Argument to function `get_channel_from_narrow_access_unchecked` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_from_narrow_access_unchecked` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1248:9 -
Old: Argument to function `add_narrow_conditions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `add_narrow_conditions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/navigation_views.py

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

zerver/lib/notification_data.py

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

zerver/lib/onboarding.py

[error] invalid-argument-type - :41:39 -
Old: Argument to function `setup_realm_internal_bots` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `setup_realm_internal_bots` is incorrect: Expected `Realm`, found `Self@Model`
[warning] possibly-unbound-attribute - :46:30 -
Old: Attribute `org_type` on type `Unknown | _ST` is possibly unbound
New: Attribute `org_type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :78:36 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :216:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :217:37 -
Old: Attribute `recipient_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :220:16 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :221:37 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :242:9 -
Old: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `internal_send_private_message` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`

zerver/lib/onboarding_steps.py

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

zerver/lib/outgoing_webhook.py

[error] invalid-argument-type - :360:13 -
Old: Argument to bound method `make_request` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to bound method `make_request` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :365:13 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/per_request_cache.py

[error] unresolved-attribute - :10:17 -
Old: Type `(...) -> ReturnT` has no attribute `__name__`
New: Type `(...) -> ReturnT@return_same_value_during_entire_request` has no attribute `__name__`

zerver/lib/presence.py

[error] invalid-argument-type - :259:9 -
Old: Argument to function `get_presences_for_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_presences_for_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/profile.py

[error] unresolved-attribute - :32:14 -
Old: Type `(...) -> ReturnT` has no attribute `__name__`
New: Type `(...) -> ReturnT@profiled` has no attribute `__name__`

zerver/lib/push_notifications.py

[warning] possibly-unbound-attribute - :105:17 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :106:12 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[warning] possibly-unbound-attribute - :600:27 -
Old: Attribute `uuid` on type `Unknown | _ST` is possibly unbound
New: Attribute `uuid` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :614:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :619:57 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :649:9 -
Old: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST`
New: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :663:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :669:13 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :721:27 -
Old: Attribute `uuid` on type `Unknown | _ST` is possibly unbound
New: Attribute `uuid` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-assignment - :741:13 -
Old: Object of type `Self` is not assignable to `PushDeviceToken`
New: Object of type `Self@Model` is not assignable to `PushDeviceToken`
[warning] possibly-unbound-attribute - :762:31 -
Old: Attribute `uuid` on type `Unknown | _ST` is possibly unbound
New: Attribute `uuid` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :833:35 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :834:61 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :839:35 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :840:61 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :863:31 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :864:57 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Self@Model`
[warning] possibly-unbound-attribute - :997:24 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :998:25 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :999:25 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1000:26 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1017:25 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1024:29 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1024:79 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1027:32 -
Old: Attribute `email` on type `Unknown | _ST` is possibly unbound
New: Attribute `email` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1035:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1038:29 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1040:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1045:44 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1047:59 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1058:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1059:44 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1068:12 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1081:19 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1103:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1105:10 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1106:44 -
Old: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_display_recipient` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1196:49 -
Old: Argument to function `absolute_avatar_url` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `absolute_avatar_url` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1197:23 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1327:49 -
Old: Attribute `require_e2ee_push_notifications` on type `Unknown | _ST` is possibly unbound
New: Attribute `require_e2ee_push_notifications` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1358:9 -
Old: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST`
New: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1448:16 -
Old: Type `Self` has no attribute `bouncer_device_id`
New: Type `Self@Model` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :1449:12 -
Old: Type `Self` has no attribute `token_kind`
New: Type `Self@Model` has no attribute `token_kind`
[error] unresolved-attribute - :1456:17 -
Old: Type `Self` has no attribute `push_public_key`
New: Type `Self@Model` has no attribute `push_public_key`
[error] unresolved-attribute - :1459:33 -
Old: Type `Self` has no attribute `push_account_id`
New: Type `Self@Model` has no attribute `push_account_id`
[error] unresolved-attribute - :1463:27 -
Old: Type `Self` has no attribute `bouncer_device_id`
New: Type `Self@Model` has no attribute `bouncer_device_id`
[error] unresolved-attribute - :1471:17 -
Old: Type `Self` has no attribute `push_public_key`
New: Type `Self@Model` has no attribute `push_public_key`
[error] unresolved-attribute - :1474:33 -
Old: Type `Self` has no attribute `push_account_id`
New: Type `Self@Model` has no attribute `push_account_id`
[error] unresolved-attribute - :1478:27 -
Old: Type `Self` has no attribute `bouncer_device_id`
New: Type `Self@Model` has no attribute `bouncer_device_id`
[error] invalid-argument-type - :1491:17 -
Old: Argument to function `send_e2ee_push_notifications` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `send_e2ee_push_notifications` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1495:35 -
Old: Attribute `uuid` on type `Unknown | _ST` is possibly unbound
New: Attribute `uuid` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1513:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1518:57 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1538:9 -
Old: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST`
New: Argument to function `do_increment_logging_stat` is incorrect: Expected `Realm | UserProfile | Stream | RemoteRealm | RemoteZulipServer`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1556:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1562:13 -
Old: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_push_notifications_enabled_end_timestamp` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1673:51 -
Old: Argument to function `check_can_access_user` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `check_can_access_user` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1742:35 -
Old: Attribute `uuid` on type `Unknown | _ST` is possibly unbound
New: Attribute `uuid` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1822:13 -
Old: Type `Self` has no attribute `push_account_id`
New: Type `Self@Model` has no attribute `push_account_id`
[error] unresolved-attribute - :1822:46 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :1822:72 -
Old: Type `Self` has no attribute `error_code`
New: Type `Self@Model` has no attribute `error_code`

zerver/lib/push_registration.py

[error] invalid-argument-type - :59:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/recipient_users.py

[error] unresolved-attribute - :82:12 -
Old: Type `DirectMessageGroup | Self` has no attribute `recipient_id`
New: Type `DirectMessageGroup | Self@Model` has no attribute `recipient_id`
[error] unresolved-attribute - :84:17 -
Old: Type `DirectMessageGroup | Self` has no attribute `id`
New: Type `DirectMessageGroup | Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :104:14 -
Old: Attribute `deactivated` on type `Unknown | _ST` is possibly unbound
New: Attribute `deactivated` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/reminders.py

[warning] possibly-unbound-attribute - :20:16 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :25:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :26:29 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] invalid-argument-type - :35:58 -
Old: Argument to function `silent_mention_syntax_for_user` is incorrect: Expected `UserProfile | UserDisplayRecipient`, found `Unknown | _ST`
New: Argument to function `silent_mention_syntax_for_user` is incorrect: Expected `UserProfile | UserDisplayRecipient`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :36:41 -
Old: Argument to function `message_link_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `message_link_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :69:16 -
Old: Return type does not match returned value: expected `ScheduledMessage`, found `Self`
New: Return type does not match returned value: expected `ScheduledMessage`, found `Self@Model`

zerver/lib/remote_server.py

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

zerver/lib/retention.py

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

zerver/lib/scheduled_messages.py

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

zerver/lib/send_email.py

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

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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`
[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 `Self@AbstractBaseSession`

zerver/lib/soft_deactivation.py

[error] unresolved-attribute - :265:47 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :379:70 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/stream_subscription.py

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

zerver/lib/streams.py

[warning] possibly-unbound-attribute - :223:16 -
Old: Attribute `web_public_streams_enabled` on type `Unknown | _ST` is possibly unbound
New: Attribute `web_public_streams_enabled` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :232:9 -
Old: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST` is possibly unbound
New: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :411:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :413:9 -
Old: Unresolved attribute `recipient` on type `Self`.
New: Unresolved attribute `recipient` on type `Self@Model`.
[error] unresolved-attribute - :414:9 -
Old: Unresolved attribute `rendered_description` on type `Self`.
New: Unresolved attribute `rendered_description` on type `Self@Model`.
[error] unresolved-attribute - :431:12 -
Old: Type `Self` has no attribute `is_public`
New: Type `Self@Model` has no attribute `is_public`
[error] unresolved-attribute - :432:16 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :433:51 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :438:61 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] invalid-argument-type - :441:17 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self@Model`
[error] unresolved-attribute - :446:52 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] invalid-argument-type - :449:17 -
Old: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `send_stream_creation_event` is incorrect: Expected `Stream`, found `Self@Model`
[error] invalid-argument-type - :452:79 -
Old: Argument to function `get_user_ids_with_metadata_access_via_permission_groups` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `get_user_ids_with_metadata_access_via_permission_groups` is incorrect: Expected `Stream`, found `Self@Model`
[error] invalid-return-type - :457:12 -
Old: Return type does not match returned value: expected `tuple[Stream, bool]`, found `tuple[Self, bool]`
New: Return type does not match returned value: expected `tuple[Stream, bool]`, found `tuple[Self@Model, bool]`
[error] invalid-argument-type - :604:65 -
Old: Argument to function `check_stream_access_based_on_can_send_message_group` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `check_stream_access_based_on_can_send_message_group` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :653:63 -
Old: Argument to function `subscribed_to_stream` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `subscribed_to_stream` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] unresolved-attribute - :806:50 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] invalid-argument-type - :811:86 -
Old: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Stream`, found `Self@Model`
[error] invalid-argument-type - :811:94 -
Old: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Subscription | None`, found `Self | None`
New: Argument to function `check_stream_access_for_delete_or_update_requiring_metadata_access` is incorrect: Expected `Subscription | None`, found `Self@Model | None`
[error] invalid-return-type - :812:12 -
Old: Return type does not match returned value: expected `tuple[Stream, Subscription | None]`, found `tuple[Self, Self | None]`
New: Return type does not match returned value: expected `tuple[Stream, Subscription | None]`, found `tuple[Self@Model, Self@Model | None]`
[error] invalid-return-type - :917:16 -
Old: Return type does not match returned value: expected `Subscription | None`, found `Self | None`
New: Return type does not match returned value: expected `Subscription | None`, found `Self@Model | None`
[error] invalid-argument-type - :933:55 -
Old: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :960:66 -
Old: Argument to function `get_stream_by_id_for_sending_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_for_sending_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :975:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-return-type - :980:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-argument-type - :1052:42 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :1065:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[warning] possibly-unbound-attribute - :1100:53 -
Old: Attribute `get_admin_users_and_bots` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_admin_users_and_bots` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1155:42 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1163:55 -
Old: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1537:44 -
Old: Argument to function `bulk_get_streams` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_get_streams` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1581:13 -
Old: Argument to function `create_streams_if_needed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_streams_if_needed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :1593:16 -
Old: Return type does not match returned value: expected `DefaultStreamGroup`, found `Self`
New: Return type does not match returned value: expected `DefaultStreamGroup`, found `Self@Model`
[error] invalid-argument-type - :1692:9 -
Old: Argument to function `get_stream_post_policy_value_based_on_group_setting` is incorrect: Expected `UserGroup`, found `Unknown | _ST`
New: Argument to function `get_stream_post_policy_value_based_on_group_setting` is incorrect: Expected `UserGroup`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1847:67 -
Old: Argument to function `get_subscribed_stream_ids_for_user` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_subscribed_stream_ids_for_user` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :1906:54 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1934:26 -
Old: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_event_on_commit` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1951:49 -
Old: Argument to function `notify_stream_is_recently_active_update` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `notify_stream_is_recently_active_update` is incorrect: Expected `Stream`, found `Self@Model`
[error] invalid-argument-type - :1963:56 -
Old: Argument to function `update_stream_active_status_for_realm` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `update_stream_active_status_for_realm` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-return-type - :1989:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`

zerver/lib/subdomains.py

[warning] possibly-unbound-attribute - :53:12 -
Old: Attribute `subdomain` on type `Unknown | _ST` is possibly unbound
New: Attribute `subdomain` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/subscription_info.py

[error] invalid-argument-type - :773:9 -
Old: Argument to function `get_all_streams` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_all_streams` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :829:73 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/lib/test_classes.py

[error] invalid-argument-type - :1168:13 -
Old: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
New: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self@Model`
[error] invalid-argument-type - :1192:13 -
Old: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self`
New: Argument to function `check_send_message` is incorrect: Expected `Client`, found `Self@Model`
[error] invalid-argument-type - :1216:13 -
Old: Argument to function `check_send_stream_message` is incorrect: Expected `Client`, found `Self`
New: Argument to function `check_send_stream_message` is incorrect: Expected `Client`, found `Self@Model`
[error] unresolved-attribute - :1292:51 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1295:17 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[error] unresolved-attribute - :1299:51 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :1457:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1458:21 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1460:26 -
Old: Type `Self` has no attribute `recipient_id`
New: Type `Self@Model` has no attribute `recipient_id`
[error] unresolved-attribute - :1461:26 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1542:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1543:9 -
Old: Unresolved attribute `recipient` on type `Self`.
New: Unresolved attribute `recipient` on type `Self@Model`.
[error] invalid-return-type - :1545:16 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[error] invalid-argument-type - :1568:46 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1571:17 -
Old: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_stream_if_needed` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1577:32 -
Old: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1582:42 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1583:35 -
Old: Argument to function `bulk_remove_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_remove_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :1715:16 -
Old: Return type does not match returned value: expected `Message`, found `Self`
New: Return type does not match returned value: expected `Message`, found `Self@Model`
[error] invalid-return-type - :1878:16 -
Old: Return type does not match returned value: expected `tuple[CustomerPlan, LicenseLedger]`, found `tuple[Self, Self]`
New: Return type does not match returned value: expected `tuple[CustomerPlan, LicenseLedger]`, found `tuple[Self@Model, Self@Model]`
[error] unresolved-attribute - :1963:17 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1970:34 -
Old: Type `Self` has no attribute `emoji_code`
New: Type `Self@Model` has no attribute `emoji_code`
[error] unresolved-attribute - :1972:56 -
Old: Type `Self` has no attribute `emoji_name`
New: Type `Self@Model` has no attribute `emoji_name`
[error] unresolved-attribute - :1973:60 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[error] unresolved-attribute - :1977:34 -
Old: Type `Self` has no attribute `emoji_code`
New: Type `Self@Model` has no attribute `emoji_code`
[error] unresolved-attribute - :1979:56 -
Old: Type `Self` has no attribute `emoji_name`
New: Type `Self@Model` has no attribute `emoji_name`
[error] unresolved-attribute - :1980:60 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[error] invalid-argument-type - :2051:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :2067:9 -
Old: Type `Self` has no attribute `direct_members`
New: Type `Self@Model` has no attribute `direct_members`
[error] unresolved-attribute - :2068:9 -
Old: Type `Self` has no attribute `direct_subgroups`
New: Type `Self@Model` has no attribute `direct_subgroups`
[error] invalid-return-type - :2069:16 -
Old: Return type does not match returned value: expected `UserGroup`, found `Self`
New: Return type does not match returned value: expected `UserGroup`, found `Self@Model`
[error] invalid-return-type - :2894:16 -
Old: Return type does not match returned value: expected `tuple[RemotePushDevice, RemotePushDevice]`, found `tuple[Self, Self]`
New: Return type does not match returned value: expected `tuple[RemotePushDevice, RemotePushDevice]`, found `tuple[Self@Model, Self@Model]`
[error] invalid-return-type - :2911:16 -
Old: Return type does not match returned value: expected `tuple[PushDeviceToken, PushDeviceToken]`, found `tuple[Self, Self]`
New: Return type does not match returned value: expected `tuple[PushDeviceToken, PushDeviceToken]`, found `tuple[Self@Model, Self@Model]`

zerver/lib/test_helpers.py

[error] invalid-argument-type - :253:9 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
[error] invalid-return-type - :297:12 -
Old: Return type does not match returned value: expected `Client`, found `Self`
New: Return type does not match returned value: expected `Client`, found `Self@Model`
[error] invalid-return-type - :328:12 -
Old: Return type does not match returned value: expected `Message`, found `Unknown | _ST`
New: Return type does not match returned value: expected `Message`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :332:38 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :335:12 -
Old: Return type does not match returned value: expected `Subscription`, found `Self`
New: Return type does not match returned value: expected `Subscription`, found `Self@Model`
[error] unresolved-attribute - :461:28 -
Old: Type `UrlFuncT` has no attribute `__name__`
New: Type `UrlFuncT@instrument_url` has no attribute `__name__`

zerver/lib/thumbnail.py

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

zerver/lib/timeout.py

[error] invalid-argument-type - :69:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `_T`, found `<class 'TimeoutExpiredError'>`
New: Argument to bound method `__init__` is incorrect: Expected `_T@py_object`, found `<class 'TimeoutExpiredError'>`

zerver/lib/topic.py

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

zerver/lib/transfer.py

[warning] possibly-unbound-attribute - :48:73 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :81:17 -
Old: Argument to function `upload_content_to_s3` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to function `upload_content_to_s3` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :94:43 -
Old: Argument to function `_transfer_message_files_to_s3` is incorrect: Expected `Attachment`, found `Self`
New: Argument to function `_transfer_message_files_to_s3` is incorrect: Expected `Attachment`, found `Self@Model`
[warning] possibly-unbound-attribute - :112:18 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :126:43 -
Old: Argument to function `upload_emoji_image` is incorrect: Expected `UserProfile`, found `(Unknown & ~AlwaysFalsy) | (_ST & ~AlwaysFalsy)`
New: Argument to function `upload_emoji_image` is incorrect: Expected `UserProfile`, found `(Unknown & ~AlwaysFalsy) | (_ST@ForeignKey & ~AlwaysFalsy)`
[error] invalid-argument-type - :140:35 -
Old: Argument to function `_transfer_emoji_to_s3` is incorrect: Expected `RealmEmoji`, found `Self`
New: Argument to function `_transfer_emoji_to_s3` is incorrect: Expected `RealmEmoji`, found `Self@Model`

zerver/lib/typed_endpoint.py

[error] invalid-return-type - :271:12 -
Old: Return type does not match returned value: expected `FuncParam[T]`, found `FuncParam[(Any & ~<class '_empty'>) | Unknown | _NotSpecified]`
New: Return type does not match returned value: expected `FuncParam[T@parse_single_parameter]`, found `FuncParam[(Any & ~<class '_empty'>) | Unknown | _NotSpecified]`

zerver/lib/upload/__init__.py

[error] unresolved-attribute - :110:51 -
Old: Type `Self` has no attribute `to_dict`
New: Type `Self@Model` has no attribute `to_dict`
[error] invalid-assignment - :197:9 -
Old: Object of type `Unknown | _ST` is not assignable to `Realm | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Realm | None`
[error] unresolved-attribute - :229:9 -
Old: Type `Self` has no attribute `scheduled_messages`
New: Type `Self@Model` has no attribute `scheduled_messages`
[error] invalid-return-type - :233:16 -
Old: Return type does not match returned value: expected `Attachment`, found `Self`
New: Return type does not match returned value: expected `Attachment`, found `Self@Model`
[error] unresolved-attribute - :236:5 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :237:5 -
Old: Unresolved attribute `is_web_public` on type `Self`.
New: Unresolved attribute `is_web_public` on type `Self@Model`.
[error] unresolved-attribute - :237:32 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :238:5 -
Old: Unresolved attribute `is_realm_public` on type `Self`.
New: Unresolved attribute `is_realm_public` on type `Self@Model`.
[error] unresolved-attribute - :238:34 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] invalid-return-type - :240:12 -
Old: Return type does not match returned value: expected `Attachment`, found `Self`
New: Return type does not match returned value: expected `Attachment`, found `Self@Model`

zerver/lib/url_encoding.py

[error] invalid-argument-type - :109:36 -
Old: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :114:13 -
Old: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `personal_narrow_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :120:19 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/user_groups.py

[error] unresolved-attribute - :128:38 -
Old: Type `Self` has no attribute `deactivated`
New: Type `Self@Model` has no attribute `deactivated`
[error] invalid-return-type - :130:16 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`
[error] invalid-return-type - :139:12 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`
[error] invalid-argument-type - :162:24 -
Old: Argument to function `get_user_group_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_group_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :315:41 -
Old: Argument to function `get_recursive_subgroups_for_groups` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_recursive_subgroups_for_groups` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :328:42 -
Old: Argument to function `get_user_group_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_group_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :438:54 -
Old: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :439:5 -
Old: Attribute `direct_members` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self` is possibly unbound
New: Attribute `direct_members` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model` is possibly unbound
[warning] possibly-unbound-attribute - :461:5 -
Old: Attribute `direct_subgroups` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self` is possibly unbound
New: Attribute `direct_subgroups` on type `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model` is possibly unbound
[error] invalid-return-type - :463:12 -
Old: Return type does not match returned value: expected `UserGroup`, found `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self`
New: Return type does not match returned value: expected `UserGroup`, found `(UserGroup & ~<Protocol with members 'named_user_group'>) | Self@Model`
[error] invalid-argument-type - :505:9 -
Old: Argument to function `access_user_group_api_value_for_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_user_group_api_value_for_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-return-type - :510:16 -
Old: Return type does not match returned value: expected `UserGroup`, found `Unknown | _ST`
New: Return type does not match returned value: expected `UserGroup`, found `Unknown | _ST@OneToOneField`
[error] invalid-return-type - :761:12 -
Old: Return type does not match returned value: expected `QuerySet[UserGroupMembership, int]`, found `QuerySet[Self, Any]`
New: Return type does not match returned value: expected `QuerySet[UserGroupMembership, int]`, found `QuerySet[Self@Model, Any]`
[error] invalid-return-type - :1150:12 -
Old: Return type does not match returned value: expected `NamedUserGroup`, found `Self`
New: Return type does not match returned value: expected `NamedUserGroup`, found `Self@Model`

zerver/lib/user_topics.py

[error] invalid-argument-type - :102:42 -
Old: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :125:29 -
Old: Type `Self` has no attribute `visibility_policy`
New: Type `Self@Model` has no attribute `visibility_policy`

zerver/lib/users.py

[warning] possibly-unbound-attribute - :191:9 -
Old: Attribute `can_create_bots_group_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `can_create_bots_group_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :198:9 -
Old: Attribute `can_create_write_only_bots_group_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `can_create_write_only_bots_group_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :265:59 -
Old: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :322:66 -
Old: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :339:80 -
Old: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :389:67 -
Old: Argument to function `get_dummy_email_address_for_display_regex` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_dummy_email_address_for_display_regex` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :539:51 -
Old: Type `Self` has no attribute `editable_by_user`
New: Type `Self@Model` has no attribute `editable_by_user`
[error] invalid-argument-type - :547:58 -
Old: Argument to function `validate_user_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
New: Argument to function `validate_user_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
[error] invalid-argument-type - :691:50 -
Old: Argument to function `all_users_accessible_by_everyone_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `all_users_accessible_by_everyone_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :708:9 -
Old: Attribute `can_access_all_users_group_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `can_access_all_users_group_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :828:32 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :830:68 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :833:93 -
Old: Argument to function `get_users_involved_in_dms_with_target_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_users_involved_in_dms_with_target_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1091:12 -
Old: Attribute `is_renderable` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_renderable` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1188:24 -
Old: Attribute `get_active_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_active_users` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/lib/webhooks/common.py

[error] invalid-argument-type - :84:9 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :144:35 -
Old: Argument to function `check_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `check_send_private_message` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`

zerver/lib/zulip_update_announcements.py

[warning] possibly-unbound-attribute - :508:9 -
Old: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `topics_policy` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :541:47 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-return-type - :552:12 -
Old: Return type does not match returned value: expected `RealmAuditLog | None`, found `Self | None`
New: Return type does not match returned value: expected `RealmAuditLog | None`, found `Self@Model | None`
[error] unresolved-attribute - :580:21 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] invalid-argument-type - :599:17 -
Old: Argument to function `internal_prep_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_prep_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :688:10 -
Old: Attribute `deactivated` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `deactivated` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :704:16 -
Old: Attribute `recipient_id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `recipient_id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :706:59 -
Old: Attribute `recipient_id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `recipient_id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :726:21 -
Old: Argument to function `internal_prep_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `internal_prep_stream_message` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`

zerver/management/commands/create_default_stream_groups.py

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

zerver/management/commands/export.py

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

zerver/management/commands/export_search.py

[error] unresolved-attribute - :221:16 -
Old: Type `Self` has no attribute `type`
New: Type `Self@Model` has no attribute `type`
[error] unresolved-attribute - :222:63 -
Old: Type `Self` has no attribute `type_id`
New: Type `Self@Model` has no attribute `type_id`
[error] unresolved-attribute - :227:48 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :241:41 -
Old: Attribute `full_name` on type `Unknown | _ST` is possibly unbound
New: Attribute `full_name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :241:67 -
Old: Attribute `delivery_email` on type `Unknown | _ST` is possibly unbound
New: Attribute `delivery_email` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/management/commands/list_realms.py

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

zerver/management/commands/restore_messages.py

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

zerver/management/commands/send_custom_email.py

[error] invalid-argument-type - :126:17 -
Old: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self, Self]`
New: Argument to function `send_custom_server_email` is incorrect: Expected `QuerySet[RemoteZulipServer, RemoteZulipServer]`, found `QuerySet[Self@Model, Self@Model]`
[error] unresolved-attribute - :134:32 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :134:56 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[warning] possibly-unbound-attribute - :218:51 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/management/commands/send_password_reset_email.py

[error] invalid-argument-type - :61:46 -
Old: Argument to function `do_send_password_reset_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_send_password_reset_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/management/commands/sync_ldap_user_data.py

[warning] possibly-unbound-attribute - :28:19 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/management/commands/unarchive_channel.py

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

zerver/migrations/0001_squashed_0569.py

[error] invalid-argument-type - :919:71 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@SmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :1068:25 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :1146:25 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :1649:71 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@SmallIntegerField`, found `Literal[1]`

zerver/models/bots.py

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

zerver/models/clients.py

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

zerver/models/messages.py

[error] invalid-argument-type - :58:9 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveSmallIntegerField`, found `Literal[MessageType.NORMAL]`
[error] invalid-return-type - :695:16 -
Old: Return type does not match returned value: expected `UserMessage | None`, found `Self`
New: Return type does not match returned value: expected `UserMessage | None`, found `Self@Model`

zerver/models/realms.py

[error] invalid-argument-type - :194:74 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[False]`
[error] unresolved-attribute - :940:51 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :942:21 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1129:40 -
Old: Type `Self` has no attribute `value`
New: Type `Self@Model` has no attribute `value`
[error] unresolved-attribute - :1130:34 -
Old: Type `Self` has no attribute `end_time`
New: Type `Self@Model` has no attribute `end_time`
[error] invalid-return-type - :1252:12 -
Old: Return type does not match returned value: expected `Realm`, found `Self`
New: Return type does not match returned value: expected `Realm`, found `Self@Model`
[error] invalid-return-type - :1256:12 -
Old: Return type does not match returned value: expected `Realm`, found `Self`
New: Return type does not match returned value: expected `Realm`, found `Self@Model`

zerver/models/recipients.py

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

zerver/models/streams.py

[error] invalid-argument-type - :48:63 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@PositiveIntegerField`, found `Literal[0]`
[error] invalid-argument-type - :179:60 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`
[error] invalid-return-type - :313:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[error] invalid-return-type - :320:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-return-type - :330:12 -
Old: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[Stream, Stream]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-return-type - :343:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[error] invalid-return-type - :347:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[error] invalid-return-type - :353:12 -
Old: Return type does not match returned value: expected `Stream`, found `Self`
New: Return type does not match returned value: expected `Stream`, found `Self@Model`
[error] invalid-return-type - :497:12 -
Old: Return type does not match returned value: expected `QuerySet[DefaultStreamGroup, DefaultStreamGroup]`, found `QuerySet[Self, Self]`
New: Return type does not match returned value: expected `QuerySet[DefaultStreamGroup, DefaultStreamGroup]`, found `QuerySet[Self@Model, Self@Model]`

zerver/models/users.py

[error] invalid-argument-type - :148:9 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@SmallIntegerField`, found `Literal[1]`
[error] invalid-argument-type - :188:80 - Argument to bound method `__init__` is incorrect: Expected `type[NOT_PROVIDED] | Expression | _ST@BooleanField`, found `Literal[True]`
[error] unresolved-attribute - :728:13 -
Old: Type `Self` has no attribute `field_id`
New: Type `Self@Model` has no attribute `field_id`
[error] unresolved-attribute - :728:35 -
Old: Type `Self` has no attribute `value`
New: Type `Self@Model` has no attribute `value`
[error] unresolved-attribute - :728:62 -
Old: Type `Self` has no attribute `rendered_value`
New: Type `Self@Model` has no attribute `rendered_value`
[warning] possibly-unbound-attribute - :1209:49 -
Old: Attribute `invite_only` on type `(Unknown & ~AlwaysFalsy) | (_ST & ~AlwaysFalsy)` is possibly unbound
New: Attribute `invite_only` on type `(Unknown & ~AlwaysFalsy) | (_ST@ForeignKey & ~AlwaysFalsy)` is possibly unbound
[warning] possibly-unbound-attribute - :1212:13 -
Old: Attribute `invite_only` on type `(Unknown & ~AlwaysFalsy) | (_ST & ~AlwaysFalsy)` is possibly unbound
New: Attribute `invite_only` on type `(Unknown & ~AlwaysFalsy) | (_ST@ForeignKey & ~AlwaysFalsy)` is possibly unbound
[warning] possibly-unbound-attribute - :1219:38 -
Old: Attribute `get_human_admin_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_human_admin_users` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/openapi/curl_param_value_generators.py

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

zerver/signals.py

[warning] possibly-unbound-attribute - :72:13 -
Old: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST` is possibly unbound
New: Attribute `demo_organization_scheduled_deletion_date` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/tests/test_alert_words.py

[warning] possibly-unbound-attribute - :232:26 -
Old: Attribute `content` on type `Unknown | _ST` is possibly unbound
New: Attribute `content` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :244:26 -
Old: Attribute `content` on type `Unknown | _ST` is possibly unbound
New: Attribute `content` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/tests/test_audit_log.py

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

zerver/tests/test_auth_backends.py

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

zerver/tests/test_bots.py

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

zerver/tests/test_channel_access.py

[warning] possibly-unbound-attribute - :48:26 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :165:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :195:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[warning] possibly-unbound-attribute - :237:26 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :250:26 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :385:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :415:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :593:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`

zerver/tests/test_channel_creation.py

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

zerver/tests/test_channel_fetch.py

[error] unresolved-attribute - :224:13 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :297:13 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :311:32 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] invalid-argument-type - :323:34 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Self`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Self@Model`
[error] unresolved-attribute - :364:13 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :404:13 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[warning] possibly-unbound-attribute - :619:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :619:46 -
Old: Attribute `PERSONAL` on type `Unknown | _ST` is possibly unbound
New: Attribute `PERSONAL` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :864:59 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :874:61 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :897:43 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :905:43 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :909:71 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :939:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :944:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :949:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :955:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] unresolved-attribute - :959:61 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :970:66 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :974:66 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :978:66 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :984:66 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :992:35 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1039:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1054:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1067:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`

zerver/tests/test_channel_folders.py

[error] unresolved-attribute - :27:26 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :28:26 -
Old: Type `Self` has no attribute `description`
New: Type `Self@Model` has no attribute `description`
[error] unresolved-attribute - :30:57 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :57:26 -
Old: Type `Self` has no attribute `description`
New: Type `Self@Model` has no attribute `description`
[error] unresolved-attribute - :59:13 -
Old: Type `Self` has no attribute `rendered_description`
New: Type `Self@Model` has no attribute `rendered_description`
[error] unresolved-attribute - :66:26 -
Old: Type `Self` has no attribute `description`
New: Type `Self@Model` has no attribute `description`
[error] unresolved-attribute - :68:13 -
Old: Type `Self` has no attribute `rendered_description`
New: Type `Self@Model` has no attribute `rendered_description`
[error] unresolved-attribute - :221:26 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :272:26 -
Old: Type `Self` has no attribute `description`
New: Type `Self@Model` has no attribute `description`
[error] unresolved-attribute - :274:13 -
Old: Type `Self` has no attribute `rendered_description`
New: Type `Self@Model` has no attribute `rendered_description`
[error] unresolved-attribute - :283:26 -
Old: Type `Self` has no attribute `description`
New: Type `Self@Model` has no attribute `description`
[error] unresolved-attribute - :284:26 -
Old: Type `Self` has no attribute `rendered_description`
New: Type `Self@Model` has no attribute `rendered_description`
[error] unresolved-attribute - :319:25 -
Old: Type `Self` has no attribute `is_archived`
New: Type `Self@Model` has no attribute `is_archived`
[error] unresolved-attribute - :325:26 -
Old: Type `Self` has no attribute `is_archived`
New: Type `Self@Model` has no attribute `is_archived`
[error] invalid-argument-type - :329:41 -
Old: Argument to function `do_change_stream_folder` is incorrect: Expected `ChannelFolder | None`, found `Self`
New: Argument to function `do_change_stream_folder` is incorrect: Expected `ChannelFolder | None`, found `Self@Model`
[error] unresolved-attribute - :346:25 -
Old: Type `Self` has no attribute `is_archived`
New: Type `Self@Model` has no attribute `is_archived`

zerver/tests/test_channel_permissions.py

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

zerver/tests/test_custom_profile_data.py

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

zerver/tests/test_delete_unclaimed_attachments.py

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

zerver/tests/test_digest.py

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

zerver/tests/test_docs.py

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

zerver/tests/test_drafts.py

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

zerver/tests/test_e2ee_push_notifications.py

[error] unresolved-attribute - :613:9 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :631:30 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :652:9 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :674:30 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`

zerver/tests/test_email_change.py

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

zerver/tests/test_email_mirror.py

[error] unresolved-attribute - :456:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :463:81 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :467:26 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :676:48 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :748:48 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] unresolved-attribute - :890:31 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :892:26 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] unresolved-attribute - :893:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :927:31 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :929:26 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] unresolved-attribute - :930:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :933:71 -
Old: Type `Self` has no attribute `path_id`
New: Type `Self@Model` has no attribute `path_id`
[error] invalid-argument-type - :1124:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1153:26 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] unresolved-attribute - :1154:26 -
Old: Type `Self` has no attribute `owner`
New: Type `Self@Model` has no attribute `owner`
[error] unresolved-attribute - :1155:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :1156:31 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] invalid-argument-type - :1267:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1286:26 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1287:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1312:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1331:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1339:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1364:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1383:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1384:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1384:48 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1406:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :1411:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1452:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[error] invalid-assignment - :1456:9 -
Old: Object of type `Literal["updated topic"]` is not assignable to attribute `subject` on type `Unknown | _ST`
New: Object of type `Literal["updated topic"]` is not assignable to attribute `subject` on type `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1457:9 -
Old: Attribute `save` on type `Unknown | _ST` is possibly unbound
New: Attribute `save` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1476:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1477:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1477:48 -
Old: Attribute `recipient` on type `Unknown | _ST` is possibly unbound
New: Attribute `recipient` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1605:70 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1903:66 -
Old: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST`
New: Argument to function `create_missed_message_address` is incorrect: Expected `Message`, found `Unknown | _ST@ForeignKey`

zerver/tests/test_email_notifications.py

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

zerver/tests/test_event_queue.py

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

zerver/tests/test_event_system.py

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

zerver/tests/test_events.py

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

zerver/tests/test_example.py

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

zerver/tests/test_handle_push_notification.py

[error] unresolved-attribute - :112:22 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :112:36 -
Old: Type `Self` has no attribute `ios_app_id`
New: Type `Self@Model` has no attribute `ios_app_id`
[error] unresolved-attribute - :285:27 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :287:32 -
Old: Type `Self` has no attribute `ios_app_id`
New: Type `Self@Model` has no attribute `ios_app_id`
[error] unresolved-attribute - :295:27 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :297:32 -
Old: Type `Self` has no attribute `ios_app_id`
New: Type `Self@Model` has no attribute `ios_app_id`
[error] unresolved-attribute - :405:9 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :692:30 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :770:30 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`

zerver/tests/test_home.py

[error] invalid-argument-type - :809:13 -
Old: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1034:9 -
Old: Unresolved attribute `sponsorship_pending` on type `Self`.
New: Unresolved attribute `sponsorship_pending` on type `Self@Model`.

zerver/tests/test_import_export.py

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

zerver/tests/test_integrations_dev_panel.py

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

zerver/tests/test_invite.py

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

zerver/tests/test_link_embed.py

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

zerver/tests/test_management_commands.py

[error] unresolved-attribute - :366:9 -
Old: Type `Self` has no attribute `date_created`
New: Type `Self@Model` has no attribute `date_created`
[warning] possibly-unbound-attribute - :468:26 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :469:26 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/tests/test_markdown.py

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

zerver/tests/test_markdown_thumbnail.py

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

zerver/tests/test_mattermost_importer.py

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

zerver/tests/test_message_delete.py

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

zerver/tests/test_message_dict.py

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

zerver/tests/test_message_edit.py

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

zerver/tests/test_message_edit_notifications.py

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

zerver/tests/test_message_fetch.py

[warning] possibly-unbound-attribute - :98:12 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :105:5 -
Old: Unresolved attribute `is_muted` on type `Self`.
New: Unresolved attribute `is_muted` on type `Self@Model`.
[warning] possibly-unbound-attribute - :4650:24 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :5276:80 -
Old: Argument to function `create_attachment` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_attachment` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :5292:30 -
Old: Type `Self` has no attribute `is_claimed`
New: Type `Self@Model` has no attribute `is_claimed`
[error] invalid-argument-type - :5345:62 -
Old: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST`
New: Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :5370:26 -
Old: Type `Self` has no attribute `has_link`
New: Type `Self@Model` has no attribute `has_link`
[error] unresolved-attribute - :5372:25 -
Old: Type `Self` has no attribute `has_link`
New: Type `Self@Model` has no attribute `has_link`
[error] unresolved-attribute - :5374:26 -
Old: Type `Self` has no attribute `has_link`
New: Type `Self@Model` has no attribute `has_link`
[error] unresolved-attribute - :5377:25 -
Old: Type `Self` has no attribute `has_link`
New: Type `Self@Model` has no attribute `has_link`
[error] unresolved-attribute - :5379:26 -
Old: Type `Self` has no attribute `has_link`
New: Type `Self@Model` has no attribute `has_link`
[error] unresolved-attribute - :5410:25 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5412:26 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5414:25 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5416:26 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5419:25 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5423:25 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5424:25 -
Old: Type `Self` has no attribute `attachment_set`
New: Type `Self@Model` has no attribute `attachment_set`
[error] unresolved-attribute - :5425:26 -
Old: Type `Self` has no attribute `attachment_set`
New: Type `Self@Model` has no attribute `attachment_set`
[error] unresolved-attribute - :5428:25 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5429:25 -
Old: Type `Self` has no attribute `attachment_set`
New: Type `Self@Model` has no attribute `attachment_set`
[error] unresolved-attribute - :5430:26 -
Old: Type `Self` has no attribute `attachment_set`
New: Type `Self@Model` has no attribute `attachment_set`
[error] unresolved-attribute - :5433:26 -
Old: Type `Self` has no attribute `has_attachment`
New: Type `Self@Model` has no attribute `has_attachment`
[error] unresolved-attribute - :5434:26 -
Old: Type `Self` has no attribute `attachment_set`
New: Type `Self@Model` has no attribute `attachment_set`

zerver/tests/test_message_flags.py

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

zerver/tests/test_message_move_stream.py

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

zerver/tests/test_message_move_topic.py

[error] unresolved-attribute - :48:26 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :315:16 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] unresolved-attribute - :318:30 -
Old: Type `Self` has no attribute `flags_list`
New: Type `Self@Model` has no attribute `flags_list`
[error] invalid-argument-type - :330:23 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
[error] invalid-argument-type - :338:23 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
[error] invalid-argument-type - :347:51 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
[error] invalid-argument-type - :356:49 -
Old: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self`
New: Argument to function `do_update_message_topic_success` is incorrect: Expected `Message`, found `Self@Model`
[error] invalid-argument-type - :1152:17 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :1225:21 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :1231:53 -
Old: Type `Self` has no attribute `edit_history`
New: Type `Self@Model` has no attribute `edit_history`
[error] unresolved-attribute - :1236:34 -
Old: Type `Self` has no attribute `edit_history`
New: Type `Self@Model` has no attribute `edit_history`
[error] unresolved-attribute - :1286:61 -
Old: Type `Self` has no attribute `edit_history`
New: Type `Self@Model` has no attribute `edit_history`
[error] unresolved-attribute - :1386:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :1390:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :1394:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :1398:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] invalid-argument-type - :1818:32 -
Old: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self`
New: Argument to function `do_add_reaction` is incorrect: Expected `Message`, found `Self@Model`
[error] unresolved-attribute - :1843:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :1868:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :1896:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :1973:56 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :1998:58 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :2023:47 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :2045:49 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :2090:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :2117:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] unresolved-attribute - :2144:17 -
Old: Type `Self` has no attribute `topic_name`
New: Type `Self@Model` has no attribute `topic_name`
[error] invalid-argument-type - :2172:13 -
Old: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self`
New: Argument to function `build_message_edit_request` is incorrect: Expected `Message`, found `Self@Model`
[error] invalid-argument-type - :2230:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2249:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2337:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :2375:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] invalid-argument-type - :2415:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2424:49 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2439:49 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2523:53 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2547:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :2588:9 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] invalid-argument-type - :2632:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2638:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2655:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2685:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2721:55 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :2738:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`

zerver/tests/test_message_notification_emails.py

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

zerver/tests/test_message_send.py

[error] invalid-argument-type - :316:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :339:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :363:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] unresolved-attribute - :393:60 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :433:47 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] invalid-argument-type - :1579:59 -
Old: Argument to function `create_stream_subscription` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `create_stream_subscription` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :1757:13 -
Old: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self`
New: Argument to function `do_change_stream_group_based_setting` is incorrect: Expected `NamedUserGroup | UserGroupMembersData`, found `Self@Model`
[error] unresolved-attribute - :1810:16 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :1821:13 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :1829:13 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[warning] possibly-unbound-attribute - :1926:26 -
Old: Attribute `content` on type `Unknown | _ST` is possibly unbound
New: Attribute `content` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1984:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :1992:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2003:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2013:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2024:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2118:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2126:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2137:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2147:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2158:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :2221:13 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :2231:13 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :2240:13 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :2261:16 -
Old: Type `Self` has no attribute `flags`
New: Type `Self@Model` has no attribute `flags`
[error] unresolved-attribute - :2417:13 -
Old: Type `Self` has no attribute `can_mention_group`
New: Type `Self@Model` has no attribute `can_mention_group`
[error] unresolved-attribute - :2423:59 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] invalid-argument-type - :2674:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2741:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2769:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2833:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :2842:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] invalid-argument-type - :3103:13 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[warning] possibly-unbound-attribute - :3200:30 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3372:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3501:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3552:26 -
Old: Attribute `email` on type `Unknown | _ST` is possibly unbound
New: Attribute `email` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3589:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3597:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3617:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :3673:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/tests/test_message_summary.py

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

zerver/tests/test_muted_users.py

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

zerver/tests/test_new_users.py

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

zerver/tests/test_onboarding_steps.py

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

zerver/tests/test_outgoing_webhook_interfaces.py

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

zerver/tests/test_outgoing_webhook_system.py

[warning] possibly-unbound-attribute - :60:36 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :61:37 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/tests/test_populate_db.py

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

zerver/tests/test_presence.py

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

zerver/tests/test_push_notifications.py

[error] unresolved-attribute - :329:26 -
Old: Type `Self` has no attribute `last_request_datetime`
New: Type `Self@Model` has no attribute `last_request_datetime`
[error] unresolved-attribute - :529:26 -
Old: Type `Self` has no attribute `user_id`
New: Type `Self@Model` has no attribute `user_id`
[error] unresolved-attribute - :530:26 -
Old: Type `Self` has no attribute `user_uuid`
New: Type `Self@Model` has no attribute `user_uuid`
[error] unresolved-attribute - :541:26 -
Old: Type `Self` has no attribute `user_id`
New: Type `Self@Model` has no attribute `user_id`
[error] unresolved-attribute - :542:30 -
Old: Type `Self` has no attribute `user_uuid`
New: Type `Self@Model` has no attribute `user_uuid`
[error] unresolved-attribute - :613:26 -
Old: Type `Self` has no attribute `remote_realm`
New: Type `Self@Model` has no attribute `remote_realm`
[error] unresolved-attribute - :614:26 -
Old: Type `Self` has no attribute `remote_realm`
New: Type `Self@Model` has no attribute `remote_realm`
[error] unresolved-attribute - :732:26 -
Old: Type `Self` has no attribute `last_request_datetime`
New: Type `Self@Model` has no attribute `last_request_datetime`
[error] invalid-argument-type - :796:54 -
Old: Argument to function `absolute_avatar_url` is incorrect: Expected `UserProfile`, found `Unknown | _ST`
New: Argument to function `absolute_avatar_url` is incorrect: Expected `UserProfile`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :1123:9 -
Old: Unresolved attribute `server` on type `Self`.
New: Unresolved attribute `server` on type `Self@Model`.
[error] unresolved-attribute - :1140:26 -
Old: Type `Self` has no attribute `uuid`
New: Type `Self@Model` has no attribute `uuid`
[error] unresolved-attribute - :1240:30 -
Old: Type `Self` has no attribute `kind`
New: Type `Self@Model` has no attribute `kind`
[error] unresolved-attribute - :1241:30 -
Old: Type `Self` has no attribute `user_uuid`
New: Type `Self@Model` has no attribute `user_uuid`
[error] unresolved-attribute - :1267:30 -
Old: Type `Self` has no attribute `kind`
New: Type `Self@Model` has no attribute `kind`
[error] unresolved-attribute - :1269:20 -
Old: Type `Self` has no attribute `remote_realm`
New: Type `Self@Model` has no attribute `remote_realm`
[error] unresolved-attribute - :1270:28 -
Old: Type `Self` has no attribute `remote_realm`
New: Type `Self@Model` has no attribute `remote_realm`
[error] unresolved-attribute - :1272:30 -
Old: Type `Self` has no attribute `ios_app_id`
New: Type `Self@Model` has no attribute `ios_app_id`
[error] unresolved-attribute - :1476:125 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] invalid-argument-type - :1537:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
[error] unresolved-attribute - :1543:25 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[error] unresolved-attribute - :1549:37 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1559:51 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :1578:26 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] invalid-argument-type - :1580:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
[error] unresolved-attribute - :1586:25 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[error] unresolved-attribute - :1592:37 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1602:51 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] invalid-argument-type - :1618:27 -
Old: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self`
New: Argument to function `get_message_payload_apns` is incorrect: Expected `Message`, found `Self@Model`
[error] unresolved-attribute - :1624:25 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[error] unresolved-attribute - :1630:37 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1635:29 -
Old: Type `Self` has no attribute `user_profile_id`
New: Type `Self@Model` has no attribute `user_profile_id`
[error] unresolved-attribute - :1636:76 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] unresolved-attribute - :1647:51 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :1658:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1658:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1680:31 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1681:34 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1709:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1709:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1725:31 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1726:34 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1746:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1746:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1764:31 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1765:34 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1784:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1784:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1804:31 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1805:34 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1856:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1856:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1875:31 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1876:34 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1900:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1900:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :1936:23 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1937:26 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2025:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2025:65 -
Old: Type `Self` has no attribute `realm_id`
New: Type `Self@Model` has no attribute `realm_id`
[error] unresolved-attribute - :2047:27 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2048:30 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2083:34 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2084:32 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2099:33 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2100:31 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2276:30 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2291:34 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2297:34 -
Old: Type `Self` has no attribute `token`
New: Type `Self@Model` has no attribute `token`
[error] unresolved-attribute - :2554:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2555:26 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :2565:25 -
Old: Type `Self` has no attribute `deactivated`
New: Type `Self@Model` has no attribute `deactivated`
[error] unresolved-attribute - :2659:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2660:26 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :2661:26 -
Old: Type `Self` has no attribute `last_request_datetime`
New: Type `Self@Model` has no attribute `last_request_datetime`
[error] unresolved-attribute - :2675:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2676:26 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :2677:26 -
Old: Type `Self` has no attribute `last_request_datetime`
New: Type `Self@Model` has no attribute `last_request_datetime`
[error] unresolved-attribute - :2690:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2691:26 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :2693:26 -
Old: Type `Self` has no attribute `api_key`
New: Type `Self@Model` has no attribute `api_key`
[error] unresolved-attribute - :2705:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2706:26 -
Old: Type `Self` has no attribute `contact_email`
New: Type `Self@Model` has no attribute `contact_email`
[error] unresolved-attribute - :2733:26 -
Old: Type `Self` has no attribute `hostname`
New: Type `Self@Model` has no attribute `hostname`
[error] unresolved-attribute - :2854:30 -
Old: Type `Self` has no attribute `uuid`
New: Type `Self@Model` has no attribute `uuid`
[error] unresolved-attribute - :2855:26 -
Old: Type `Self` has no attribute `api_key`
New: Type `Self@Model` has no attribute `api_key`
[error] unresolved-attribute - :2859:13 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`

zerver/tests/test_push_registration.py

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

zerver/tests/test_queue_worker.py

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

zerver/tests/test_reactions.py

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

zerver/tests/test_read_receipts.py

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

zerver/tests/test_realm.py

[warning] possibly-unbound-attribute - :81:26 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :118:68 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :124:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :124:62 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :125:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :125:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :126:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :126:59 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :127:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :127:77 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :139:68 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :145:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :145:62 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :146:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :146:54 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :147:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :147:59 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :148:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :148:77 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :406:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :407:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :489:26 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] unresolved-attribute - :490:26 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`
[error] unresolved-attribute - :491:24 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :506:26 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :547:26 -
Old: Type `Self` has no attribute `content_object`
New: Type `Self@Model` has no attribute `content_object`
[error] unresolved-attribute - :548:26 -
Old: Type `Self` has no attribute `realm`
New: Type `Self@Model` has no attribute `realm`
[error] unresolved-attribute - :698:31 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :704:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :713:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :723:29 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :731:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :732:30 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :743:42 -
Old: Attribute `recipient` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `recipient` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :759:47 -
Old: Argument to function `merge_streams` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `merge_streams` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] unresolved-attribute - :779:46 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :788:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :800:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :813:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :825:30 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] unresolved-attribute - :844:52 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :856:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :874:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :888:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :900:30 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :928:26 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :941:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :945:48 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :956:13 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :968:30 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] unresolved-attribute - :1372:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1373:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1393:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1394:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1405:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1406:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1424:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1425:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1443:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1444:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1462:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1463:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1481:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1482:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1497:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1498:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] invalid-argument-type - :1526:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :1528:63 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1540:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :1541:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[error] unresolved-attribute - :1549:63 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :1578:50 -
Old: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self`
New: Argument to function `do_change_realm_permission_group_setting` is incorrect: Expected `UserGroup`, found `Self@Model`
[error] unresolved-attribute - :1588:63 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[warning] possibly-unbound-attribute - :1741:26 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :1742:26 -
Old: Attribute `realm` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `realm` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :1789:26 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :1790:26 -
Old: Attribute `realm` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `realm` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :1798:26 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :1815:9 -
Old: Unresolved attribute `is_web_public` on type `Self`.
New: Unresolved attribute `is_web_public` on type `Self@Model`.
[error] unresolved-attribute - :1825:9 -
Old: Unresolved attribute `is_web_public` on type `Self`.
New: Unresolved attribute `is_web_public` on type `Self@Model`.
[error] unresolved-attribute - :1848:29 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2114:56 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2119:28 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2125:21 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2129:21 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2133:21 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2138:25 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2144:75 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2149:60 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2156:28 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2169:46 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2169:63 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2180:46 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2180:63 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2197:46 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2202:60 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2217:64 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2221:56 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2231:29 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2231:53 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2242:32 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2245:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2257:29 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2257:53 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2262:56 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2271:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2291:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2293:32 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2307:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2311:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2326:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2330:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2348:32 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2351:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2359:56 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2370:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2374:50 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2382:56 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] unresolved-attribute - :2397:32 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2409:60 -
Old: Type `Self` has no attribute `usergroup_ptr`
New: Type `Self@Model` has no attribute `usergroup_ptr`
[error] invalid-argument-type - :2505:43 -
Old: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self`
New: Argument to function `do_set_realm_user_default_setting` is incorrect: Expected `RealmUserDefault`, found `Self@Model`
[error] unresolved-attribute - :2539:9 -
Old: Unresolved attribute `web_font_size_px` on type `Self`.
New: Unresolved attribute `web_font_size_px` on type `Self@Model`.
[error] unresolved-attribute - :2540:9 -
Old: Unresolved attribute `web_line_height_percent` on type `Self`.
New: Unresolved attribute `web_line_height_percent` on type `Self@Model`.
[error] unresolved-attribute - :2550:26 -
Old: Type `Self` has no attribute `web_font_size_px`
New: Type `Self@Model` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2556:26 -
Old: Type `Self` has no attribute `web_font_size_px`
New: Type `Self@Model` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2562:26 -
Old: Type `Self` has no attribute `web_line_height_percent`
New: Type `Self@Model` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2568:26 -
Old: Type `Self` has no attribute `web_line_height_percent`
New: Type `Self@Model` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2577:26 -
Old: Type `Self` has no attribute `web_font_size_px`
New: Type `Self@Model` has no attribute `web_font_size_px`
[error] unresolved-attribute - :2578:26 -
Old: Type `Self` has no attribute `web_line_height_percent`
New: Type `Self@Model` has no attribute `web_line_height_percent`
[error] unresolved-attribute - :2592:26 -
Old: Type `Self` has no attribute `notification_sound`
New: Type `Self@Model` has no attribute `notification_sound`
[error] unresolved-attribute - :2627:26 -
Old: Type `Self` has no attribute `starred_message_counts`
New: Type `Self@Model` has no attribute `starred_message_counts`
[error] unresolved-attribute - :2686:64 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2692:64 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2696:59 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2723:58 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2733:67 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2738:67 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`

zerver/tests/test_realm_domains.py

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

zerver/tests/test_realm_emoji.py

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

zerver/tests/test_realm_export.py

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

zerver/tests/test_realm_linkifiers.py

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

zerver/tests/test_reminders.py

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

zerver/tests/test_retention.py

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

zerver/tests/test_rocketchat_importer.py

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

zerver/tests/test_scheduled_messages.py

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

zerver/tests/test_service_bot_system.py

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

zerver/tests/test_settings.py

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

zerver/tests/test_signup.py

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

zerver/tests/test_slack_importer.py

[error] unresolved-attribute - :1954:37 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`
[error] unresolved-attribute - :2163:26 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2164:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2208:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2209:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2212:9 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2226:29 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2232:45 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2233:39 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2242:23 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2243:18 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2260:49 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2261:43 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2269:42 -
Old: Type `Self` has no attribute `org_type`
New: Type `Self@Model` has no attribute `org_type`
[error] unresolved-attribute - :2270:50 -
Old: Type `Self` has no attribute `default_language`
New: Type `Self@Model` has no attribute `default_language`
[error] unresolved-attribute - :2272:25 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2303:9 -
Old: Unresolved attribute `string_id` on type `Self`.
New: Unresolved attribute `string_id` on type `Self@Model`.
[error] unresolved-attribute - :2307:26 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :2310:9 -
Old: Unresolved attribute `string_id` on type `Self`.
New: Unresolved attribute `string_id` on type `Self@Model`.
[error] unresolved-attribute - :2311:9 -
Old: Unresolved attribute `status` on type `Self`.
New: Unresolved attribute `status` on type `Self@Model`.
[error] unresolved-attribute - :2330:9 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2366:23 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2367:18 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2373:28 -
Old: Type `Self` has no attribute `email`
New: Type `Self@Model` has no attribute `email`
[error] unresolved-attribute - :2377:41 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2388:64 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2391:26 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :2392:26 -
Old: Type `Self` has no attribute `created_realm`
New: Type `Self@Model` has no attribute `created_realm`
[error] unresolved-attribute - :2393:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2394:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2418:41 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2430:27 -
Old: Type `Self` has no attribute `created_realm`
New: Type `Self@Model` has no attribute `created_realm`
[error] unresolved-attribute - :2431:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2433:13 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2453:23 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2454:18 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2456:56 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2459:41 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2471:27 -
Old: Type `Self` has no attribute `created_realm`
New: Type `Self@Model` has no attribute `created_realm`
[error] unresolved-attribute - :2472:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2473:57 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2486:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2489:9 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2503:25 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2506:9 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2517:27 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2531:26 -
Old: Type `Self` has no attribute `data_import_metadata`
New: Type `Self@Model` has no attribute `data_import_metadata`
[error] unresolved-attribute - :2533:23 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2534:18 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :2536:56 -
Old: Type `Self` has no attribute `string_id`
New: Type `Self@Model` has no attribute `string_id`
[error] unresolved-attribute - :2537:9 -
Old: Unresolved attribute `created_realm` on type `Self`.
New: Unresolved attribute `created_realm` on type `Self@Model`.

zerver/tests/test_submessage.py

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

zerver/tests/test_subs.py

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

zerver/tests/test_subscription_settings.py

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

zerver/tests/test_thumbnail.py

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

zerver/tests/test_tusd.py

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

zerver/tests/test_upload.py

[error] unresolved-attribute - :272:26 -
Old: Type `Self` has no attribute `is_claimed`
New: Type `Self@Model` has no attribute `is_claimed`
[error] unresolved-attribute - :543:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :562:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :563:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :574:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :575:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :576:26 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :581:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :582:26 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :583:26 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :588:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :589:25 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :590:26 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :596:26 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :597:25 -
Old: Type `Self` has no attribute `is_realm_public`
New: Type `Self@Model` has no attribute `is_realm_public`
[error] unresolved-attribute - :598:25 -
Old: Type `Self` has no attribute `is_web_public`
New: Type `Self@Model` has no attribute `is_web_public`
[error] unresolved-attribute - :647:40 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :648:36 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :649:36 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :665:40 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :666:40 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :667:40 -
Old: Type `Self` has no attribute `messages`
New: Type `Self@Model` has no attribute `messages`
[error] unresolved-attribute - :728:9 -
Old: Unresolved attribute `size` on type `Self`.
New: Unresolved attribute `size` on type `Self@Model`.
[warning] possibly-unbound-attribute - :768:16 -
Old: Attribute `host` on type `Unknown | _ST` is possibly unbound
New: Attribute `host` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :2107:9 -
Old: Unresolved attribute `file_name` on type `Self`.
New: Unresolved attribute `file_name` on type `Self@Model`.

zerver/tests/test_upload_local.py

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

zerver/tests/test_upload_s3.py

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

zerver/tests/test_urls.py

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

zerver/tests/test_user_groups.py

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

zerver/tests/test_user_status.py

[error] invalid-argument-type - :22:43 -
Old: Argument to function `get_all_users_status_dict` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_all_users_status_dict` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/tests/test_user_topics.py

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

zerver/tests/test_users.py

[error] unresolved-attribute - :758:66 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :762:26 -
Old: Type `Self` has no attribute `editable_by_user`
New: Type `Self@Model` has no attribute `editable_by_user`
[error] unresolved-attribute - :779:23 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :812:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :854:16 -
Old: Type `Self` has no attribute `field_type`
New: Type `Self@Model` has no attribute `field_type`
[error] unresolved-attribute - :858:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :892:27 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :913:23 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :936:13 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`
[error] unresolved-attribute - :938:26 -
Old: Type `Self` has no attribute `modified_user`
New: Type `Self@Model` has no attribute `modified_user`
[error] unresolved-attribute - :944:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] unresolved-attribute - :952:13 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`
[error] unresolved-attribute - :954:26 -
Old: Type `Self` has no attribute `modified_user`
New: Type `Self@Model` has no attribute `modified_user`
[error] unresolved-attribute - :960:26 -
Old: Type `Self` has no attribute `extra_data`
New: Type `Self@Model` has no attribute `extra_data`
[error] invalid-argument-type - :1010:17 -
Old: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self`
New: Argument to function `do_create_user` is incorrect: Expected `PreregistrationUser | None`, found `Self@Model`
[error] unresolved-attribute - :1019:35 -
Old: Type `Self` has no attribute `name`
New: Type `Self@Model` has no attribute `name`
[error] unresolved-attribute - :1043:9 -
Old: Unresolved attribute `email_address_visibility` on type `Self`.
New: Unresolved attribute `email_address_visibility` on type `Self@Model`.
[error] unresolved-attribute - :1066:9 -
Old: Unresolved attribute `email_address_visibility` on type `Self`.
New: Unresolved attribute `email_address_visibility` on type `Self@Model`.
[error] unresolved-attribute - :1216:26 -
Old: Type `Self` has no attribute `event_type`
New: Type `Self@Model` has no attribute `event_type`
[error] unresolved-attribute - :1217:26 -
Old: Type `Self` has no attribute `modified_user`
New: Type `Self@Model` has no attribute `modified_user`
[error] unresolved-attribute - :1218:26 -
Old: Type `Self` has no attribute `acting_user`
New: Type `Self@Model` has no attribute `acting_user`
[warning] possibly-unbound-attribute - :1466:50 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1467:48 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1602:9 -
Old: Unresolved attribute `web_home_view` on type `Self`.
New: Unresolved attribute `web_home_view` on type `Self@Model`.
[error] unresolved-attribute - :1603:9 -
Old: Unresolved attribute `emojiset` on type `Self`.
New: Unresolved attribute `emojiset` on type `Self@Model`.
[error] unresolved-attribute - :1604:9 -
Old: Unresolved attribute `color_scheme` on type `Self`.
New: Unresolved attribute `color_scheme` on type `Self@Model`.
[error] unresolved-attribute - :1605:9 -
Old: Unresolved attribute `enable_offline_email_notifications` on type `Self`.
New: Unresolved attribute `enable_offline_email_notifications` on type `Self@Model`.
[error] unresolved-attribute - :1606:9 -
Old: Unresolved attribute `enable_stream_push_notifications` on type `Self`.
New: Unresolved attribute `enable_stream_push_notifications` on type `Self@Model`.
[error] unresolved-attribute - :1607:9 -
Old: Unresolved attribute `enter_sends` on type `Self`.
New: Unresolved attribute `enter_sends` on type `Self@Model`.
[error] invalid-argument-type - :1615:35 -
Old: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self`
New: Argument to function `copy_default_settings` is incorrect: Expected `UserProfile | RealmUserDefault`, found `Self@Model`
[error] invalid-argument-type - :2088:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-argument-type - :2094:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] unresolved-attribute - :2100:17 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2106:17 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2111:13 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2114:13 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] invalid-argument-type - :2125:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] invalid-argument-type - :2131:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[error] unresolved-attribute - :2137:17 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2143:17 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2149:17 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2156:13 -
Old: Type `Self` has no attribute `expiry_date`
New: Type `Self@Model` has no attribute `expiry_date`
[error] unresolved-attribute - :2205:38 -
Old: Type `Self` has no attribute `users`
New: Type `Self@Model` has no attribute `users`
[error] unresolved-attribute - :2206:26 -
Old: Type `Self` has no attribute `users`
New: Type `Self@Model` has no attribute `users`
[error] invalid-argument-type - :2235:36 -
Old: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self | None`
New: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self@Model | None`
[error] unresolved-attribute - :2262:9 -
Old: Type `Self` has no attribute `users`
New: Type `Self@Model` has no attribute `users`
[error] unresolved-attribute - :2264:20 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :2265:24 -
Old: Type `Self` has no attribute `scheduled_timestamp`
New: Type `Self@Model` has no attribute `scheduled_timestamp`
[error] invalid-argument-type - :2270:36 -
Old: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self`
New: Argument to function `queue_scheduled_emails` is incorrect: Expected `ScheduledEmail`, found `Self@Model`
[error] invalid-argument-type - :2319:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2359:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2373:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2383:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2398:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2414:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2425:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2436:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2450:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2462:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2482:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2505:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2515:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2530:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2543:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2559:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2579:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2603:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2623:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :2655:13 -
Old: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_recipient_info` is incorrect: Expected `Recipient`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`

zerver/tests/test_widgets.py

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

zerver/tests/test_zilencer_analytics.py

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

zerver/tests/test_zulip_update_announcements.py

[error] unresolved-attribute - :78:30 -
Old: Type `Self` has no attribute `sender`
New: Type `Self@Model` has no attribute `sender`
[error] unresolved-attribute - :79:30 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :81:55 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] unresolved-attribute - :87:17 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[warning] possibly-unbound-attribute - :232:36 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :251:26 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :252:34 -
Old: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Unknown | _ST`
New: Argument to function `do_deactivate_stream` is incorrect: Expected `Stream`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :333:26 -
Old: Type `Self` has no attribute `sender`
New: Type `Self@Model` has no attribute `sender`
[error] unresolved-attribute - :334:26 -
Old: Type `Self` has no attribute `date_sent`
New: Type `Self@Model` has no attribute `date_sent`
[error] unresolved-attribute - :336:51 -
Old: Type `Self` has no attribute `recipient`
New: Type `Self@Model` has no attribute `recipient`
[error] unresolved-attribute - :344:13 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[error] unresolved-attribute - :448:17 -
Old: Type `Self` has no attribute `content`
New: Type `Self@Model` has no attribute `content`
[warning] possibly-unbound-attribute - :510:36 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound

zerver/tornado/sharding.py

[error] invalid-argument-type - :42:61 -
Old: Argument to function `get_realm_tornado_ports` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_tornado_ports` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/attachments.py

[warning] possibly-unbound-attribute - :14:34 -
Old: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST` is possibly unbound
New: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/views/auth.py

[error] invalid-return-type - :138:12 -
Old: Return type does not match returned value: expected `PreregistrationUser`, found `Self`
New: Return type does not match returned value: expected `PreregistrationUser`, found `Self@Model`
[error] invalid-return-type - :156:12 -
Old: Return type does not match returned value: expected `PreregistrationRealm`, found `Self`
New: Return type does not match returned value: expected `PreregistrationRealm`, found `Self@Model`
[error] invalid-argument-type - :280:17 -
Old: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self, Self]`
New: Argument to function `filter_to_valid_prereg_users` is incorrect: Expected `QuerySet[PreregistrationUser, PreregistrationUser]`, found `QuerySet[Self@Model, Self@Model]`
[warning] possibly-unbound-attribute - :442:53 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :475:42 -
Old: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :508:17 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1165:43 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self | None`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Self@Model | None`
[error] invalid-argument-type - :1169:64 -
Old: Argument to function `auth_enabled_helper` is incorrect: Expected `Realm | None`, found `Self | None`
New: Argument to function `auth_enabled_helper` is incorrect: Expected `Realm | None`, found `Self@Model | None`
[error] invalid-argument-type - :1222:30 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`

zerver/views/channel_folders.py

[error] invalid-argument-type - :38:37 -
Old: Argument to function `check_channel_folder_name` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_channel_folder_name` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :39:47 -
Old: Argument to function `check_add_channel_folder` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_add_channel_folder` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :51:52 -
Old: Argument to function `get_channel_folders_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_folders_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :68:66 -
Old: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :71:41 -
Old: Argument to function `check_channel_folder_name` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_channel_folder_name` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/custom_profile_fields.py

[error] invalid-argument-type - :184:80 -
Old: Argument to function `display_in_profile_summary_limit_reached` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `display_in_profile_summary_limit_reached` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :195:17 -
Old: Argument to function `try_add_realm_default_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `try_add_realm_default_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :204:17 -
Old: Argument to function `try_add_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `try_add_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :227:42 -
Old: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :227:68 -
Old: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
New: Argument to function `do_remove_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
[error] invalid-argument-type - :252:9 -
Old: Argument to function `display_in_profile_summary_limit_reached` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `display_in_profile_summary_limit_reached` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :252:29 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :259:9 -
Old: Type `Self` has no attribute `field_type`
New: Type `Self@Model` has no attribute `field_type`
[error] unresolved-attribute - :268:39 -
Old: Type `Self` has no attribute `field_type`
New: Type `Self@Model` has no attribute `field_type`
[error] unresolved-attribute - :268:70 -
Old: Type `Self` has no attribute `field_data`
New: Type `Self@Model` has no attribute `field_data`
[error] invalid-argument-type - :269:56 -
Old: Argument to function `update_only_display_in_profile_summary` is incorrect: Expected `CustomProfileField`, found `Self`
New: Argument to function `update_only_display_in_profile_summary` is incorrect: Expected `CustomProfileField`, found `Self@Model`
[error] invalid-argument-type - :273:42 -
Old: Argument to function `validate_custom_profile_field_update` is incorrect: Expected `CustomProfileField`, found `Self`
New: Argument to function `validate_custom_profile_field_update` is incorrect: Expected `CustomProfileField`, found `Self@Model`
[error] invalid-argument-type - :276:13 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :277:13 -
Old: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self`
New: Argument to function `try_update_realm_custom_profile_field` is incorrect: Expected `CustomProfileField`, found `Self@Model`
[error] invalid-argument-type - :298:45 -
Old: Argument to function `try_reorder_realm_custom_profile_fields` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `try_reorder_realm_custom_profile_fields` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :326:39 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/views/development/dev_login.py

[warning] possibly-unbound-attribute - :155:56 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :160:56 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/views/development/email_log.py

[error] unresolved-attribute - :87:77 -
Old: Type `Self` has no attribute `host`
New: Type `Self@Model` has no attribute `host`
[warning] possibly-unbound-attribute - :109:42 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :131:11 -
Old: Type `Self` has no attribute `confirmation_key`
New: Type `Self@Model` has no attribute `confirmation_key`

zerver/views/events_register.py

[error] invalid-assignment - :29:5 -
Old: Object of type `Unknown | _ST` is not assignable to `Stream | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Stream | None`
[error] invalid-argument-type - :115:9 -
Old: Argument to function `do_events_register` is incorrect: Expected `Realm`, found `Unknown | _ST | Realm`
New: Argument to function `do_events_register` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey | Realm`

zerver/views/home.py

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

zerver/views/invite.py

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

zerver/views/message_edit.py

[warning] possibly-unbound-attribute - :120:9 -
Old: Attribute `message_edit_history_visibility_policy` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_edit_history_visibility_policy` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :189:44 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :189:71 -
Old: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_stream_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :193:43 -
Old: Attribute `bot_owner_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `bot_owner_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :208:36 -
Old: Attribute `message_content_delete_limit_seconds` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_content_delete_limit_seconds` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :233:28 -
Old: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :267:13 -
Old: Attribute `message_edit_history_visibility_policy` on type `Unknown | _ST` is possibly unbound
New: Attribute `message_edit_history_visibility_policy` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :282:9 -
Old: Argument to function `messages_for_ids` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `messages_for_ids` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/message_fetch.py

[error] unresolved-attribute - :280:35 -
Old: Type `Self` has no attribute `message_id`
New: Type `Self@Model` has no attribute `message_id`
[error] unresolved-attribute - :280:50 -
Old: Type `Self` has no attribute `flags_list`
New: Type `Self@Model` has no attribute `flags_list`
[error] invalid-argument-type - :346:61 -
Old: Argument to function `get_first_visible_message_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_first_visible_message_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :362:9 -
Old: Argument to function `add_narrow_conditions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `add_narrow_conditions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/message_flags.py

[error] invalid-argument-type - :107:9 -
Old: Argument to function `fetch_messages` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `fetch_messages` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/message_report.py

[warning] possibly-unbound-attribute - :31:8 -
Old: Attribute `moderation_request_channel` on type `Unknown | _ST` is possibly unbound
New: Attribute `moderation_request_channel` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :35:28 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :38:13 -
Old: Argument to function `send_message_report` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_message_report` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/message_send.py

[error] invalid-argument-type - :72:72 -
Old: Argument to function `get_user_including_cross_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_including_cross_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :93:9 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :236:51 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :260:9 -
Old: Argument to function `check_send_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_send_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :296:66 -
Old: Argument to function `render_message_markdown` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `render_message_markdown` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`

zerver/views/onboarding_steps.py

[warning] possibly-unbound-attribute - :39:55 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :56:13 -
Old: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`

zerver/views/presence.py

[error] invalid-argument-type - :36:70 -
Old: Argument to function `get_active_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_active_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :39:45 -
Old: Argument to function `get_active_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_active_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :133:29 -
Old: Argument to function `check_emoji_request` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_emoji_request` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :211:8 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :220:43 -
Old: Type `Self` has no attribute `last_visit`
New: Type `Self@Model` has no attribute `last_visit`

zerver/views/push_notifications.py

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

zerver/views/read_receipts.py

[warning] possibly-unbound-attribute - :22:12 -
Old: Attribute `enable_read_receipts` on type `Unknown | _ST` is possibly unbound
New: Attribute `enable_read_receipts` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/views/realm.py

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

zerver/views/realm_domains.py

[error] invalid-argument-type - :21:33 -
Old: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_domains` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :44:9 -
Old: Argument to function `do_add_realm_domain` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_add_realm_domain` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :60:32 -
Old: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`
New: Argument to function `do_change_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`
[error] invalid-argument-type - :73:32 -
Old: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self`
New: Argument to function `do_remove_realm_domain` is incorrect: Expected `RealmDomain`, found `Self@Model`

zerver/views/realm_emoji.py

[error] invalid-argument-type - :56:27 -
Old: Argument to function `check_add_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_add_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :68:27 -
Old: Argument to function `do_remove_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_realm_emoji` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/realm_export.py

[error] unresolved-attribute - :77:40 -
Old: Type `Self` has no attribute `value`
New: Type `Self@Model` has no attribute `value`
[warning] possibly-unbound-attribute - :81:12 -
Old: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST` is possibly unbound
New: Attribute `currently_used_upload_space_bytes` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :91:53 -
Old: Argument to function `check_export_with_consent_is_usable` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_export_with_consent_is_usable` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :99:89 -
Old: Argument to function `check_public_export_is_usable` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_public_export_is_usable` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :117:25 -
Old: Argument to function `notify_realm_export` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `notify_realm_export` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :124:28 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :127:46 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :132:50 -
Old: Argument to function `get_realm_exports_serialized` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_exports_serialized` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] unresolved-attribute - :143:8 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :145:8 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] unresolved-attribute - :147:8 -
Old: Type `Self` has no attribute `status`
New: Type `Self@Model` has no attribute `status`
[error] invalid-argument-type - :149:28 -
Old: Argument to function `do_delete_realm_export` is incorrect: Expected `RealmExport`, found `Self`
New: Argument to function `do_delete_realm_export` is incorrect: Expected `RealmExport`, found `Self@Model`

zerver/views/realm_icon.py

[error] invalid-argument-type - :34:9 -
Old: Argument to function `do_change_icon_source` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_icon_source` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :34:29 -
Old: Attribute `ICON_UPLOADED` on type `Unknown | _ST` is possibly unbound
New: Attribute `ICON_UPLOADED` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :36:31 -
Old: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :50:9 -
Old: Argument to function `do_change_icon_source` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_icon_source` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :50:29 -
Old: Attribute `ICON_FROM_GRAVATAR` on type `Unknown | _ST` is possibly unbound
New: Attribute `ICON_FROM_GRAVATAR` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :52:35 -
Old: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :60:26 -
Old: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `realm_icon_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/realm_linkifiers.py

[error] invalid-argument-type - :37:13 -
Old: Argument to function `do_add_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_add_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :52:29 -
Old: Argument to function `do_remove_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :70:13 -
Old: Argument to function `do_update_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_update_linkifier` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :91:30 -
Old: Argument to function `check_reorder_linkifiers` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_reorder_linkifiers` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/realm_logo.py

[warning] possibly-unbound-attribute - :24:5 -
Old: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST` is possibly unbound
New: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :40:9 -
Old: Argument to function `do_change_logo_source` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_logo_source` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :40:29 -
Old: Attribute `LOGO_UPLOADED` on type `Unknown | _ST` is possibly unbound
New: Attribute `LOGO_UPLOADED` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :54:9 -
Old: Argument to function `do_change_logo_source` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_logo_source` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :54:29 -
Old: Attribute `LOGO_DEFAULT` on type `Unknown | _ST` is possibly unbound
New: Attribute `LOGO_DEFAULT` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :63:30 -
Old: Argument to function `get_realm_logo_url` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_logo_url` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/realm_playgrounds.py

[error] invalid-return-type - :36:12 -
Old: Return type does not match returned value: expected `RealmPlayground`, found `Self`
New: Return type does not match returned value: expected `RealmPlayground`, found `Self@Model`
[error] invalid-argument-type - :52:9 -
Old: Argument to function `check_add_realm_playground` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_add_realm_playground` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :66:48 -
Old: Argument to function `access_playground_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_playground_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :67:8 -
Old: Attribute `default_code_block_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_code_block_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :69:13 -
Old: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_set_realm_property` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :71:32 -
Old: Argument to function `do_remove_realm_playground` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_realm_playground` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/registration.py

[warning] possibly-unbound-attribute - :446:38 -
Old: Attribute `string_id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `string_id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :452:44 -
Old: Argument to function `email_allowed_for_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `email_allowed_for_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :457:40 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :464:40 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :471:40 -
Old: Attribute `name` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :475:12 -
Old: Attribute `deactivated` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `deactivated` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :481:49 -
Old: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :492:73 -
Old: Argument to function `check_spare_licenses_available_for_registering_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `check_spare_licenses_available_for_registering_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :566:36 -
Old: Attribute `is_zephyr_mirror_realm` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :608:34 -
Old: Argument to function `name_changes_disabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `name_changes_disabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :624:37 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :628:34 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :694:90 -
Old: Argument to function `lookup_default_stream_groups` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `lookup_default_stream_groups` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :705:95 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :713:30 -
Old: Argument to function `ldap_auth_enabled` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `ldap_auth_enabled` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :756:39 -
Old: Argument to function `email_auth_enabled` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `email_auth_enabled` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :760:52 -
Old: Argument to function `get_external_method_dicts` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `get_external_method_dicts` is incorrect: Expected `Realm | None`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :769:51 -
Old: Argument to function `email_belongs_to_ldap` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `email_belongs_to_ldap` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :816:51 -
Old: Argument to function `get_default_language_for_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `get_default_language_for_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :825:21 -
Old: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[error] invalid-argument-type - :832:72 -
Old: Argument to function `get_default_language_for_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None) | Realm`
New: Argument to function `get_default_language_for_new_user` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm`
[warning] possibly-unbound-attribute - :867:17 -
Old: Attribute `subdomain` on type `(Unknown & ~None) | (_ST & ~None) | Realm` is possibly unbound
New: Attribute `subdomain` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None) | Realm` is possibly unbound
[error] unresolved-attribute - :878:44 -
Old: Type `Self` has no attribute `email_address_visibility`
New: Type `Self@Model` has no attribute `email_address_visibility`
[error] invalid-argument-type - :885:63 -
Old: Argument to function `name_changes_disabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `name_changes_disabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :890:52 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :892:56 -
Old: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST & ~None)`
New: Argument to function `password_auth_enabled` is incorrect: Expected `Realm | None`, found `None | (Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-argument-type - :893:85 -
Old: Argument to function `get_default_stream_groups` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST & ~None)`
New: Argument to function `get_default_stream_groups` is incorrect: Expected `Realm`, found `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :942:48 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1086:8 -
Old: Type `Self` has no attribute `deactivated`
New: Type `Self@Model` has no attribute `deactivated`
[error] unresolved-attribute - :1090:44 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1093:52 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :1108:82 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Self@Model`
[error] unresolved-attribute - :1130:73 -
Old: Type `Self` has no attribute `url`
New: Type `Self@Model` has no attribute `url`
[error] unresolved-attribute - :1173:76 -
Old: Type `Self` has no attribute `url`
New: Type `Self@Model` has no attribute `url`
[error] unresolved-attribute - :1190:62 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :1198:71 -
Old: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Self@Model`

zerver/views/scheduled_messages.py

[error] invalid-argument-type - :127:9 -
Old: Argument to function `edit_scheduled_message` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `edit_scheduled_message` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :182:9 -
Old: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_schedule_message` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`

zerver/views/streams.py

[error] invalid-argument-type - :201:36 -
Old: Argument to function `do_create_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_create_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :218:47 -
Old: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :220:45 -
Old: Argument to function `do_change_default_stream_group_name` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_default_stream_group_name` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :222:52 -
Old: Argument to function `do_change_default_stream_group_description` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_change_default_stream_group_description` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :236:47 -
Old: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :243:48 -
Old: Argument to function `do_add_streams_to_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_add_streams_to_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :245:53 -
Old: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_streams_from_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :256:47 -
Old: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_default_stream_group_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :257:36 -
Old: Argument to function `do_remove_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_remove_default_stream_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :344:8 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :367:12 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :378:36 -
Old: Attribute `moderation_request_channel` on type `Unknown | _ST` is possibly unbound
New: Attribute `moderation_request_channel` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :403:16 -
Old: Attribute `web_public_streams_enabled` on type `Unknown | _ST` is possibly unbound
New: Attribute `web_public_streams_enabled` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :436:9 -
Old: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST` is possibly unbound
New: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :461:41 -
Old: Argument to function `check_stream_name_available` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_stream_name_available` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :467:58 -
Old: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :506:21 -
Old: Argument to function `access_user_group_api_value_for_setting` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_user_group_api_value_for_setting` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :620:9 -
Old: Argument to function `bulk_remove_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_remove_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :750:9 -
Old: Argument to function `access_requested_group_permissions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_requested_group_permissions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :756:54 -
Old: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_channel_folder_by_id` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :847:13 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :864:9 -
Old: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `bulk_add_subscriptions` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :929:38 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :970:43 -
Old: Attribute `new_stream_announcements_stream` on type `Unknown | _ST` is possibly unbound
New: Attribute `new_stream_announcements_stream` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1004:12 -
Old: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST` is possibly unbound
New: Attribute `is_zephyr_mirror_realm` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1007:36 -
Old: Attribute `default_language` on type `Unknown | _ST` is possibly unbound
New: Attribute `default_language` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1115:55 -
Old: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_streams_traffic` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :1200:32 -
Old: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_delete_messages` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/submessage.py

[error] invalid-argument-type - :59:9 -
Old: Argument to function `do_add_submessage` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_add_submessage` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/tusd.py

[warning] possibly-unbound-attribute - :103:38 -
Old: Attribute `get_max_file_upload_size_mebibytes` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_max_file_upload_size_mebibytes` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :105:12 -
Old: Attribute `plan_type` on type `Unknown | _ST` is possibly unbound
New: Attribute `plan_type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :125:35 -
Old: Argument to function `check_upload_within_quota` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_upload_within_quota` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :205:13 -
Old: Argument to function `create_attachment` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `create_attachment` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/typing.py

[warning] possibly-unbound-attribute - :94:8 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :98:22 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :108:12 -
Old: Attribute `type` on type `Unknown | _ST` is possibly unbound
New: Attribute `type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :109:47 -
Old: Attribute `type_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `type_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :111:68 -
Old: Argument to function `get_direct_message_group_user_ids` is incorrect: Expected `Recipient`, found `Unknown | _ST`
New: Argument to function `get_direct_message_group_user_ids` is incorrect: Expected `Recipient`, found `Unknown | _ST@ForeignKey`

zerver/views/upload.py

[error] unresolved-attribute - :282:65 -
Old: Type `Self` has no attribute `thumbnail_metadata`
New: Type `Self@Model` has no attribute `thumbnail_metadata`
[error] unresolved-attribute - :286:12 -
Old: Type `Self` has no attribute `frames`
New: Type `Self@Model` has no attribute `frames`
[error] invalid-argument-type - :324:21 -
Old: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self`
New: Argument to function `ensure_thumbnails` is incorrect: Expected `ImageAttachment`, found `Self@Model`
[error] unresolved-attribute - :324:72 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-argument-type - :328:44 -
Old: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self`
New: Argument to function `get_image_thumbnail_path` is incorrect: Expected `ImageAttachment`, found `Self@Model`
[error] unresolved-attribute - :388:22 -
Old: Type `Self` has no attribute `file_name`
New: Type `Self@Model` has no attribute `file_name`
[error] unresolved-attribute - :389:26 -
Old: Type `Self` has no attribute `content_type`
New: Type `Self@Model` has no attribute `content_type`
[error] unresolved-attribute - :392:43 -
Old: Type `Self` has no attribute `file_name`
New: Type `Self@Model` has no attribute `file_name`
[warning] possibly-unbound-attribute - :434:38 -
Old: Attribute `get_max_file_upload_size_mebibytes` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_max_file_upload_size_mebibytes` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :436:12 -
Old: Attribute `plan_type` on type `Unknown | _ST` is possibly unbound
New: Attribute `plan_type` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :452:31 -
Old: Argument to function `check_upload_within_quota` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_upload_within_quota` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/user_groups.py

[warning] possibly-unbound-attribute - :71:5 -
Old: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST` is possibly unbound
New: Attribute `ensure_not_on_limited_plan` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :72:48 -
Old: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :95:9 -
Old: Argument to function `check_add_user_group` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_add_user_group` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :122:9 -
Old: Argument to function `user_groups_in_realm_serialized` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `user_groups_in_realm_serialized` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :288:38 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :291:66 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :359:47 -
Old: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :361:41 -
Old: Argument to function `get_direct_memberships_of_users` is incorrect: Expected `UserGroup`, found `Unknown | _ST`
New: Argument to function `get_direct_memberships_of_users` is incorrect: Expected `UserGroup`, found `Unknown | _ST@OneToOneField`
[error] invalid-argument-type - :389:48 -
Old: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `user_ids_to_users` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :542:70 -
Old: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :564:70 -
Old: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :583:70 -
Old: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `access_user_group_to_read_membership` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/user_settings.py

[warning] possibly-unbound-attribute - :71:8 -
Old: Attribute `email_changes_disabled` on type `Unknown | _ST` is possibly unbound
New: Attribute `email_changes_disabled` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :76:35 -
Old: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_realm_email_validator` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :83:13 -
Old: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :449:32 -
Old: Argument to function `avatar_changes_disabled` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `avatar_changes_disabled` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :472:32 -
Old: Argument to function `avatar_changes_disabled` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `avatar_changes_disabled` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/users.py

[warning] possibly-unbound-attribute - :113:18 -
Old: Attribute `get_human_owner_users` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_human_owner_users` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :178:30 -
Old: Attribute `url` on type `Unknown | _ST` is possibly unbound
New: Attribute `url` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :179:31 -
Old: Attribute `name` on type `Unknown | _ST` is possibly unbound
New: Attribute `name` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :291:72 -
Old: Argument to function `check_spare_license_available_for_changing_guest_user_role` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `check_spare_license_available_for_changing_guest_user_role` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :316:13 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :328:17 -
Old: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `validate_email_not_already_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :363:86 -
Old: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Realm | Unknown | _ST`
New: Argument to function `get_user_by_id_in_realm_including_cross_realm` is incorrect: Expected `Realm | None`, found `Realm | Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :400:69 -
Old: Argument to function `get_user_including_cross_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_including_cross_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :411:55 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :471:67 -
Old: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_profile_by_id_in_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :531:48 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :532:56 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :539:36 -
Old: Attribute `email` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `email` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] invalid-argument-type - :586:65 -
Old: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :589:53 -
Old: Attribute `get_bot_domain` on type `Unknown | _ST` is possibly unbound
New: Attribute `get_bot_domain` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :613:43 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :653:9 -
Old: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :694:48 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :695:56 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :710:50 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :711:58 -
Old: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST`
New: Argument to function `get_stream_name` is incorrect: Expected `Stream | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-assignment - :748:9 -
Old: Object of type `Unknown | _ST` is not assignable to `Realm | None`
New: Object of type `Unknown | _ST@ForeignKey` is not assignable to `Realm | None`
[error] invalid-argument-type - :814:9 -
Old: Argument to function `get_user_data` is incorrect: Expected `Realm | None`, found `Unknown | _ST | Realm`
New: Argument to function `get_user_data` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey | Realm`
[error] invalid-argument-type - :833:65 -
Old: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :844:40 -
Old: Argument to function `email_allowed_for_realm` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `email_allowed_for_realm` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :857:43 -
Old: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_user_by_delivery_email` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :868:9 -
Old: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `do_create_user` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :884:9 -
Old: Argument to function `get_users_for_api` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_users_for_api` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/views/zephyr.py

[warning] possibly-unbound-attribute - :35:12 -
Old: Attribute `webathena_enabled` on type `Unknown | _ST` is possibly unbound
New: Attribute `webathena_enabled` on type `Unknown | _ST@ForeignKey` is possibly unbound

zerver/webhooks/freshstatus/view.py

[error] invalid-argument-type - :95:70 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/harbor/view.py

[error] invalid-argument-type - :102:76 -
Old: Argument to function `guess_zulip_user_from_harbor` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `guess_zulip_user_from_harbor` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/jira/view.py

[error] invalid-argument-type - :212:61 -
Old: Argument to function `get_assignee_mention` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `get_assignee_mention` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :236:52 -
Old: Argument to function `convert_jira_markup` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `convert_jira_markup` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/slack/view.py

[error] invalid-argument-type - :228:17 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/teamcity/view.py

[error] invalid-argument-type - :68:27 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :122:75 -
Old: Argument to function `guess_zulip_user_from_teamcity` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `guess_zulip_user_from_teamcity` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`
[error] invalid-argument-type - :130:41 -
Old: Argument to function `guess_zulip_user_from_teamcity` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `guess_zulip_user_from_teamcity` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/uptimerobot/view.py

[error] invalid-argument-type - :56:70 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/webhooks/zabbix/view.py

[error] invalid-argument-type - :48:70 -
Old: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST`
New: Argument to function `send_rate_limited_pm_notification_to_bot_owner` is incorrect: Expected `Realm`, found `Unknown | _ST@ForeignKey`

zerver/worker/deferred_work.py

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

zerver/worker/embed_links.py

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

zerver/worker/missedmessage_emails.py

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

zerver/worker/thumbnail.py

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

zilencer/lib/push_notifications.py

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

zilencer/management/commands/add_mock_conversation.py

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

zilencer/management/commands/calculate_first_visible_message_id.py

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

zilencer/management/commands/populate_billing_realms.py

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

zilencer/management/commands/populate_db.py

[error] unresolved-attribute - :165:74 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :176:42 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-assignment - :364:13 -
Old: Object of type `Literal["Verona"]` is not assignable to attribute `name` on type `(Unknown & ~None) | (_ST & ~None)`
New: Object of type `Literal["Verona"]` is not assignable to attribute `name` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[error] invalid-assignment - :365:13 -
Old: Object of type `Literal["A city in Italy"]` is not assignable to attribute `description` on type `(Unknown & ~None) | (_ST & ~None)`
New: Object of type `Literal["A city in Italy"]` is not assignable to attribute `description` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)`
[warning] possibly-unbound-attribute - :366:13 -
Old: Attribute `save` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `save` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[error] unresolved-attribute - :369:13 -
Old: Unresolved attribute `enter_sends` on type `Self`.
New: Unresolved attribute `enter_sends` on type `Self@Model`.
[error] unresolved-attribute - :370:13 -
Old: Unresolved attribute `email_address_visibility` on type `Self`.
New: Unresolved attribute `email_address_visibility` on type `Self@Model`.
[error] unresolved-attribute - :412:28 -
Old: Type `Self` has no attribute `last_updated`
New: Type `Self@Model` has no attribute `last_updated`
[error] invalid-argument-type - :414:49 -
Old: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self`
New: Argument to function `update_remote_realm_data_for_server` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
[error] unresolved-attribute - :664:17 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :720:82 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :851:29 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :888:17 -
Old: Type `Self` has no attribute `type_id`
New: Type `Self@Model` has no attribute `type_id`
[error] invalid-argument-type - :1027:34 -
Old: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Stream | None`, found `Self`
New: Argument to function `do_set_realm_moderation_request_channel` is incorrect: Expected `Stream | None`, found `Self@Model`
[error] unresolved-attribute - :1027:52 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] invalid-return-type - :1198:12 -
Old: Return type does not match returned value: expected `Recipient`, found `Self`
New: Return type does not match returned value: expected `Recipient`, found `Self@Model`
[error] unresolved-attribute - :1227:9 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1231:9 -
Old: Type `Self` has no attribute `id`
New: Type `Self@Model` has no attribute `id`
[error] unresolved-attribute - :1237:13 -
Old: Type `Self` has no attribute `user_profile`
New: Type `Self@Model` has no attribute `user_profile`
[warning] possibly-unbound-attribute - :1298:68 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1313:66 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1322:53 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound

zilencer/management/commands/render_messages.py

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

zilencer/models.py

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

zilencer/views.py

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

zproject/backends.py

[warning] possibly-unbound-attribute - :248:8 -
Old: Attribute `deactivated` on type `Unknown | _ST` is possibly unbound
New: Attribute `deactivated` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :987:73 -
Old: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST`
New: Argument to function `check_full_name` is incorrect: Expected `Realm | None`, found `Unknown | _ST@ForeignKey`
[warning] possibly-unbound-attribute - :1016:12 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1020:56 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] unresolved-attribute - :1096:48 -
Old: Type `Self` has no attribute `user`
New: Type `Self@Model` has no attribute `user`
[warning] possibly-unbound-attribute - :1714:61 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1733:48 -
Old: Attribute `id` on type `Unknown | _ST` is possibly unbound
New: Attribute `id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[warning] possibly-unbound-attribute - :1845:9 -
Old: Attribute `id` on type `(Unknown & ~None) | (_ST & ~None)` is possibly unbound
New: Attribute `id` on type `(Unknown & ~None) | (_ST@ForeignKey & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :1871:74 -
Old: Attribute `string_id` on type `Unknown | _ST` is possibly unbound
New: Attribute `string_id` on type `Unknown | _ST@ForeignKey` is possibly unbound
[error] invalid-argument-type - :1894:41 -
Old: Argument to function `bulk_add_members_to_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self]`
New: Argument to function `bulk_add_members_to_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self@Model]`
[error] invalid-argument-type - :1899:46 -
Old: Argument to function `bulk_remove_members_from_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self]`
New: Argument to function `bulk_remove_members_from_user_groups` is incorrect: Expected `list[NamedUserGroup]`, found `list[Self@Model]`
[error] invalid-argument-type - :2294:34 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2301:51 -
Old: Argument to function `redirect_deactivated_user_to_login` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `redirect_deactivated_user_to_login` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2310:35 -
Old: Argument to function `redirect_to_signup` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `redirect_to_signup` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2314:34 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2340:9 -
Old: Argument to function `social_auth_sync_user_attributes` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `social_auth_sync_user_attributes` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2365:17 -
Old: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2370:38 -
Old: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `redirect_to_login` is incorrect: Expected `Realm`, found `Self@Model`
[error] invalid-argument-type - :2384:9 -
Old: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self`
New: Argument to function `log_auth_attempt` is incorrect: Expected `Realm`, found `Self@Model`
[error] unresolved-attribute - :2391:19 -
Old: Type `Self` has no attribute `subdomain`
New: Type `Self@Model` has no attribute `subdomain`