wbcore 1.57.0__py2.py3-none-any.whl → 1.57.1__py2.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.
wbcore/cache/registry.py CHANGED
@@ -61,7 +61,8 @@ class CachedClass:
61
61
  for kwargs in view_kwargs:
62
62
  for request in self._get_requests(**kwargs):
63
63
  with suppress(RequiredFilterMissing):
64
- view = self.view_class(request=request, kwargs=kwargs)
64
+ view = self.view_class()
65
+ view.setup(request, **kwargs)
65
66
  request.parser_context = {"request": request, "view": view, "kwargs": kwargs}
66
67
  cache_key = view._get_cache_key()
67
68
  cache.delete(cache_key)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbcore
3
- Version: 1.57.0
3
+ Version: 1.57.1
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: boto3==1.35.*
6
6
  Requires-Dist: celery[redis]==5.*
@@ -17,7 +17,7 @@ wbcore/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  wbcore/cache/buttons.py,sha256=gyEizLHyWeWAiNxZ4fQ16pxiCy1sxfwIht928HBrOf8,970
18
18
  wbcore/cache/decorators.py,sha256=pfXnncxysUuKHFDoMX-oiPQ_eZfmi3i4qSrb0HDg3bA,1120
19
19
  wbcore/cache/mixins.py,sha256=N8lCZEHh9u_RiKhRjqBwRTw8OJTMdcydM8BfND_q8Q0,1722
20
- wbcore/cache/registry.py,sha256=7uvUkf13yDWzH5ljhEaFDARvvIaH11swYrb8Xij8eaI,3652
20
+ wbcore/cache/registry.py,sha256=wsvkFoeBSUhx9icnasrLWrDtdqdlFer2srQuxHwRojY,3672
21
21
  wbcore/cache/views.py,sha256=Ehwglwlug2Z4285BPvTE5623sCAlHrDD3np1oZkw_gc,630
22
22
  wbcore/configs/__init__.py,sha256=nCj33UcDo_vtzA8o-MA2R4Uqrd3wFoRcyRKhMS8kiEM,259
23
23
  wbcore/configs/configs.py,sha256=Jdh8ataXCoBcm3p4QtOP2rf6-df4Wn8ak2xJ_TWJb80,2053
@@ -1230,6 +1230,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
1230
1230
  wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
1231
1231
  wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
1232
1232
  wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
1233
- wbcore-1.57.0.dist-info/METADATA,sha256=S2Im_-ZfGaGiK-1IaNBNvJUXbQuMDoR0jGNSOc7UDgQ,2332
1234
- wbcore-1.57.0.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
1235
- wbcore-1.57.0.dist-info/RECORD,,
1233
+ wbcore-1.57.1.dist-info/METADATA,sha256=Jg__1RGkPViuZeEigvawy6OW0oQ2M63hV12DfUBfYCE,2332
1234
+ wbcore-1.57.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
1235
+ wbcore-1.57.1.dist-info/RECORD,,