Skip to content

Conversation

@rec-averbis
Copy link
Collaborator

What's in the PR

  • Added new function and test

How to test manually

  • Try against live product

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

@rec-averbis rec-averbis added this to the 0.15.0 milestone Aug 22, 2025
@rec-averbis rec-averbis self-assigned this Aug 22, 2025
@rec-averbis rec-averbis added the ⭐️ Enhancement New feature or request label Aug 22, 2025
@rec-averbis rec-averbis force-pushed the feature/195-Ability-to-check-if-an-API-token-is-valid branch from cf36d3f to 61c6177 Compare August 22, 2025 13:03
return None

def is_token_valid(self, api_token: str) -> bool:
"""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method uses the clients pre-configured API token for the request, so it checks that one and not the one given as a parameter. In my opinion it would be better to remove the api_token paramter from this method to avoid confusion.

@UWinch UWinch modified the milestones: 0.15.0, 0.16.0 Aug 27, 2025
@UWinch UWinch modified the milestones: 0.16.0, 0.17.0 Sep 11, 2025
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.

2 participants