Skip to content

Commit ea540fc

Browse files
authored
[python] On is-not-context, show type (#3583)
1 parent 77471b6 commit ea540fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/python/src/tiledbsoma/options/_soma_tiledb_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ def _validate_soma_tiledb_context(context: Any) -> SOMATileDBContext:
374374
)
375375

376376
if not isinstance(context, SOMATileDBContext):
377-
raise TypeError("context is not a SOMATileDBContext")
377+
raise TypeError(f"context is not a SOMATileDBContext: got {type(context)}")
378378

379379
return context

0 commit comments

Comments
 (0)