diff --git a/fastkml/base.py b/fastkml/base.py index a40f46fb..6b5fc20f 100644 --- a/fastkml/base.py +++ b/fastkml/base.py @@ -48,6 +48,8 @@ def __init__( self.ns: str = self._default_ns if ns is None else ns name_spaces = name_spaces or {} self.name_spaces = {**config.NAME_SPACES, **name_spaces} + for arg in kwargs: + setattr(self, arg, kwargs[arg]) def __repr__(self) -> str: """Create a string (c)representation for _XMLObject."""