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

Resolve _expand__to_dot default at runtime #1634

Merged
merged 2 commits into from Apr 11, 2024

Conversation

SamVermeulen42
Copy link
Contributor

In the current situation, the default value of _expand__to_dot is bound to True when the module is imported.
Changing the EXPAND__TO_DOT has no impact on the default behavior.

This change would allow the user to set EXPAND__TO_DOT to False as a global default.

Closes #1633

@miguelgrinberg miguelgrinberg added the Category: Bug Something isn't right label Mar 25, 2024
@miguelgrinberg
Copy link
Collaborator

Duplicate of #1587

@miguelgrinberg miguelgrinberg self-requested a review April 11, 2024 14:33
@miguelgrinberg miguelgrinberg merged commit 5a6a231 into elastic:main Apr 11, 2024
15 checks passed
@miguelgrinberg miguelgrinberg added the backport 8.x Backport to 8.x label Apr 29, 2024
github-actions bot pushed a commit that referenced this pull request Apr 29, 2024
* Resolve _expand__to_dot default at runtime

* code formatting

---------

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
(cherry picked from commit 5a6a231)
miguelgrinberg pushed a commit that referenced this pull request Apr 29, 2024
* Resolve _expand__to_dot default at runtime

* code formatting

---------

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
(cherry picked from commit 5a6a231)
miguelgrinberg pushed a commit that referenced this pull request Apr 29, 2024
* Resolve _expand__to_dot default at runtime

* code formatting

---------

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
(cherry picked from commit 5a6a231)

Co-authored-by: Sam Vermeulen <sam.verm@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.x Backport to 8.x Category: Bug Something isn't right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expand__to_dot variable cannot be used to control the behavior
2 participants