From b81c6bfeaf10933c5b7200188cefe8f086f7f7c0 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Tue, 19 Nov 2024 09:36:19 +0000 Subject: [PATCH] document set_element --- fastkml/registry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fastkml/registry.py b/fastkml/registry.py index 96e53bb1..a2a5957e 100644 --- a/fastkml/registry.py +++ b/fastkml/registry.py @@ -89,6 +89,7 @@ class RegistryItem: - ``attr_name``: The name of the attribute on the Python object that corresponds to the XML object. - ``get_kwarg``: A function that retrieves keyword arguments for the Python object. + - ``set_element``: A function that sets the XML element for the Python object. - ``type``: The type of the XML object. - ``node_name``: The name of the XML node that the mapping applies to. - ``default``: An optional default value for the Python object attribute.