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

Run pyright on Vertex AI instrumentation #3184

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

aabmass
Copy link
Member

@aabmass aabmass commented Jan 13, 2025

Description

Follow up to #3116, adds typechecking to the vertexai instrumentation. This instrumentation is WIP and only has boilerplate so far, so this is very simple.

The interesting part is how to make dependencies needed for typechecking available to pyright.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • tox -e typecheck

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project

Copy link
Member Author

@aabmass aabmass left a comment

Choose a reason for hiding this comment

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

@Kludex would appreciate your review

typecheck-requirements.txt Outdated Show resolved Hide resolved
@aabmass aabmass added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 13, 2025
@aabmass aabmass marked this pull request as ready for review January 13, 2025 22:09
@aabmass aabmass requested a review from a team as a code owner January 13, 2025 22:09
@aabmass aabmass merged commit 9d9353d into open-telemetry:main Jan 16, 2025
675 checks passed
@aabmass aabmass deleted the vertex-typecheck branch January 16, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants