File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- :class: `zyte_common_items.ProductNavigation `
42
42
43
+ - :class: `zyte_common_items.Serp `
44
+
43
45
Additional inputs and input annotations are also provided:
44
46
45
47
Built-in inputs
Original file line number Diff line number Diff line change 28
28
AutoProductListPage ,
29
29
AutoProductNavigationPage ,
30
30
AutoProductPage ,
31
+ AutoSerpPage ,
31
32
CustomAttributes ,
32
33
CustomAttributesMetadata ,
33
34
CustomAttributesValues ,
37
38
Product ,
38
39
ProductList ,
39
40
ProductNavigation ,
41
+ Serp ,
40
42
)
41
43
from zyte_common_items .fields import is_auto_field
42
44
60
62
ArticleNavigation : "articleNavigation" ,
61
63
JobPosting : "jobPosting" ,
62
64
JobPostingNavigation : "jobPostingNavigation" ,
65
+ Serp : "serp" ,
63
66
}
64
67
_AUTO_PAGES : Set [type ] = {
65
68
AutoArticlePage ,
70
73
AutoProductPage ,
71
74
AutoProductListPage ,
72
75
AutoProductNavigationPage ,
76
+ AutoSerpPage ,
73
77
}
74
78
75
79
@@ -93,6 +97,7 @@ class ZyteApiProvider(PageObjectInputProvider):
93
97
ProductList ,
94
98
ProductNavigation ,
95
99
Screenshot ,
100
+ Serp ,
96
101
}
97
102
98
103
def __init__ (self , * args , ** kwargs ):
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def get_version():
33
33
"andi>=0.6.0" ,
34
34
"scrapy-poet>=0.22.3" ,
35
35
"web-poet>=0.17.0" ,
36
- "zyte-common-items>=0.24 .0" ,
36
+ "zyte-common-items>=0.27 .0" ,
37
37
]
38
38
},
39
39
classifiers = [
Original file line number Diff line number Diff line change 91
91
andi ==0.6.0
92
92
scrapy-poet ==0.22.3
93
93
web-poet ==0.17.0
94
- zyte-common-items ==0.24 .0
94
+ zyte-common-items ==0.27 .0
95
95
96
96
[testenv:pinned-extra]
97
97
basepython =python3.9
You can’t perform that action at this time.
0 commit comments