You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the client selection logic in Client.__new__ right? If I'm reading it correctly, the new client is chosen if ":" appears in the token, otherwise the legacy client is chosen. Should this be reversed?
The text was updated successfully, but these errors were encountered:
I arrived at the same conclusion after some inexplicable errors and subsequent debugging.
Only the old CDS/ADS keys contain a :, the newer ones don't, so that's when the new Client() should be created, but instead the logic is reversed and the legacy client is chosen:
The key for the now legacy CDS API takes the form
{uid}:{api-key}
. The new Beta CDS API no longer contains the{uid}:
prefix. This new convention is reaffirmed here.Is the client selection logic in
Client.__new__
right? If I'm reading it correctly, the new client is chosen if":"
appears in the token, otherwise the legacy client is chosen. Should this be reversed?The text was updated successfully, but these errors were encountered: