Skip to content

Conversation

Daniel-Plops
Copy link

<-- Thanks for submitting a PR! -->

Added a ContextVars variable to the TracerWrapper object such that it updates every time set_association_properties is called such that it stores a copy of the properties in a variable called association_properties_var, so changes are only stored when using the set_association_properties function. This allows for the properties to be viewed at certain instances in between trace updates so other functions could be made possible using this backup of association_properties.

First attempt at implementing a association_properties contextVars variable using wrapper_uuids.
Small Updates to formatting
Single formatting change
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 3, 2024
@CLAassistant
Copy link

CLAassistant commented Oct 3, 2024

CLA assistant check
All committers have signed the CLA.

@dosubot dosubot bot added the python Pull requests that update Python code label Oct 3, 2024
Copy link
Member

@nirga nirga left a comment

Choose a reason for hiding this comment

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

Thanks @Daniel-Plops! I'm not sure what is the use case you're looking to resolve with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants