Skip to content

Commit

Permalink
add NetworkLink support and property-based tests for KML
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed Nov 11, 2024
1 parent a915fcc commit edcd8b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fastkml/kml.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
from fastkml.containers import Document
from fastkml.containers import Folder
from fastkml.enums import Verbosity
from fastkml.features import NetworkLink
from fastkml.features import Placemark
from fastkml.helpers import xml_subelement_list
from fastkml.helpers import xml_subelement_list_kwarg
Expand Down Expand Up @@ -214,8 +215,8 @@ def parse(
KML,
RegistryItem(
ns_ids=("kml",),
classes=(Document, Folder, Placemark, GroundOverlay, PhotoOverlay),
node_name="Document,Folder,Placemark,GroundOverlay,PhotoOverlay",
classes=(Document, Folder, Placemark, GroundOverlay, PhotoOverlay, NetworkLink),
node_name="Document,Folder,Placemark,GroundOverlay,PhotoOverlay,NetworkLink",
attr_name="features",
get_kwarg=xml_subelement_list_kwarg,
set_element=xml_subelement_list,
Expand Down

0 comments on commit edcd8b0

Please sign in to comment.