code: def days_to_secs(days: Optional[int]) -> Optional[int]:
      """Convert time from days to seconds"""
      if days is None:
          return None
      if days < 0:
          raise ValueError(
              f"days must be non-negative, but was given {days}"
          )
      return days * _SEC_IN_DAY
  
imports: from typing import Optional
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: days_to_secs(days) and returns: unknown, None