Skip to content

Commit 19f4e29

Browse files
committed
remove vlen-bytes warning
1 parent d771799 commit 19f4e29

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/zarr/codecs/vlen_utf8.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from dataclasses import dataclass
44
from typing import TYPE_CHECKING
5-
from warnings import warn
65

76
import numpy as np
87
from numcodecs.vlen import VLenBytes, VLenUTF8
@@ -71,15 +70,6 @@ def compute_encoded_size(self, input_byte_length: int, _chunk_spec: ArraySpec) -
7170

7271
@dataclass(frozen=True)
7372
class VLenBytesCodec(ArrayBytesCodec):
74-
def __init__(self) -> None:
75-
warn(
76-
"The codec `vlen-bytes` is currently not part in the Zarr format 3 specification. It "
77-
"may not be supported by other zarr implementations and may change in the future.",
78-
category=UserWarning,
79-
stacklevel=2,
80-
)
81-
super().__init__()
82-
8373
@classmethod
8474
def from_dict(cls, data: dict[str, JSON]) -> Self:
8575
_, configuration_parsed = parse_named_configuration(

0 commit comments

Comments
 (0)