Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class to store configs #337

Open
Siddhesh-Agarwal opened this issue May 12, 2024 · 0 comments
Open

Class to store configs #337

Siddhesh-Agarwal opened this issue May 12, 2024 · 0 comments

Comments

@Siddhesh-Agarwal
Copy link

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant