def create_user(self, user, numeric_id=None):
        '''Creates a user. user is a User instance.
        Params:
            user: user Object
            numeric_id: if specified, the numeric_id will be setted. Otherwise
                        it will be calculated due the user counter'''

        if not numeric_id:
            numeric_id = self.generate_user_id()

        user.numeric_id = numeric_id

        id_or_error = self.create(user, GenericServerStore.USER_ST, enable_update_if_current=True)
        if user.ID != id_or_error:
            raise BiiStoreException((id_or_error, user.ID) % 'Error (%s) creating user %s')

        # Create user subscription
        user_subscription = UserSubscription(user.ID)
        user_subscription.plan_id = FREE_PLAN_ID
        self.create(user_subscription, GenericServerStore.USER_SUBSCRIPTION_ST)
dataset/ETHPy150Open biicode/bii-server/store/generic_server_store.py/GenericServerStore.create_user/swapped operands of `%`