API Reference schema_generator v0.5.0
Mix Tasks
Task for running a generator to write query functions. All query functions are designed to be composable,
as in a query is required as the first argument. The task takes command line options to control
generating functions to only what is necessary. If a function already exists with the same name
as a generated function, it will be skipped. The exception for this is if a sort function is marked as
one to keep, using the comment syntax # schema_generator:keep_next_function. This function will be kept,
with other sort functions generated as usual. Any of the overridden functions will be added after the
generated sort functions. This operation is not completely reversible, as it removes specs from sort functions
that are then grouped with the generated sort functions.
Task for removing query functions generated by this library.
Will remove any code or comments added between schema_gen_tag attributes, with the
exception being any function commented with # schema_generator:keep_next_function.
These will be rewritten in the space previously occupied by the generated functions.