Why is declaring the variables inside a function much slower (too slow for jupyter notebook)

I have the following function, it combines multiple functions but this is the “final function” boek = set() vol_boek = set(np.arange(10)) def tellen(): aantal_keren = 0 while boek != vol_boek: plakken() aantal_keren += 1 print(f”Er waren {aantal_keren} pakjes nodig om het boek te vullen.”) This works fine, “boek” and “vol_boek” are declared outside of “tellen()”…

Details

Set pager default value in product form in adminhtml

I need to set some very high value as default in pager in product grid in adminhtml. Or to disable it whatsoever. Here’s excerpt from my product_listing.xml <listingToolbar name=”listing_top”> <paging name=”listing_paging”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”sizesConfig” xsi:type=”array”> <item name=”value” xsi:type=”string”>66</item> <item name=”options” xsi:type=”array”> <item name=”66″ xsi:type=”array”> <item name=”value” xsi:type=”string”>66</item> <item name=”label” xsi:type=”string”>66</item>…

Details