Skip to content

Fix PYRE_MISSING_ANNOTATIONS issue in fbcode/core_stats/balance/parent_balance/tests/test_cli.py#339

Closed
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili:export-D93595683
Closed

Fix PYRE_MISSING_ANNOTATIONS issue in fbcode/core_stats/balance/parent_balance/tests/test_cli.py#339
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili:export-D93595683

Conversation

@talgalili
Copy link
Contributor

Differential Revision: D93595683

…t_balance/tests/test_cli.py

Differential Revision: D93595683
Copilot AI review requested due to automatic review settings February 18, 2026 16:03
@meta-cla meta-cla bot added the cla signed label Feb 18, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 18, 2026

@talgalili has exported this pull request. If you are a Meta employee, you can view the originating Diff in D93595683.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Pyre type annotation issue in the test file by replacing a pyre-ignore comment with a proper type hint.

Changes:

  • Replaced # pyre-ignore[3] comment with explicit return type annotation -> type[Any] for _recording_sample_cls method
  • Added from typing import Any import to support the type annotation

@meta-codesync
Copy link

meta-codesync bot commented Feb 18, 2026

This pull request has been merged in f84e467.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants