-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I've noticed that with for example Gtk.Buildable or Gio.ListModel, I can't add typing.override to the vfuncs as they're not recognized in the stubs:
from typing import override
from gi.repository import Gio, GObject
class MyModel(GObject.Object, Gio.ListModel):
@override
def do_get_item(self, position): ...
# Method "do_get_item" is marked as override, but no base method of same name is present (Pyright reportGeneralTypeIssues)vanillajonathan
Metadata
Metadata
Assignees
Labels
No labels