Skip to content

Class to store configs #337

Description

@Siddhesh-Agarwal

The configs for the requests are stored as global variables and through them

Global Variables

Instead of using these global variables, it would be more convenient for the users and more maintainable for the maintainers if there was a WikiConfigs class to store configurations like:

  • user agent
  • requests timeout
  • request proxies
  • rate limiting
  • language etc.

It could also combine related functions like set_lang(), set_user_agent(), and set_rate_limiting()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions