@property
    def primary_address(self):
        addresses = self.addresses.all()
        if len(addresses) == 0:  # intentionally using len() to save queries
            return None
        elif len(addresses) == 1:
            return addresses[0]
        else:
            raise NotImplementedError(
                "Oscar's default implementation of primary_address only "
                "supports one PartnerAddress.  You need to override the "
                "primary_address to look up the right address")
Create Tmux window and panes from configuration
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/partner/abstract_models.py/AbstractPartner.primary_address--crossover with--dataset/ETHPy150Open rafi/mx/src/mx/workspace.py/Workspace.create_window