Skip to content

Accept Sequence[ModelObject] instead of List[ModelObject]

The latter is invariant (because List is a mutable type), so it doesn't allow passing in lists of ModelObject subtypes.

Test Plan

mypy is happy


Migrated from D2990 (view on Phabricator)

Merge request reports