Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@streamable
def reports(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab reported items.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.reports.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.
@streamable
def unmoderated(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab unmoderated items.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.unmoderated.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.
@streamable
def modqueue(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab items in the modqueue.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.modqueue.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.
@streamable
def spam(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab items marked as spam.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.spam.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.
@streamable
def edited(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab edited items.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.edited.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.
@streamable
def log(self, *args, **kwargs):
r"""
Returns an instance of :class:`~apraw.models.ListingGenerator` mapped to grab mod actions in the subreddit log.
.. note::
This listing can be streamed doing the following:
.. code-block:: python3
for comment in subreddit.mod.log.stream():
print(comment)
Parameters
----------
kwargs: \*\*Dict
:class:`~apraw.models.ListingGenerator` ``kwargs``.