(self, keys)
| 128 | self.options = remove_empty(**kwargs) |
| 129 | |
| 130 | def test_params(self, keys): |
| 131 | if keys is not None and self.search_label is not None: |
| 132 | assert self.search_label in keys, ( |
| 133 | f"The label '{self.search_label}' was not " f"available in {keys}" "" |
| 134 | ) |
| 135 | assert isinstance( |
| 136 | self._parent, Map |
| 137 | ), "Search can only be added to folium Map objects." |
| 138 | |
| 139 | def render(self, **kwargs): |
| 140 | if isinstance(self.layer, GeoJson): |