Loading
gnomeExtensions/update: Modernize type annotations
Since Python 3.9, standard collections can be used with generics in type annotations: https://docs.python.org/3.9/whatsnew/3.9.html#type-hinting-generics-in-standard-collections Since Python 3.10, `Optional` can be written using type union with `None`: https://docs.python.org/3.10/whatsnew/3.10.html#pep-604-new-type-union-operator