(src, object_type, object_id, source_name)
return remove_deprecated(results)
Filters data source by id and type
Filters data source by id and type
Filters data source by id and type
def filter_by_type_and_id(src, object_type, object_id, source_name):
    """Filters data source by id and type"""
    filters = [
        Filter("type", "=", object_type),
        Filter("id", "=", object_id),
        Filter("external_references.source_name", "=", source_name),
    ]
    results = src.query(filters)
    return remove_deprecated(results)
def filter_by_type_and_id ( src , object_type , object_id , source_name ) : filters = [ Filter ( "type" , "=" , object_type ) , Filter ( "id" , "=" , object_id ) , Filter ( "external_references.source_name" , "=" , source_name ) , ] results = src . query ( filters ) return remove_deprecated ( results )