Skip to content
Back to top
View this page

# Config

class praw.config.Config(site_name: str, config_interpolation: str | None = None, **settings: str)

  A class containing the configuration for a Reddit site.

  __init__(site_name: str, config_interpolation: str | None = None, **settings: str)

    Initialize a `Config` instance.

  property short_url: str

    Return the short url.

    Raises:

      `ClientException` if it is not set.