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

Method __call__

praw/models/helpers.py:240–252  ·  view source on GitHub ↗

Return a new lazy instance of :class:`.LiveThread`. This method is intended to be used as: .. code-block:: python livethread = reddit.live("ukaeu1ik4sw5") :param id: A live thread ID, e.g., ``ukaeu1ik4sw5``.

(self, id: str)

Source from the content-addressed store, hash-verified

238 r"""Provide a set of functions to interact with :class:`.LiveThread`\ s."""
239
240 def __call__(self, id: str) -> models.LiveThread:
241 """Return a new lazy instance of :class:`.LiveThread`.
242
243 This method is intended to be used as:
244
245 .. code-block:: python
246
247 livethread = reddit.live("ukaeu1ik4sw5")
248
249 :param id: A live thread ID, e.g., ``ukaeu1ik4sw5``.
250
251 """
252 return LiveThread(self._reddit, id=id)
253
254 def create(
255 self,

Callers

nothing calls this directly

Calls 1

LiveThreadClass · 0.90

Tested by

no test coverage detected