:param name str: Filter entities by part of their name (case-insensitive)
:param parent Element: Restrict entities to those linked to all transcriptions of an element and all its descendants. Note that links to metadata are ignored.
"""
query_params={}
ifnameisnotNone:
assertnameandisinstance(name,str),"name should be of type str"
query_params["name"]=name
ifparentisnotNone:
assertisinstance(parent,Element),"parent should be of type Element"