  def Create(self) -> None:
    """Creates this network policy via the Kubernetes API."""
    api = self._Api(client.NetworkingV1Api)
    api.create_namespaced_network_policy(self.namespace, self._policy)
Creates this network policy via the Kubernetes API.
libcloudforensics/providers/kubernetes/netpol.py