Skip to content

Commit

Permalink
Tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehsiao committed Mar 30, 2018
1 parent 1928f6f commit 767bcfd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fonduer/snorkel/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"""
Subpackage for all built-in Snorkel data models.
After creating additional models that extend snorkel.models.meta.SnorkelBase, they must be added to the database schema.
For example, the correct way to define a new type of Context is:
After creating additional models that extend
snorkel.models.meta.Meta.SnorkelBase, they must be added to the database
schema. For example, the correct way to define a new type of Context is:
.. code-block:: python
.. code:: python
from fonduer.snorkel.models.context import Context
from sqlalchemy import Column, String, ForeignKey
Expand Down

0 comments on commit 767bcfd

Please sign in to comment.