Re-expose default_encoders
and allow changing them in CBOREncoder
again
#226
Labels
default_encoders
and allow changing them in CBOREncoder
again
#226
Things to check first
Feature description
Please, re-expose
default_encoders
and probably other similar attributes that were public before version 5.5.0 and allow overridingdefault_encoders
inCBOREncoder
. A new__init__
parameter for it would be nice.Use case
Before 5.5.0 in pwebarc I did
(I want to use
self.encode_cbor_abridged
for long strings and bytes when abbreviation is enabled,default_encoders
for all the default things, andself.encode_cbor
for my custom stuff)after 5.5.0
default_encoders
and such are no longer exposed as a public interface andCBOREncoder()._encoders
is now read-only.The text was updated successfully, but these errors were encountered: