MCPcopy Create free account
hub / github.com/praw-dev/praw / _fetch

Method _fetch

praw/models/reddit/live.py:736–740  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

734 super().__setattr__(attribute, value)
735
736 def _fetch(self) -> None:
737 url = API_PATH["live_focus"].format(thread_id=self.thread.id, update_id=self.id)
738 other = self._reddit.get(url)[0]
739 self.__dict__.update(other.__dict__)
740 super()._fetch()
741
742
743class LiveUpdateContribution:

Callers

nothing calls this directly

Calls 3

getMethod · 0.80
updateMethod · 0.45
_fetchMethod · 0.45

Tested by

no test coverage detected