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

Config #2216

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from
Open

Config #2216

wants to merge 17 commits into from

Conversation

R5dan
Copy link
Contributor

@R5dan R5dan commented Jan 10, 2025

Supersedes #2209 with better implementation.

Changes:

  • Deprecates all proxy, session and timeout in functions
  • Adds yf.set_config
  • Allows setting:
    • proxy
    • session
    • timout
    • url
    • language
    • region
  • Adds deprecator for future use
  • Adds docs for use of yf.set_config

@R5dan R5dan mentioned this pull request Jan 10, 2025
@R5dan
Copy link
Contributor Author

R5dan commented Jan 11, 2025

@ValueRaider what do you think? Happy to move yf.set_config if you can think of somewhere. I have deprecated all of the session, proxy and timeout (thats why its adding code not removing it but that can all go away in a few versions time)

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

Successfully merging this pull request may close these issues.

1 participant