Thanks to visit codestin.com
Credit goes to github.com

Skip to content

plugin.api.validate: fix pattern input type#4708

Merged
gravyboat merged 1 commit into
streamlink:masterfrom
bastimeyer:plugin/api/validate/fix-pattern-input-type
Aug 5, 2022
Merged

plugin.api.validate: fix pattern input type#4708
gravyboat merged 1 commit into
streamlink:masterfrom
bastimeyer:plugin/api/validate/fix-pattern-input-type

Conversation

@bastimeyer

Copy link
Copy Markdown
Member

See #4702 (comment)

re.Pattern validations should accept any kind of subclass instances of str or bytes, like xml.etree._ElementUnicodeResult for example, which is the result of XPath queries when returning an element attribute value, text or tail.

@bastimeyer bastimeyer force-pushed the plugin/api/validate/fix-pattern-input-type branch from ea36050 to 531a255 Compare August 5, 2022 07:13
@gravyboat gravyboat merged commit 49fa080 into streamlink:master Aug 5, 2022
@bastimeyer bastimeyer deleted the plugin/api/validate/fix-pattern-input-type branch August 5, 2022 19:43
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants