Skip to content

Conversation

@c24t
Copy link
Member

@c24t c24t commented Jul 18, 2019

For #57.

@reyang I thought we could use generics here, but after another pass I don't think the context API should dictate the type of objects it stores. I replaced some Any annotations with object, but gave up on re-enabling disallow_any_explicit because of the get/setters in ThreadLocalRuntimeContext.

I'll comment in the main PR, but I don't think typing gives us any benefit here.

Copy link
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

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

Thank @c24t!

@reyang reyang merged commit 8d441be into open-telemetry:context Jul 19, 2019
reyang pushed a commit that referenced this pull request Jul 25, 2019
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
* Resource: Add merge function

* Add merge operation on Resource

* use shorthand syntax
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
* chore: cleanup closed issues

* chore: update basic tracer

* chore: clear open-telemetry#59

* chore: clear todo in DEFAULT_CONFIG
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.

2 participants