code: def created(self, instance, commit=True):
          
          if commit:
              self.session_manager.save(instance, commit=True)
          return instance, HTTPStatus.CREATED
docs: Convenience method for saving a model (automatically commits it to
          the database and returns the object with an HTTP 201 status code)