Node Transformers
dict2graph comes with a lot of predefined transformers. For a basic concepts of a dict2Graph transformers have a look at How to use Transformers
Node Transformers List¶
This is a list if transformers that can be applied to nodes only
AddLabel
¶
Bases: _NodeTransformerBase
Add one or more new labels to nodes
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": {"name": "Camina Drummer"}}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(NodeTrans.AddLabel("Character"))
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in a Neo4j node (:person:Character{name:'Camina Drummer'})
Source code in dict2graph/transformers/node_transformers.py
__init__(labels)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
labels |
Union[str, List[str]]
|
A string or a list of strings that will be added as new labels to the matched nodes |
required |
Source code in dict2graph/transformers/node_transformers.py
CapitalizeLabels
¶
Bases: _NodeTransformerBase
Uppercase the first char of node labels.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": {"name": "Camina Drummer"}}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(NodeTrans.CapitalizeLabels())
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
(:Person{name:'Camina Drummer'})
Source code in dict2graph/transformers/node_transformers.py
ConvertLabelToProp
¶
Bases: _NodeTransformerBase
Convert a certain label to a node property
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": [{"name": "Camina"}, {"name": "Asom"}]}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(
[
NodeTrans.AddLabel("Agent"),
NodeTrans.ConvertLabelToProp(
"type",
target_labels=AnyLabel,
omit_move_labels=["Agent", "ListItem", "ListHub"],
),
]
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
This removes the :person
labels nad add a new property type
with the value person
Source code in dict2graph/transformers/node_transformers.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 |
|
__init__(prop_key, target_labels=None, omit_move_labels=None)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
prop_key |
str
|
description |
required |
target_labels |
Union[None, str, List[str], AnyLabel]
|
description. Defaults to None. |
None
|
omit_move_labels |
Union[None, str, List[str]]
|
description. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
ValueError
|
description |
Source code in dict2graph/transformers/node_transformers.py
CreateHubbing
¶
Bases: _NodeTransformerBase
Convert a chain of nodes to a tree of nodes. Details are explained in the hubbing article
usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
DRIVER = GraphDatabase.driver("neo4j://localhost")
d2g = Dict2graph()
# we define the start node by matching it with dict2graph
transformer = Transformer.match_nodes("article").do(
# apply the hubbing-transformer
NodeTrans.CreateHubbing(
# define the node chain by defining the follow node labels
follow_nodes_labels=["author", "affiliation"],
# define the merge mode
merge_mode="edge",
# give the hub node one or more labels
hub_labels=["Contribution"],
)
)
# Add the transformer the tranformator stack of our Dict2graph instance
d2g.add_transformation(transformer)
dataset_1 = {
"article": {
"title": "Blood money: Bayer's inventory of HIV-contaminated blood products and third world hemophiliacs",
"author": {
"name": "Leemon McHenry",
"affiliation": {
"name": "Department of Philosophy, California State University"
},
},
},
}
d2g.parse(dataset_1)
d2g.merge(DRIVER)
Results in a Y-formed graph with a new hub node in the middle, instead of three nodes in a chain.
Source code in dict2graph/transformers/node_transformers.py
695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 |
|
__init__(follow_nodes_labels, merge_mode, hub_labels=['Hub'], hub_incomplete_chains=True)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
follow_nodes_labels |
List[str]
|
The child nodes in the chain. |
required |
merge_mode |
Literal['lead', 'edge']
|
Should the hash ID for the hub be based on parent nodes or the outer nodes. |
required |
hub_labels |
List[str]
|
The labels for the new hub node. Defaults to ["Hub"]. |
['Hub']
|
Source code in dict2graph/transformers/node_transformers.py
CreateNewMergePropertyFromHash
¶
Bases: _NodeTransformerBase
Create a new merge-property for the node. The value of this property will be a configurable hash. See init() for configruation details.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = [
{"person": {"fname": "Joe ", "lname": "Miller", "domiciles": ["Ceres", "Belt", "SOL"]}},
{"person": {"fname": "Joe ", "lname": "Miller", "domiciles": ["Earth"]}},
]
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(
NodeTrans.CreateNewMergePropertyFromHash(
hash_includes_children_data=True
)
)
)
d2g.parse(dic)
d2g.merge(NEO4J_DRIVER)
Joe Miller
s.
Initially the disambiguation is only determinable by the Joe Miller
child nodes domiciles
.
With NodeTrans.CreateNewMergePropertyFromHash
we can create a hash from the node and its children.
This way merging will not result in false positives regarding distinguishing objects.
See __init__()
for more options to modify the hash.
Source code in dict2graph/transformers/node_transformers.py
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
|
__init__(hash_includes_properties=None, hash_includes_existing_merge_props=False, hash_includes_existing_other_props=False, hash_includes_children_nodes_merge_properties=False, hash_includes_children_data=False, hash_includes_parent_merge_properties=False, new_merge_property_name='_id')
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
hash_includes_properties |
List[str]
|
Define certain properties to go into the hash. Defaults to None. |
None
|
hash_includes_existing_merge_props |
bool
|
Include merge-properties in the hash. Defaults to False. |
False
|
hash_includes_existing_other_props |
bool
|
Include all non merge-properties in the hash. Defaults to False. |
False
|
hash_includes_children_nodes_merge_properties |
bool
|
Include all merge-properties of all direct child nodes. Defaults to False. |
False
|
hash_includes_children_data |
bool
|
Include all data from direct and indirect children. Defaults to False. |
False
|
hash_includes_parent_merge_properties |
bool
|
Include merge properties of parent nodes. Defaults to False. |
False
|
new_merge_property_name |
str
|
The key for the newly generated property. Defaults to "_id". |
'_id'
|
Source code in dict2graph/transformers/node_transformers.py
MergeChildNodes
¶
Bases: _NodeTransformerBase
A node will absorb the properties of one or multiple child nodes and the child nodes will be poped (aka. removed but a relation to grandchild nodes keeps existing)
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"name": "Chrisjen Avasarala",
"personal_info": {
"Home": "New York, Earth",
"occupation": "United Nations Government",
},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(NodeTrans.MergeChildNodes("personal_info"))
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in one person-node with all attributes instead of an extra "personal_info"-node connected to the person-node "Chrisjen Avasarala"
Source code in dict2graph/transformers/node_transformers.py
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 |
|
__init__(child_labels=AnyLabel, child_relation_type=AnyRelation, overwrite_existing_props=True, prefix_merged_props_with_primary_label_of_child=False, prefix_merged_props_with_hash_of_child=False, include_relation_props=True)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
child_labels |
Union[str, List[str], AnyLabel]
|
Label to match a specific child. Defaults to AnyLabel which merges all children |
AnyLabel
|
child_relation_type |
Union[str, AnyRelation]
|
If you want to match children with a specifi relationshop only. Defaults to AnyRelation. |
AnyRelation
|
overwrite_existing_props |
bool
|
If parent and children share property keys overwrite them on the parent. If set so false, the props will get an index. Defaults to True. |
True
|
prefix_merged_props_with_primary_label_of_child |
bool
|
Prefix the merged properties with the primary label of the child. Defaults to False. |
False
|
prefix_merged_props_with_hash_of_child |
bool
|
Prefix the merged properties with a hash of the child. Defaults to False. |
False
|
include_relation_props |
bool
|
Merge properties from the Node-child relationship as well. Defaults to True. |
True
|
Source code in dict2graph/transformers/node_transformers.py
OutsourcePropertiesToNewNode
¶
Bases: _NodeTransformerBase
Move one or multiple properties to a new node.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": {"fname": "Marco ", "lname": "Inaros", "child": "Filip Inaros"}}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(
NodeTrans.OutsourcePropertiesToNewNode(
property_keys=["child"],
new_node_labels=["person"],
relation_type="person_has_child",
)
)
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
instead of only one person-"Marco Inaros"-node, with a property "child:'Filip Inaros'", we have a second person-"Filip Inaros"-node.
They are connected with a relation person_has_child
.
Source code in dict2graph/transformers/node_transformers.py
OutsourcePropertiesToRelationship
¶
Bases: _NodeTransformerBase
Move one or multiple properties to an existing relation.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"fname": "Marco ",
"lname": "Inaros",
"child_rel": "biological",
"child": {"person": {"fname": "Filip", "lname": "Inaros"}},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(
NodeTrans.OutsourcePropertiesToRelationship(
property_keys=["child_rel"],
relation_type="child",
)
)
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Shifts the fathers prop "child_rel": "biological"
on the relation between child and father.
Source code in dict2graph/transformers/node_transformers.py
__init__(property_keys, relation_types, skip_if_prop_val_empty=False, keep_prop_if_no_relation_exist=True)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
property_keys |
List[str]
|
The properties, defined by their keys, that should be moved to the relationship. |
required |
relation_types |
Union[str, List[str]]
|
The relation(s), the properties should be moved to. |
required |
skip_if_prop_val_empty |
bool
|
If the property has no value, dont move it to the relation. Defaults to False. |
False
|
keep_prop_if_no_relation_exist |
bool
|
Set to |
True
|
Source code in dict2graph/transformers/node_transformers.py
OverrideLabel
¶
Bases: _NodeTransformerBase
Replace a node label with a new string Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": {"name": "Camina Drummer"}}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(NodeTrans.OverrideLabel("Character"))
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
(:Character{name:'Camina Drummer'})
Source code in dict2graph/transformers/node_transformers.py
__init__(value, target_label=None)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
str
|
The new labels string. |
required |
target_label |
str
|
The label you want to be replaced.
If none, the labels defined in the |
None
|
Raises:
Type | Description |
---|---|
ValueError
|
description |
Source code in dict2graph/transformers/node_transformers.py
PopListHubNodes
¶
Bases: _NodeTransformerBase
When dict2grapg parses dict lists it create a hub node to attach all list items.
In most cases this is unnecessary and will make your graph model larger as it has to be.
PopListHubNodes
will just remove these list hubs.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
data = {
"bookshelf": {
"book": [
{
"title": "Fine-structure constant - God set our instance a fine environment variable",
"condition": "good",
},
{
"title": "Goodhart's law - Better benchmark nothing, stupid!",
"condition": "bad",
},
]
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes().do(NodeTrans.PopListHubNodes())
)
d2g.parse(data)
d2g.create(NEO4J_DRIVER)
This will result in a (:bookshelf)
node directly connected to 2 (:book)
nodes instead of a :ListHub:book
node in between.
Source code in dict2graph/transformers/node_transformers.py
PopNode
¶
Bases: _NodeTransformerBase
Removes nodes but connect its children and parents to not lose the path.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"name": "Chrisjen Avasarala",
"connections": {
"child_1": {"name": "Charanpal"},
"child_2": {"name": "Ashanti"},
},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("connections").do(NodeTrans.PopNode())
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in directly conneting children to person "Chrisjen Avasarala" without an in between node "connections"
Source code in dict2graph/transformers/node_transformers.py
RemoveEmptyListRootNodes
¶
Bases: _NodeTransformerBase
Remove any list root/hub nodes with no children.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {"fname": "Marco ", "lname": "Inaros", "children": ["Filip Inaros"]}
}
dic2 = {"person": {"fname": "Joe ", "lname": "Miller", "children": []}}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("children").do(NodeTrans.RemoveEmptyListRootNodes())
)
d2g.parse(dic)
d2g.parse(dic2)
d2g.create(NEO4J_DRIVER)
Results in two person nodes. The Joe Miller
-node will not have any children
list nodes related.
Without the RemoveEmptyListRootNodes
the Joe Miller
-node would have attached an empty ListHub:Children
-node
Source code in dict2graph/transformers/node_transformers.py
RemoveLabel
¶
Bases: _NodeTransformerBase
Remove a certain label from nodes
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {"person": [{"name": "Camina Drummer"},{"name":"James Holden"}]}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("person").do(NodeTrans.RemoveLabel("ListItem"))
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in removing the :ListItem
label from :Person
nodes
Source code in dict2graph/transformers/node_transformers.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
|
__init__(target_labels=None, omit_removal_for_labels=None)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target_labels |
Union[None, str, List[str], AnyLabel]
|
Optional set this if you dont want the labels from |
None
|
omit_removal_for_labels |
Union[None, str, List[str]]
|
description. Defaults to None. |
None
|
Source code in dict2graph/transformers/node_transformers.py
RemoveListItemLabels
¶
Bases: _NodeTransformerBase
Remove ListItem
labels that are automatic attached to every list item by dict2graph.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {"fname": "Marco ", "lname": "Inaros", "children": ["Filip Inaros"]}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes().do(NodeTrans.RemoveListItemLabels())
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
The "Filip Inaros"-children
-node will not have an extra label ListItem
.
Source code in dict2graph/transformers/node_transformers.py
RemoveNode
¶
Bases: _NodeTransformerBase
Removes matched nodes.
Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"fname": "Marco ",
"lname": "Inaros",
"child": {"fname": "Filip", "lname": "Inaros"},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("child").do(
NodeTrans.RemoveNode()
)
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Shifts the fathers prop "child_rel": "biological"
on the relation between child and father.
Source code in dict2graph/transformers/node_transformers.py
__init__(remove_children=False)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
remove_children |
bool
|
Remove all nodes and relations down the tree as well. Defaults to False. |
False
|
Source code in dict2graph/transformers/node_transformers.py
RemoveNodesWithNoProps
¶
Bases: _NodeTransformerBase
Removes nodes if they have no properties. Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"name": "Roberta W. Draper",
"child": {},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("child").do(NodeTrans.RemoveNodesWithNoProps())
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in removing the empty child
-node
Source code in dict2graph/transformers/node_transformers.py
__init__(only_if_no_child_nodes=True)
¶
summary
Parameters:
Name | Type | Description | Default |
---|---|---|---|
only_if_no_child_nodes |
bool
|
Remove the node only if it is at the edge of our graph and has not outgoing relationshsips. Defaults to True. |
True
|
Source code in dict2graph/transformers/node_transformers.py
RemoveNodesWithOnlyEmptyProps
¶
Bases: _NodeTransformerBase
Removes nodes if they have only empty properties. "Empty" in terms of null/"" values Usage:
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
dic = {
"person": {
"name": "Roberta W. Draper",
"child": {"name":""},
}
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes("child").do(NodeTrans.RemoveNodesWithOnlyEmptyProps())
)
d2g.parse(dic)
d2g.create(NEO4J_DRIVER)
Results in removing the empty child
-node
Source code in dict2graph/transformers/node_transformers.py
SetMergeProperties
¶
Bases: _NodeTransformerBase
Set the primary properties that will be taken into account when comparing nodes while merging them together.
from dict2graph import Dict2graph, Transformer, NodeTrans
from neo4j import GraphDatabase
NEO4J_DRIVER = GraphDatabase.driver("neo4j://localhost")
data = {
"books": [
{
"title": "Science Behind The Cyberpunks-Genre Awesomeness",
},
{
"title": "Science Behind The Cyberpunks-Genre Awesomeness",
}
]
}
d2g = Dict2graph()
d2g.add_node_transformation(
Transformer.match_nodes(["books", "ListItem"]).do(
NodeTrans.SetMergeProperties(props=["title"])
)
)
d2g.parse(data)
d2g.merge(NEO4J_DRIVER)
Will result in one Node (:book)
because we only compare by the property title
when mergin nodes together.
Source code in dict2graph/transformers/node_transformers.py
__init__(props)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
props |
List[str]
|
A list of property keys to take into account for merging. |
required |