diff --git a/snorkel/models/candidate.py b/snorkel/models/candidate.py index 768f2beb6..5c82fa3cd 100644 --- a/snorkel/models/candidate.py +++ b/snorkel/models/candidate.py @@ -92,7 +92,7 @@ def candidate_subclass(class_name, args, table_name=None): Creates the table in DB if does not exist yet. Import using - .. code-block: + .. code-block:: from snorkel.models import candidate_subclass :param class_name: The name of the class, should be "camel case" e.g. NewCandidateClass