docs: def delete_keys(d: Dict[Any, Any],
                  keys_to_delete: List[Any],
                  keys_to_keep: List[Any]) -> None:
      """
      Deletes keys from a dictionary, in place.
  
      Args:
          d:
              dictonary to modify
          keys_to_delete:
              if any keys are present in this list, they are deleted...
          keys_to_keep:
              ... unless they are present in this list.
      """
      for k in keys_to_delete:
          if k in d and k not in keys_to_keep:
              del d[k]