This will work for any model that you hook it up to, you just need to define the types in your service schema.
As it’s inspecting the metadata that graphql carries with each query to figure out which fields correspond to what type to construct the mutations (and the types have to be the same as those in the model in Q) because it assumes the boilerplate will look like:
def create_mutation_singular(type):