Skip to content

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Jun 12, 2024

While at it test on modern python versions.

Closes #88

value = extractors[field](record)
if value is not None:
merge_dicts(de_dot(field, value), result)
# special case ecs.version that should not be de-dotted
Copy link
Member Author

@xrmx xrmx Jun 12, 2024

Choose a reason for hiding this comment

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

It looks like log.level survives de_dot without special cases apparently but I can't see where it gets a different treatment than the rest

Copy link
Contributor

Choose a reason for hiding this comment

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

weird! 🤔

@xrmx xrmx requested a review from basepi June 12, 2024 16:07
value = extractors[field](record)
if value is not None:
merge_dicts(de_dot(field, value), result)
# special case ecs.version that should not be de-dotted
Copy link
Contributor

Choose a reason for hiding this comment

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

weird! 🤔

@xrmx xrmx merged commit e3875fc into elastic:main Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants