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))