def get_or_create(self, **kwargs):

        model = self.get(**kwargs)

        is_created = False

        if model is None:
            is_created = True
            model = self._model_class()

            for key, value in kwargs.items():
                setattr(model, key, value)

        return model, is_created
Test if it get current hardware clock setting (UTC or localtime)
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/orm/models.py/CollectionModelManager.get_or_create--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_timezone_test.py/WinTimezoneTestCase.test_get_hwclock