Skip to content

Add support for Collection[X] | Y (for some collection types)#745

Open
jhominal wants to merge 1 commit intopython-attrs:mainfrom
jhominal:dispatch-single-collection
Open

Add support for Collection[X] | Y (for some collection types)#745
jhominal wants to merge 1 commit intopython-attrs:mainfrom
jhominal:dispatch-single-collection

Conversation

@jhominal
Copy link
Copy Markdown

fixes #743

As discussed in the issue, here is the PR.

Compared to my last comment on the issue:

I must admit, I was not too inspired for tests, there are probably more tests that could be added. The PR is also missing documentation.

@jhominal jhominal marked this pull request as ready for review April 13, 2026 20:05
@Tinche
Copy link
Copy Markdown
Member

Tinche commented Apr 14, 2026

Just letting you know this is on my radar, I'm feeling under the weather this week so it might have to wait a little

@jhominal
Copy link
Copy Markdown
Author

Thank you for commenting about your status!

Do not worry about it - there is really nothing on the line here except a possible improvement to users of cattrs.

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.

Implement a strategy to resolve natively Sequence[X] | Y

2 participants