Skip to content

Fix PYRE_FIXME issue in fbcode/core_stats/balance/sample_class.py#299

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

Fix PYRE_FIXME issue in fbcode/core_stats/balance/sample_class.py#299
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili:export-D91468929

Conversation

@talgalili
Copy link
Contributor

Differential Revision: D91468929

Copilot AI review requested due to automatic review settings January 27, 2026 08:57
@meta-cla meta-cla bot added the cla signed label Jan 27, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 27, 2026

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

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 checking issue by adding an explicit type annotation to the _adjustment_model class attribute in the Sample class, replacing a PYRE_FIXME suppression comment.

Changes:

  • Replaced # pyre-fixme[4]: Attributes are initialized in from_frame() comment with explicit type annotation _adjustment_model: Dict[str, Any] | None = None

@meta-codesync
Copy link

meta-codesync bot commented Jan 27, 2026

This pull request has been merged in 6ed9935.

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