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

updated type hints for getters and setters #1106

Merged
merged 5 commits into from
May 29, 2022

Conversation

alanisaac
Copy link
Contributor

Description

Fixes typing for Getter and Setter to be generic, in line with the parallel change in the core library. See open-telemetry/opentelemetry-python#2657

Fixes #1105

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

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

  • Test A

Does This PR Require a Core Repo Change?

Checklist:

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

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added (type hints only)
  • Documentation has been updated (type hints only)

@sanketmehta28
Copy link
Member

Hi @alanisaac : Can you please resolve the build errors?

@alanisaac
Copy link
Contributor Author

This is my first set of changes to these repos, so bear with me if I've gotten anything wrong here:

This PR is dependent on open-telemetry/opentelemetry-python#2657 which was just merged today. IIUC, this repository uses the latest main branch from core, so I wouldn't have expected it to go through (I put this PR up a little preemptively).

Hopefully this latest push should pass, but I'll keep an eye on the build status in case there's a different issue.

@srikanthccv
Copy link
Member

@srikanthccv srikanthccv merged commit 100ecfe into open-telemetry:main May 29, 2022
jeremydvoss pushed a commit to jeremydvoss/opentelemetry-python-contrib that referenced this pull request Jun 2, 2022
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.

Sync up with Mark textmap.Getter and textmap.Setter Generic
6 participants