From ddea28a4b2468a7e5663a5ca01da4c182ea2f11c Mon Sep 17 00:00:00 2001 From: Jake McKee <64083573+jjmckee@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:50:57 -0500 Subject: [PATCH] Layer should not be returned (#12424) GitOrigin-RevId: 865566a56de7a858c5c7baf65d75a61cd4b9d44a --- descarteslabs/core/vector/vector.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/descarteslabs/core/vector/vector.py b/descarteslabs/core/vector/vector.py index 38cdd70a..a7803483 100644 --- a/descarteslabs/core/vector/vector.py +++ b/descarteslabs/core/vector/vector.py @@ -23,7 +23,6 @@ from .features import query as features_query from .features import sjoin as features_sjoin from .features import update as features_update -from .layers import DLVectorTileLayer from .products import create as products_create from .products import delete as products_delete from .products import get as products_get @@ -930,7 +929,7 @@ def visualize( map, # No type hint because we don't want to require ipyleaflet vector_tile_layer_styles: Optional[dict] = None, override_options: TableOptions = None, - ) -> DLVectorTileLayer: + ) -> None: """ Visualize this Vector Table as an `ipyleaflet` VectorTileLayer. The property_filter and the columns specified with the Table @@ -979,7 +978,6 @@ def visualize( map.remove_layer(layer) break map.add_layer(lyr) - return lyr def collect( self, override_options: TableOptions = None