MCPcopy
hub / github.com/psf/requests-html / pq

Method pq

requests_html.py:144–151  ·  view source on GitHub ↗

`PyQuery `_ representation of the :class:`Element ` or :class:`HTML `.

(self)

Source from the content-addressed store, hash-verified

142
143 @property
144 def pq(self) -> PyQuery:
145 """`PyQuery <https://pythonhosted.org/pyquery/>`_ representation
146 of the :class:`Element <Element>` or :class:`HTML <HTML>`.
147 """
148 if self._pq is None:
149 self._pq = PyQuery(self.lxml)
150
151 return self._pq
152
153 @property
154 def lxml(self) -> HtmlElement:

Callers 1

findMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected