pomcorn 0.8.2__tar.gz → 0.8.3__tar.gz

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.

@@ -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
@@ -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
  [tool.poetry]
2
2
  name = "pomcorn"
3
- version = "0.8.2"
3
+ version = "0.8.3"
4
4
  description = "Base implementation of Page Object Model"
5
5
  authors = [
6
6
  "Saritasa <pypi@saritasa.com>",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes