Expense it or Capitalize it

I have a condo that I rent. In 2024, we had a special assessment for $10K. Can I expense that or does it get added to cost basis and depreciated over time?