Skip to content

Commit

Permalink
[python] On is-not-context, show type (#3583)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Jan 17, 2025
1 parent 77471b6 commit ea540fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsoma/options/_soma_tiledb_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,6 @@ def _validate_soma_tiledb_context(context: Any) -> SOMATileDBContext:
)

if not isinstance(context, SOMATileDBContext):
raise TypeError("context is not a SOMATileDBContext")
raise TypeError(f"context is not a SOMATileDBContext: got {type(context)}")

return context

0 comments on commit ea540fc

Please sign in to comment.