def pod_events_enricher(event: PodEvent, params: EventEnricherParams):
    """
    Given a Kubernetes pod, fetch related events in the near past
    """
    pod = event.get_pod()
    if not pod:
        logging.error(f"cannot run pod_events_enricher on alert with no pod object: {event}")
        return

    events_table_block = get_resource_events_table(
        "Pod Events",
        pod.kind,
        pod.metadata.name,
        pod.metadata.namespace,
        included_types=params.included_types,
        max_events=params.max_events,
    )
    if events_table_block:
        event.add_enrichment(
            [events_table_block],
            {SlackAnnotations.ATTACHMENT: True},
            enrichment_type=EnrichmentType.k8s_events,
            title="Pod Events",
        )

    Given a Kubernetes pod, fetch related events in the near past
    
playbooks/robusta_playbooks/event_enrichments.py