Closed stroxler closed 5 months ago
Summary: Github tests caught another too-new-to-use feature in our Python code: you cannot directly subscript builtin containers like dict until 3.9.
dict
In this case since there's no runtime need for the annotation, we can use from __future__ import annotations to work around the problem.
from __future__ import annotations
Differential Revision: D56821982
The fix was landed, not sure why the PR didn't auto-close
Summary: Github tests caught another too-new-to-use feature in our Python code: you cannot directly subscript builtin containers like
dict
until 3.9.In this case since there's no runtime need for the annotation, we can use
from __future__ import annotations
to work around the problem.Differential Revision: D56821982