Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by loading the page file. In the same goal, move the import of parsers in the class definition.
This commit is contained in:
parent
f7cd0abc3b
commit
76cb004eb4
33 changed files with 305 additions and 265 deletions
|
|
@ -23,7 +23,8 @@ from io import StringIO
|
|||
import lxml.html as html
|
||||
import urllib
|
||||
|
||||
from weboob.tools.browser2.page import HTMLPage, JsonPage, method, ListElement, ItemElement, FormNotFound, pagination
|
||||
from weboob.tools.browser2.page import HTMLPage, JsonPage, method, FormNotFound, pagination
|
||||
from weboob.tools.browser2.elements import ListElement, ItemElement
|
||||
from weboob.tools.browser2.filters import CleanText, Format, Link, Regexp, Env, DateTime, Attr, Filter
|
||||
from weboob.capabilities.messages import Thread, Message
|
||||
from weboob.capabilities.base import BaseObject
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue