hundreds-father-404
04/06/2022, 3:21 PMYou cannot use generic Python type hints in a rule's parameters or in a Get(). For example, a rule cannot return Optional[Foo], or take as a parameter Tuple[Foo, ...]. To express generic type hints, you should instead create a class that stores that value.https://www.pantsbuild.org/docs/rules-api-concepts#valid-types