Skip to content

Commit

Permalink
revert change to type ignore statement
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmartinjr committed Aug 25, 2024
1 parent 9295f85 commit 525aff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/python/src/tiledbsoma/_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ def axis_query( # type: ignore
*,
obs_query: Optional[query.AxisQuery] = None,
var_query: Optional[query.AxisQuery] = None,
) -> query.ExperimentAxisQuery[Self]: # type: ignore[type-var]
) -> query.ExperimentAxisQuery[Self]: # type: ignore
"""Creates an axis query over this experiment.
Lifecycle: Maturing.
"""
# mypy doesn't quite understand descriptors so it issues a spurious
# error here.
# (Actually, more likely the error is due to somacore.Experiment not being
# subclass of somacore.query.query._Experimentish)
return query.ExperimentAxisQuery( # type: ignore[type-var]
return query.ExperimentAxisQuery( # type: ignore
self,
measurement_name,
obs_query=obs_query or query.AxisQuery(),
Expand Down

0 comments on commit 525aff8

Please sign in to comment.