  def _spec(self) -> client.V1NetworkPolicySpec:
    """Override of abstract property."""
    return client.V1NetworkPolicySpec(
        pod_selector=client.V1LabelSelector(match_labels=self.labels),
        policy_types=[
            'Ingress',
            'Egress',
        ])
Override of abstract property.
libcloudforensics/providers/kubernetes/netpol.py