Skip to content

Commit

Permalink
[python] Fix deprecation warnings [main] (#3014)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Sep 18, 2024
1 parent d8771b0 commit 29be284
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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 @@ -25,7 +25,7 @@


def _warn_ctx_deprecation() -> None:
assert_version_before(1, 14)
assert_version_before(1, 15)
warnings.warn(
"tiledb_ctx is now deprecated for removal in 1.15. "
"Use tiledb_config instead by passing "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def cell_tile_orders(self) -> Tuple[Optional[str], Optional[str]]:

def offsets_filters_tiledb(self) -> Tuple[tiledb.Filter, ...]:
"""Constructs the real TileDB Filters to use for offsets."""
assert_version_before(1, 14)
assert_version_before(1, 15)
warnings.warn(
"`offsets_filters_tiledb` is now deprecated for removal in 1.15 "
"as we no longer support returning tiledb.Filter. "
Expand All @@ -206,7 +206,7 @@ def offsets_filters_tiledb(self) -> Tuple[tiledb.Filter, ...]:

def validity_filters_tiledb(self) -> Optional[Tuple[tiledb.Filter, ...]]:
"""Constructs the real TileDB Filters to use for the validity map."""
assert_version_before(1, 14)
assert_version_before(1, 15)
warnings.warn(
"`validity_filters_tiledb` is now deprecated for removal in 1.15 "
"as we no longer support returning tiledb.Filter. "
Expand All @@ -221,7 +221,7 @@ def dim_filters_tiledb(
self, dim: str, default: Sequence[_FilterSpec] = ()
) -> Tuple[tiledb.Filter, ...]:
"""Constructs the real TileDB Filters to use for the named dimension."""
assert_version_before(1, 14)
assert_version_before(1, 15)
warnings.warn(
"`dim_filters_tiledb` is now deprecated for removal in 1.15 "
"as we no longer support returning tiledb.Filter. "
Expand All @@ -242,7 +242,7 @@ def attr_filters_tiledb(
self, name: str, default: Sequence[_FilterSpec] = ()
) -> Tuple[tiledb.Filter, ...]:
"""Constructs the real TileDB Filters to use for the named attribute."""
assert_version_before(1, 14)
assert_version_before(1, 15)
warnings.warn(
"`attr_filters_tiledb` is now deprecated for removal in 1.15 "
"as we no longer support returning tiledb.Filter. "
Expand Down

0 comments on commit 29be284

Please sign in to comment.