moo.bootstrap.get_source

moo.bootstrap.get_source(filename, dataset='default')

Get the source code for a verb from a Python package.

Parameters:
  • filename (str) – The name of the file to get the source code for.

  • dataset (str) – The name of the dataset to get the source code for.

Returns:

The source code for the verb.

Return type:

str