Skip to content

Commit

Permalink
Layer should not be returned (#12424)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 865566a56de7a858c5c7baf65d75a61cd4b9d44a
  • Loading branch information
jjmckee authored and Descartes Labs Build committed Jan 30, 2024
1 parent d821e08 commit ddea28a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions descarteslabs/core/vector/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -979,7 +978,6 @@ def visualize(
map.remove_layer(layer)
break
map.add_layer(lyr)
return lyr

def collect(
self, override_options: TableOptions = None
Expand Down

0 comments on commit ddea28a

Please sign in to comment.