(dict_obj)
Remove OpenSearch specific fields from a dict.
Remove OpenSearch specific fields from a dict.
Remove OpenSearch specific fields from a dict .
def _scrub_special_tags(dict_obj):
    """Remove OpenSearch specific fields from a dict."""
    for field in FIELDS_TO_REMOVE:
        if field in dict_obj:
            _ = dict_obj.pop(field)
def _scrub_special_tags ( dict_obj ) : for field in FIELDS_TO_REMOVE : if field in dict_obj : _ = dict_obj . pop ( field )