diff --git a/synapseclient/models/protocols/table_protocol.py b/synapseclient/models/protocols/table_protocol.py index e84774ea1..504ccd769 100644 --- a/synapseclient/models/protocols/table_protocol.py +++ b/synapseclient/models/protocols/table_protocol.py @@ -9,7 +9,7 @@ from synapseclient import Synapse if TYPE_CHECKING: - from synapseclient.models.table import Table + from synapseclient.models.table import Row, Table class ColumnSynchronousProtocol(Protocol): @@ -77,6 +77,24 @@ def store_rows( """ return None + def delete_rows( + self, rows: List["Row"], *, synapse_client: Optional[Synapse] = None + ) -> None: + """Delete rows from a table. + + Arguments: + rows: The rows to delete. + synapse_client: If not passed in and caching was not disabled by + `Synapse.allow_client_caching(False)` this will use the last created + instance from the Synapse class constructor. + + Returns: + None + + # TODO: Add example of how to delete rows + """ + return None + def get( self, include_columns: bool = False,