Utilities

Helper functions for bright API generation.

bright.apigen.utils.expand_default_args(methods)

This function takes a collection of method tuples and expands all of the default arguments, returning a set of all methods possible.

bright.apigen.utils.indent(s, n=4, join=True)

Indents all lines in the string or list s by n spaces.

Previous topic

API Generation CLI

This Page