alef 0.85.17

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
    @staticmethod
    def from_json(json_str: str) -> "{{ class_name }}":
        """Build a `{{ class_name }}` from a JSON string, via the native binding."""
        return {{ from_native_fn }}({{ module_name }}.{{ class_name }}.from_json(json_str))