def setup_date_types(): erlang.set_encoder(date_encoder) erlang.set_decoder(date_decoder) return Atom("ok")
def setup_dasherl_components_type(): """Setup a custom encoder for dasherl components, this should be render from erlang side""" set_decoder(dasherl_components_decoder) return Atom("ok")
def setup_dtype(): set_encoder(dtype_encoder) set_decoder(dtype_decoder) return Atom(b'ok')
def setup_decoders(): set_decoder(decoders.decode)