Skip to content

Commit

Permalink
ExperimentAxisQuery, AxisIndexer are explicitly ABCs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Nov 15, 2024
1 parent 2b183cb commit 8f9e174
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python-spec/src/somacore/query/query.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import abc
from typing import (
Any,
Mapping,
Expand Down Expand Up @@ -39,7 +40,7 @@ class AxisColumnNames(TypedDict, total=False):
"""var columns to use. All columns if ``None`` or not present."""


class ExperimentAxisQuery:
class ExperimentAxisQuery(abc.ABC):
"""Axis-based query against a SOMA Experiment.
ExperimentAxisQuery allows easy selection and extraction of data from a
Expand Down Expand Up @@ -254,7 +255,7 @@ def __exit__(self, *_: Any) -> None:
"""Things that can be converted to a NumPy array."""


class AxisIndexer:
class AxisIndexer(abc.ABC):
"""
Given a query, provides index-building services for obs/var axis.
Expand Down

0 comments on commit 8f9e174

Please sign in to comment.