Skip to content

Document pickling custom transport adapters#7499

Open
wayyoungboy wants to merge 1 commit into
psf:mainfrom
wayyoungboy:docs-adapter-pickling-6255
Open

Document pickling custom transport adapters#7499
wayyoungboy wants to merge 1 commit into
psf:mainfrom
wayyoungboy:docs-adapter-pickling-6255

Conversation

@wayyoungboy

Copy link
Copy Markdown

Fixes #6255.

Summary

  • document that custom Transport Adapters with extra instance state should extend HTTPAdapter.__attrs__
  • update the SSL adapter example to store ssl_version as pickled adapter state

Tests

  • Python assertion check for the new docs text and example syntax
  • git diff --check -- docs/user/advanced.rst

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.

Mention pickling in the docs for creating custom Transport Adapters

1 participant