From 028f271576a4090857f1986d9ad108324a46b426 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Fri, 12 Apr 2024 10:19:54 -0400 Subject: [PATCH] Update raises-notes --- apis/python/src/tiledbsoma/_collection.py | 2 ++ apis/python/src/tiledbsoma/_common_nd_array.py | 2 ++ apis/python/src/tiledbsoma/_dataframe.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/apis/python/src/tiledbsoma/_collection.py b/apis/python/src/tiledbsoma/_collection.py index fe9f05a4f2..922e2f9817 100644 --- a/apis/python/src/tiledbsoma/_collection.py +++ b/apis/python/src/tiledbsoma/_collection.py @@ -117,6 +117,8 @@ def create( the context. Raises: + tiledbsoma.AlreadyExistsError: + If the underlying object already exists at the given URI. TileDBError: If unable to create the underlying object. diff --git a/apis/python/src/tiledbsoma/_common_nd_array.py b/apis/python/src/tiledbsoma/_common_nd_array.py index c9c1f77eaf..adc6e8c94a 100644 --- a/apis/python/src/tiledbsoma/_common_nd_array.py +++ b/apis/python/src/tiledbsoma/_common_nd_array.py @@ -78,6 +78,8 @@ def create( If the ``type`` is unsupported. ValueError: If the ``shape`` is unsupported. + tiledbsoma.AlreadyExistsError: + If the underlying object already exists at the given URI. TileDBError: If unable to create the underlying object. diff --git a/apis/python/src/tiledbsoma/_dataframe.py b/apis/python/src/tiledbsoma/_dataframe.py index cac3fc49d1..76c76cb691 100644 --- a/apis/python/src/tiledbsoma/_dataframe.py +++ b/apis/python/src/tiledbsoma/_dataframe.py @@ -188,6 +188,8 @@ def create( an undefined column name. ValueError: If the ``schema`` specifies illegal column names. + tiledbsoma.AlreadyExistsError: + If the underlying object already exists at the given URI. TileDBError: If unable to create the underlying object.