Clean up #605
Conversation
|
@ale-rt thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment: To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
|
@jenkins-plone-org please run jobs |
ff54ae7 to
7f3ce38
Compare
7f3ce38 to
62f3fc7
Compare
|
@jenkins-plone-org please run jobs |
|
|
||
| roles = set(roles) | ||
| if not isinstance(roles, (list, tuple)): | ||
| raise InvalidParameterError("Roles must be a list or a tuple of strings") |
There was a problem hiding this comment.
Why can't it be any iterable?
There was a problem hiding this comment.
Most probably to please mypy. I will fix that.
There was a problem hiding this comment.
I ended up wrapping that in a try except.
|
@jenkins-plone-org please run jobs |
Backport some clean up from #592
📚 Documentation preview 📚: https://ploneapi--605.org.readthedocs.build/