Skip to content

Commit 4fe4027

Browse files
Marc-marc-marcfrodrigo
authored andcommitted
exemple for Mapping.delete_tag
1 parent 7421fa1 commit 4fe4027

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/4-Merge.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ from .Analyser_Merge import Conflate, Mapping
274274
# Use an external function to compute the value.
275275
'mhs:inscription_date': lambda res: parseDate(res['Date']),
276276
},
277+
# delete a discardable tag if another modification is made
278+
mapping2 = {'created_by': Mapping.delete_tag},
277279
)
278280
)
279281
```

0 commit comments

Comments
 (0)