MCPcopy Create free account
hub / github.com/a4k-openproject/script.module.openscrapers / withAttribute

Function withAttribute

lib/pyparsing.py:5875–5943  ·  view source on GitHub ↗

Helper to create a validating parse action to be used with start tags created with :class:`makeXMLTags` or :class:`makeHTMLTags`. Use ``withAttribute`` to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as `` `` or `` ``.

(*args, **attrDict)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

withClassFunction · 0.85

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected