We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9087235 commit f04fa9bCopy full SHA for f04fa9b
databento/common/metadata.py
@@ -1,4 +1,4 @@
1
-from typing import Any
+from typing import Any, Dict
2
3
from databento.common.parsing import int_to_compression, int_to_schema, int_to_stype
4
from dbz_lib import decode_metadata
@@ -10,7 +10,7 @@ class MetadataDecoder:
10
"""
11
12
@staticmethod
13
- def decode_to_json(raw_metadata: bytes) -> dict[str, Any]:
+ def decode_to_json(raw_metadata: bytes) -> Dict[str, Any]:
14
15
Decode the given metadata into a JSON object (as a Python dict).
16
@@ -21,7 +21,7 @@ def decode_to_json(raw_metadata: bytes) -> dict[str, Any]:
21
22
Returns
23
-------
24
- dict[str, Any]
+ Dict[str, Any]
25
26
27
0 commit comments