May-19-2021, 03:05 PM
(May-19-2021, 02:55 PM)Gribouillis Wrote: You could import pricing prior to item_pricing in init.py
# pricing/__init__.py from .pricing import Pricing from .item_pricing import ItemPricingthen in the item_pricing.py file
# pricing/item_pricing.py from . import Pricing class ItemPricing(Pricing): ....I cannot answer about TYPE_CHECKING because I don't use it. The very word looks antipythonic to me.
Id tried and it works. Why does this work though?