Skip to content

chore: refactor .store_fallback_token, and ignore exceptions raised by .store_fallback_token. - #275

Merged
rwiker merged 1 commit into
mainfrom
chore/fallback-token-improvements
Sep 17, 2026
Merged

rwiker merged 1 commit into
mainfrom
chore/fallback-token-improvements

Conversation

@rwiker

@rwiker rwiker commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

chore: refactor .store_fallback_token, and ignore exceptions raised by .store_fallback_token.

Issue

N/A

Description

N/A

How to test

At this moment, the preview environment for sumo-core has the endpoint /createfallbackauth, while prod does not.

Running the following python script should cause no exceptions, and give a fallback token named 88d2b022-3539-4dda-9e66-853801334a86+fallback.sharedkey in ~/.sumo:

from sumo.wrapper import SumoClient
scd = SumoClient("preview")
scp = SumoClient("prod")

Checklist

  • No redundant `print()` statements, commented-out code, or other remnants from the development 👀
  • New/refactored code is following same conventions as the rest of the code base 🧬
  • New/refactored code is tested ⚙
  • Documentation has been updated 🧾
  • Commits are semantic ✅

@rwiker
rwiker requested a review from a team September 17, 2026 10:37
Comment thread src/sumo/wrapper/sumo_client.py
@rwiker
rwiker merged commit 35b2b96 into main Sep 17, 2026
8 checks passed
@rwiker
rwiker deleted the chore/fallback-token-improvements branch September 17, 2026 11:29
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.

2 participants