Skip to content

Conversation

@Conengmo
Copy link
Member

Same like in python-visualization/folium#1817, remove the environment saved as class instance attribute on Element.

I suspect this was added early on because they expected we would load templates from the filesystem. Instead we now make templates dynamically from strings. So there's no need to store this on class instances. If somebody still wants to use it, we still have ENV as module variable available.

Copy link
Collaborator

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

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

Thanks!

@Conengmo Conengmo merged commit 4f79f24 into python-visualization:main Nov 20, 2023
@Conengmo
Copy link
Member Author

Almost forgot about this one :p thanks for the review Martin!

@Conengmo Conengmo deleted the remove-env-instance-attribute branch November 20, 2023 15:53
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