  def Delete(self, cascade: bool = True) -> None:
    """Override of abstract method."""
    api = self._Api(client.AppsV1Api)
    if cascade:
      api.delete_namespaced_replica_set(self.name, self.namespace)
    else:
      api.delete_namespaced_replica_set(
          self.name, self.namespace, body={'propagationPolicy': 'Orphan'})
Override of abstract method.
libcloudforensics/providers/kubernetes/workloads.py