Skip to content

Conversation

LukasGold
Copy link
Contributor

I have created a decorator for WtPage and WtSite each that tries to execute a method that relies on an active connection with an OSL instance and renews the token if an mediawiki API Error occurs.

@LukasGold LukasGold requested a review from simontaurus May 12, 2025 11:32
@LukasGold LukasGold self-assigned this May 12, 2025
@LukasGold LukasGold added the enhancement New feature or request label May 12, 2025
TypeError: 'staticmethod' object is not callable
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14971622924

Details

  • 34 of 39 (87.18%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 53.943%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/osw/wtsite.py 34 39 87.18%
Totals Coverage Status
Change from base Build 14767317885: 0.2%
Covered Lines: 3287
Relevant Lines: 5721

💛 - Coveralls

@simontaurus simontaurus merged commit 9ff5688 into main May 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants