-
Notifications
You must be signed in to change notification settings - Fork 657
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
Add more informative/restrictive typing to Log
body
field
#4124
Comments
when #4128 gets merged I would also like to take this up as it is related to it, afaik we just need to make the options take the exporter types, also would like to know if some tests we gonna be writing regarding this ? |
Yeah we pretty much want to use a |
Hi @lzchen |
Hey @lzchen, can I pick this one up? |
I am about to create a union for the Any type , but I wanted to ask where to add it, is it fine to add it here or create new file ! @lzchen would you please help ! |
Describe your environment
OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.8.10)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)
What happened?
From this comment: #4054 (comment)
Change the typing of LogRecord to restrict to the data model definition of Any instead of Python's
Any
type.Steps to Reproduce
See notes.
Expected Result
See notes.
Actual Result
See notes.
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: