Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] Fix deprecation warnings [main] #3014

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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)

Check warning on line 197 in apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py

View check run for this annotation

Codecov / codecov/patch

apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py#L197

Added line #L197 was not covered by tests
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 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)

Check warning on line 209 in apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py

View check run for this annotation

Codecov / codecov/patch

apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py#L209

Added line #L209 was not covered by tests
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 @@
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)

Check warning on line 224 in apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py

View check run for this annotation

Codecov / codecov/patch

apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py#L224

Added line #L224 was not covered by tests
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 @@
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)

Check warning on line 245 in apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py

View check run for this annotation

Codecov / codecov/patch

apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py#L245

Added line #L245 was not covered by tests
warnings.warn(
"`attr_filters_tiledb` is now deprecated for removal in 1.15 "
"as we no longer support returning tiledb.Filter. "
Expand Down
Loading