Skip to content

Conversation

@AstreaTSS
Copy link
Member

About

This pull request fixes the type hints of objects that use deepcopy_kwargs. It seems like the type hints were incorrect, so with a bit of overloading, the two actual ways deepcopy_kwargs can be used have been represented.

This fixes issues with Embed's typehintings.

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue.
    • (If existent):
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@EepyElvyra EepyElvyra enabled auto-merge (squash) July 6, 2022 16:43
@EepyElvyra EepyElvyra merged commit d7a3d47 into interactions-py:unstable Jul 6, 2022
@AstreaTSS AstreaTSS deleted the deepcopy-typehint-fix branch July 11, 2022 02:38
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.

2 participants