openllmetry icon indicating copy to clipboard operation
openllmetry copied to clipboard

Update __init__.py

Open smit23patel opened this issue 1 year ago • 2 comments

  1. Type Hints: Added type hints to function signatures for better clarity and type checking.

  2. Optional Parameters: Used Optional for parameters that can be None, improving the understanding of the function's expected input.

  • [ ] I have added tests that cover my changes.
  • [ ] If adding a new instrumentation or changing an existing one, I've added screenshots from some observability platform showing the change.
  • [ ] PR name follows conventional commits format: feat(instrumentation): ... or fix(instrumentation): ....
  • [ ] (If applicable) I have updated the documentation accordingly.

smit23patel avatar Oct 21 '24 14:10 smit23patel

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Oct 21 '24 14:10 CLAassistant

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10447429 Triggered Generic High Entropy Secret 9160e4d9ac507a3ec6d8b6654a1e1753dc28c9a4 packages/traceloop-sdk/traceloop/sdk/telemetry.py View secret
14250362 Triggered Generic High Entropy Secret 9160e4d9ac507a3ec6d8b6654a1e1753dc28c9a4 packages/traceloop-sdk/traceloop/sdk/telemetry.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

gitguardian[bot] avatar Oct 24 '24 08:10 gitguardian[bot]