code: def flow_init(
      self,
      flow,
      graph,
      environment,
      flow_datastore,
      metadata,
      logger,
      echo,
      options,
  ):
      # Currently supports quartz cron expressions in UTC as defined in
      # https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html#cron-expressions
      if self.attributes["cron"]:
          self.schedule = self.attributes["cron"]
      elif self.attributes["weekly"]:
          self.schedule = "0 0 ? * SUN *"
      elif self.attributes["hourly"]:
          self.schedule = "0 * * * ? *"
      elif self.attributes["daily"]:
          self.schedule = "0 0 * * ? *"
      else:
          self.schedule = None
  
      # Argo Workflows supports the IANA timezone standard, e.g. America/Los_Angeles
      self.timezone = self.attributes["timezone"]
  
imports: from metaflow.decorators import FlowDecorator
label_desc: Use image node_id 1 for calling the ScheduleDecorator obj's underlying member method code with example usage: obj.flow_init(flow, graph, environment, flow_datastore, metadata, logger, echo, options) without return types