Skip to content

Conversation

pcothenet
Copy link
Contributor

@pcothenet pcothenet commented Dec 7, 2021

What

  • Remove the preferences endpoints

Why

  • The preference mechanism is being deprecated in favor of a new mechanism (to be released)

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the library locally and made queries against it successfully?
  • Did you update the changelog?
  • Did you bump the package version?
  • For breaking changes, did you plan for the release of the new SDK versions and deploy the API to production?

# the black code formatter.
# W503 is disabled by default, but must be disabled explicitly when using `ignore`.
ignore = E501, W503, W504
ignore = E501, W503, W504, F401
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disables an error about module imported but not used that is hard to fix without changing the templates.

The python SDK is due for an overhaul soon, so not worth digging in.

Comment on lines -211 to +212
_request_timeout, (int,) if six.PY3 else (int, long)
): # noqa: E501,F821
_request_timeout, (int,) if six.PY3 else (int, int)
): # noqa: E501
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the flake8 warning (and has been updated in the template). long has been deprecated in python 3

@pcothenet pcothenet requested review from alianam and kleinjm December 8, 2021 02:05
@pcothenet pcothenet merged commit 2961b98 into main Dec 8, 2021
@pcothenet pcothenet deleted the pc/preferences branch December 8, 2021 17:57
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.

3 participants