Skip to content

Commit c049149

Browse files
author
Matt Sokoloff
committed
uri support
1 parent 4a1a668 commit c049149

File tree

1 file changed

+2
-1
lines changed
  • labelbox/data/serialization/labelbox_v1

1 file changed

+2
-1
lines changed

labelbox/data/serialization/labelbox_v1/label.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ def _row_contains(self, substrs) -> bool:
233233

234234
def _is_url(self) -> bool:
235235
return self.row_data.startswith(
236-
("http://", "https://")) or "tileLayerUrl" in self.row_data
236+
("http://", "https://", "gs://",
237+
"s3://")) or "tileLayerUrl" in self.row_data
237238

238239
class Config:
239240
allow_population_by_field_name = True

0 commit comments

Comments
 (0)