  def _policy(self) -> client.V1NetworkPolicy:
    """The policy object of this network policy to be used on creation."""
    return client.V1NetworkPolicy(spec=self._spec, metadata=self._metadata)
The policy object of this network policy to be used on creation.
libcloudforensics/providers/kubernetes/netpol.py