tmsgpack 0.2.14__tar.gz → 0.2.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ 0.2.16
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tmsgpack
3
- Version: 0.2.14
3
+ Version: 0.2.16
4
4
  Summary: Typed MessagePack serializer (inspired by but different from msgpack)
5
5
  Home-page: https://github.com/Yaakov-Belch/tmsgpack
6
6
  Author: Yaakov Belch
@@ -35,13 +35,13 @@ class BasicCodec(EncodeDecode):
35
35
  if codec_type is None: return self
36
36
  raise TMsgpackError(f'Unsupported codec_type: {codec_type}')
37
37
 
38
- def decompose_value(self, ectx):
38
+ def encode_value(self, ectx):
39
39
  raise TMsgpackError(f'Unsupported value: {ectx.value}')
40
40
 
41
- def value_from_bytes(self, dctx):
41
+ def decode_from_bytes(self, dctx):
42
42
  raise TMsgpackError(f'No bytes extension defined: {dctx._type}')
43
43
 
44
- def value_from_list(self, dctx):
44
+ def decode_from_list(self, dctx):
45
45
  raise TMsgpackError(f'No tuple extension defined: {dctx._type}')
46
46
 
47
47