Skip to content

Conversation

@privateip
Copy link
Member

  • Fix incorrect exception attribute access (exc.message -> exc)
  • Rename authenticate_user() to authenticate_basicauth() for consistency
  • Replace non-Pythonic boolean check (is True -> truthiness)
  • Update platform_factory return type from Any to Platform | AsyncPlatform
  • Convert simple helper functions to module constants (_OAUTH_PATH, etc.)
  • Remove redundant docstring sections (Args: None, Raises: None)
  • Add comprehensive Google-style docstrings for all classes and methods
  • Fix missing token extraction in AsyncAuthMixin.authenticate_oauth()
  • Update all tests to match renamed methods and new exception handling
  • Fix import sorting in test file

- Fix incorrect exception attribute access (exc.message -> exc)
- Rename authenticate_user() to authenticate_basicauth() for consistency
- Replace non-Pythonic boolean check (is True -> truthiness)
- Update platform_factory return type from Any to Platform | AsyncPlatform
- Convert simple helper functions to module constants (_OAUTH_PATH, etc.)
- Remove redundant docstring sections (Args: None, Raises: None)
- Add comprehensive Google-style docstrings for all classes and methods
- Fix missing token extraction in AsyncAuthMixin.authenticate_oauth()
- Update all tests to match renamed methods and new exception handling
- Fix import sorting in test file
@privateip privateip requested a review from a team as a code owner December 12, 2025 14:15
@privateip privateip merged commit 2e8ce33 into itential:devel Dec 12, 2025
4 checks passed
@privateip privateip deleted the platform-updates branch December 12, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant