MCPcopy
hub / github.com/celery/celery / __setstate__

Method __setstate__

celery/schedules.py:567–570  ·  view source on GitHub ↗
(self, state: Mapping[str, Any])

Source from the content-addressed store, hash-verified

565 self._orig_month_of_year), self._orig_kwargs)
566
567 def __setstate__(self, state: Mapping[str, Any]) -> None:
568 # Calling super's init because the kwargs aren't necessarily passed in
569 # the same form as they are stored by the superclass
570 super().__init__(**state)
571
572 def remaining_delta(self, last_run_at: datetime, tz: tzinfo | None = None,
573 ffwd: type = ffwd) -> tuple[datetime, Any, datetime]:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected