pomcorn 0.8.2__py3-none-any.whl → 0.8.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pomcorn might be problematic. Click here for more details.

pomcorn/component.py CHANGED
@@ -225,7 +225,7 @@ class ListComponent(Generic[ListItemType, TPage], Component[TPage]):
225
225
 
226
226
  """
227
227
  list_cls = super().__class_getitem__(item) # type: ignore
228
- cls.__parameters__ = item # type: ignore
228
+ cls.__generic_parameters__ = item # type: ignore
229
229
  return list_cls
230
230
 
231
231
  def __init__(
@@ -240,7 +240,7 @@ class ListComponent(Generic[ListItemType, TPage], Component[TPage]):
240
240
  if isinstance(self._item_class, _EmptyValue):
241
241
  # In this way we check the stored generic parameters and, if first
242
242
  # from them is valid, set it as `_item_class`
243
- first_generic_param = self.__parameters__[0]
243
+ first_generic_param = self.__generic_parameters__[0]
244
244
  if self.is_valid_item_class(first_generic_param):
245
245
  self._item_class = first_generic_param
246
246
  super().__init__(page, base_locator, wait_until_visible)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pomcorn
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Base implementation of Page Object Model
5
5
  Home-page: https://pypi.org/project/pomcorn/
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  pomcorn/__init__.py,sha256=V8v_V3wgKbao1KAQkcVTMnpGwyslw0nHfuTp-DwWTXg,318
2
- pomcorn/component.py,sha256=Z0WAcHjWDj67YpQeuU66zrjexmcYLuFStgTPzUqcy9Y,12078
2
+ pomcorn/component.py,sha256=vdt7sEmQodlVUTRDeAcqeGa37MpDwCZSv8TYHQycAgs,12094
3
3
  pomcorn/descriptors/__init__.py,sha256=5q_d5GtcaFlIIyHdsUnE9UNbz3g40qJCHKNaWGvcC6s,72
4
4
  pomcorn/descriptors/element.py,sha256=4g_4ay5f00AXzCT4xHN1i7mTrlsECoUHh1Ph_TFPBDs,4502
5
5
  pomcorn/element.py,sha256=6VLLSPlc7961qa4rRXdno7cEAAeY8GEP2d4wtM5R9a0,12216
@@ -11,7 +11,7 @@ pomcorn/page.py,sha256=wuLoGUn1n0e7wSXLGYyUVnoPlz_gMfT8Jtg6yA09IeY,5755
11
11
  pomcorn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  pomcorn/waits_conditions.py,sha256=E8sLfBvIV2EO91Mm5KyKXB5IGEB9gUWza3XPE4_aCQE,3528
13
13
  pomcorn/web_view.py,sha256=PlwEVgdOwFZXJY2WuUT2C2wyK1xOBJne5-A_FOuwsQI,14209
14
- pomcorn-0.8.2.dist-info/LICENSE,sha256=1vmhQNp1dDH8ksJ199LuG4oKz5D4ZvNccPcFckiG2S4,1091
15
- pomcorn-0.8.2.dist-info/METADATA,sha256=ZiCtGGbvbQuzLFzxbdLXtqCN6VReZ8lTc2QXOtzosV4,5973
16
- pomcorn-0.8.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
- pomcorn-0.8.2.dist-info/RECORD,,
14
+ pomcorn-0.8.3.dist-info/LICENSE,sha256=1vmhQNp1dDH8ksJ199LuG4oKz5D4ZvNccPcFckiG2S4,1091
15
+ pomcorn-0.8.3.dist-info/METADATA,sha256=jwKTfVeunUJii4W2AS8BWLXrqwCnD-y0GCEe4XJgmpc,5973
16
+ pomcorn-0.8.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
+ pomcorn-0.8.3.dist-info/RECORD,,