Skip to content

refactor: methods and improve type hints#1320

Merged
julien-nc merged 1 commit intomainfrom
methodsTypeHints
Feb 3, 2026
Merged

refactor: methods and improve type hints#1320
julien-nc merged 1 commit intomainfrom
methodsTypeHints

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Feb 2, 2026

Refactored method

  • Inverted logic: Used try-catch pattern instead of pre-checking if provider exists
  • More natural flow: Update case (most common) comes first, create case in catch block

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf marked this pull request as ready for review February 2, 2026 10:14
@julien-nc julien-nc merged commit 72d9c5e into main Feb 3, 2026
38 checks passed
@julien-nc julien-nc deleted the methodsTypeHints branch February 3, 2026 12:16
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.

2 participants