Skip to content

Document pickling requirements for custom adapters#7333

Open
monsonego wants to merge 1 commit intopsf:mainfrom
monsonego:docs/adapter-pickling-note
Open

Document pickling requirements for custom adapters#7333
monsonego wants to merge 1 commit intopsf:mainfrom
monsonego:docs/adapter-pickling-note

Conversation

@monsonego
Copy link
Copy Markdown

Summary

  • update the transport adapter example to store custom state on the adapter instance
  • document that custom HTTPAdapter subclasses should extend attrs when they add instance attributes so copying and pickling preserve that state

Testing

  • python -m sphinx -b dummy docs docs\_build\dummy

Closes #6255

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