Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: token: turn DEFAULT_QUOTES into method #125

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

akirillo
Copy link
Contributor

@akirillo akirillo commented Dec 6, 2024

This PR replaces the DEFAULT_QUOTES constant with a method, since it is possible that the token mapping is not yet initialized when the constant is constructed (if a raw token mapping env var is not being used and loadTokenMapping still needs to be called), leading to module import errors.

@akirillo akirillo marked this pull request as ready for review December 6, 2024 18:24
@akirillo akirillo requested a review from sehyunc December 6, 2024 18:24
@akirillo akirillo self-assigned this Dec 6, 2024
@akirillo akirillo added the bug Something isn't working label Dec 6, 2024
@akirillo akirillo force-pushed the andrew/default-quotes-fn branch from 3d20ed3 to 2d68ac9 Compare December 6, 2024 18:34
@akirillo akirillo merged commit c2c9298 into main Dec 6, 2024
1 check passed
@akirillo akirillo deleted the andrew/default-quotes-fn branch December 6, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants