src/prefect/_internal/concurrency/threads.py
[warning] possibly-unbound-attribute -
:268:16 -
Attribute `thread` on type `EventLoopThread | None` is possibly unbound
[warning] possibly-unbound-attribute -
:269:16 -
Attribute `running` on type `EventLoopThread | None` is possibly unbound
[error] invalid-return-type -
:274:12 -
Return type does not match returned value: expected `EventLoopThread`, found `EventLoopThread | None`
[warning] possibly-unbound-attribute -
:299:16 -
Attribute `thread` on type `EventLoopThread | None` is possibly unbound
[warning] possibly-unbound-attribute -
:300:16 -
Attribute `running` on type `EventLoopThread | None` is possibly unbound
[error] invalid-return-type -
:305:12 -
Return type does not match returned value: expected `EventLoopThread`, found `EventLoopThread | None`
src/integrations/prefect-kubernetes/prefect_kubernetes/observer.py
[warning] possibly-unbound-attribute -
:146:26 -
Attribute `request` on type `PrefectClient | None` is possibly unbound
[warning] possibly-unbound-attribute -
:188:11 -
Attribute `emit` on type `EventsClient | None` is possibly unbound
[warning] possibly-unbound-attribute -
:269:26 -
Attribute `read_flow_run` on type `PrefectClient | None` is possibly unbound
[warning] possibly-unbound-attribute -
:310:30 -
Attribute `read_flow_run` on type `PrefectClient | None` is possibly unbound
[error] invalid-argument-type -
:327:13 -
Argument to function `propose_state` is incorrect: Expected `PrefectClient`, found `PrefectClient | None`
[warning] possibly-unbound-attribute -
:451:9 -
Attribute `wait` on type `Event | None` is possibly unbound
[warning] possibly-unbound-attribute -
:462:9 -
Attribute `set` on type `Event | None` is possibly unbound
[warning] possibly-unbound-attribute -
:464:9 -
Attribute `join` on type `Thread | None` is possibly unbound
src/prefect/server/events/triggers.py
[error] invalid-return-type -
:433:12 -
Return type does not match returned value: expected `Lock`, found `Lock | None`
[error] unsupported-operator -
:450:33 -
Operator `>=` is not supported for types `int` and `None`, in comparing `@Todo(Support for `typing.TypeAlias`) | int | float` with `int | float | None`
[error] unsupported-operator -
:472:19 -
Operator `-` is unsupported between objects of type `int | float | None` and `int | float`
[error] unsupported-operator -
:472:43 -
Operator `-` is unsupported between objects of type `int | float` and `int | float | None`
[error] invalid-return-type -
:655:12 -
Return type does not match returned value: expected `Lock`, found `Lock | None`