-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
base: dev
Are you sure you want to change the base?
Config #2216
Conversation
@ValueRaider what do you think? Happy to move |
@ValueRaider What do you think? |
I haven't had time to try and review yet. |
Remove stuff to simplify
User should not be informed on internal deprecations that aren't their fault. Best solution probably is: if
Set What happens if user changes session with Reduce |
Unless it is near the next release cycle, it is normally pretty obvious, plus it can always be changed - like I'm going to have to do now. I think this should stay as (1) more information never hurt - even if just for devs and (2) it lets the user know when it was deprecated, so if they really wanted to or needed to could revert back to that until they change it. However i will remove it if needed.
I think this should probably stay as it tells them exactly when to change by.
I don't believe it is however think it should stay for future use.
Yes, I agree. I marked the "getters" with deprecate as they weren't the common "private attributes"
That shouldn't raise a
Not possible for
In my initial testing of it, it seemed to work. However it doesn't seem to set it if its called after. Will have to fix. Any ideas how to? I will change the default of timeout |
OK keep
Without a current use case it isn't immediately obvious what it does. I figured it out and saw a bug, it's broken. Also the variable name could be more specific.
You need to inform users of the replacement in that deprecation message. That's my point. Move Run the unit tests to check for bugs. You might need to rebase to latest |
@ValueRaider I have made changes to the branch having already rebased and it now wont let me push due to:
But there isn't any upstream changes etc. Any ideas? |
Immediately after the rebase (done on your local system), do a force push to your fork #1084 |
@ValueRaider How is this? |
Supersedes #2209 with better implementation.
Changes:
proxy
,session
andtimeout
in functionsyf.set_config
proxy
session
timout
url
language
region
yf.set_config