Skip to content

Replace deprecated abstractproperty with @property + @abstractmethod#4913

Closed
saitcakmak wants to merge 1 commit intofacebook:mainfrom
saitcakmak:export-D93279592
Closed

Replace deprecated abstractproperty with @property + @abstractmethod#4913
saitcakmak wants to merge 1 commit intofacebook:mainfrom
saitcakmak:export-D93279592

Conversation

@saitcakmak
Copy link
Contributor

Summary: abc.abstractproperty has been deprecated since Python 3.3 in favor of stacking property and abstractmethod decorators. This replaces all remaining usages across 4 files in the Ax codebase.

Differential Revision: D93279592

Summary: `abc.abstractproperty` has been deprecated since Python 3.3 in favor of stacking `property` and `abstractmethod` decorators. This replaces all remaining usages across 4 files in the Ax codebase.

Differential Revision: D93279592
@meta-codesync
Copy link

meta-codesync bot commented Feb 17, 2026

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

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 17, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.80%. Comparing base (983c00c) to head (e89afad).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4913      +/-   ##
==========================================
- Coverage   96.80%   96.80%   -0.01%     
==========================================
  Files         595      595              
  Lines       63111    63122      +11     
==========================================
+ Hits        61095    61105      +10     
- Misses       2016     2017       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Feb 17, 2026
…acebook#4913)

Summary:

`abc.abstractproperty` has been deprecated since Python 3.3 in favor of stacking `property` and `abstractmethod` decorators. This replaces all remaining usages across 4 files in the Ax codebase.

Reviewed By: Balandat

Differential Revision: D93279592
@meta-codesync meta-codesync bot closed this in 8d2f816 Feb 18, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 18, 2026

This pull request has been merged in 8d2f816.

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

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments