def query_for_ids(command: str, ids: List[str]) -> List[dict]:
    """Create a query for a list of ids."""
    constraints = {}
    constraints.setdefault("any", {UNIQUEID_PROPERTY: ["in", ids]})
    if command == "FindEntity":
        query = [{command: {"results": {"all_properties": True}}}]
    else:
        query = [{command: {}}]
    if len(constraints) > 0:
        query[0][command]["constraints"] = constraints
    return query
Create a query for a list of ids.
llama-index-integrations/graph_stores/llama-index-graph-stores-ApertureDB/llama_index/graph_stores/ApertureDB/property_graph.py