From 285347f0d8c57b71453ce0e134e68dc6a081c64a Mon Sep 17 00:00:00 2001 From: Vivian Nguyen Date: Fri, 23 Feb 2024 13:59:33 -0600 Subject: [PATCH] Add documentation for _opener virtual method --- apis/python/src/tiledbsoma/_tdb_handles.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apis/python/src/tiledbsoma/_tdb_handles.py b/apis/python/src/tiledbsoma/_tdb_handles.py index 24c4c2992a..c55e36a99d 100644 --- a/apis/python/src/tiledbsoma/_tdb_handles.py +++ b/apis/python/src/tiledbsoma/_tdb_handles.py @@ -332,6 +332,9 @@ def _opener( context: SOMATileDBContext, timestamp: int, ) -> clib.SOMAArray: + # Virtual method to implement _opener in derived classes + # SOMADataFrameWrapper, SOMASparseNDArrayWrapper, and + # SOMADenseNDArrayWrapper raise NotImplementedError # Covariant types should normally not be in parameters, but this is for