code: def _timedelta_to_pl_duration(td: timedelta | str) -> str:
      ...
  
imports: from __future__ import annotations
  import sys
  from datetime import datetime, time, timedelta, timezone
  from decimal import Context
  from functools import lru_cache
  from typing import TYPE_CHECKING, Any, Callable, Sequence, TypeVar, overload
  from polars.dependencies import _ZONEINFO_AVAILABLE, zoneinfo
label_desc: Use image node_id 3 for calling a global function with example usage: _timedelta_to_pl_duration(td) without return types