Skip to content

Comments

Cleanup api tokens#49

Open
JasoonS wants to merge 2 commits intomainfrom
cleanup-api-tokens
Open

Cleanup api tokens#49
JasoonS wants to merge 2 commits intomainfrom
cleanup-api-tokens

Conversation

@JasoonS
Copy link
Contributor

@JasoonS JasoonS commented Feb 16, 2026

No description provided.

- Removed dotenv dependency and related code from example scripts.
- Updated examples to directly use `os.environ.get("ENVIO_API_TOKEN")` for bearer token retrieval.
- Added a new example script `chain-id.py` to demonstrate fetching the chain ID.
- Improved README to clarify example usage and environment variable setup.
- Changed bearer_token from Optional to required in ClientConfig.
- Added __post_init__ method to validate bearer_token upon instantiation, raising a ValueError if not provided.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

Warning

Rate limit exceeded

@JasoonS has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 8 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cleanup-api-tokens

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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