Skip to content

Commit

Permalink
remove load_and_read_decision from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed Jul 24, 2021
1 parent 4213881 commit 1beafff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/create_holding_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Next, we can download the judicial decisions we’re going to compare.
Then we convert the JSON responses from the API
into :class:`authorityspoke.opinions.Opinion` objects.

>>> from authorityspoke.io.readers import read_decision
>>> from authorityspoke import Decision
>>> oracle = Decision(**oracle_download).majority
>>> lotus = Decision(**lotus_download).majority

Expand Down
3 changes: 2 additions & 1 deletion docs/guides/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,8 @@ Adding Holdings to One Another
To try out the addition operation, let’s load another case from the
``example_data`` folder.

>>> feist = load_and_read_decision("feist_h.json")
>>> feist_as_dict = load_decision("feist_h.json")
>>> feist = Decision(**feist_as_dict)
>>> feist.posit(read_anchored_holdings_from_file("holding_feist.json", client=legis_client))


Expand Down

0 comments on commit 1beafff

Please sign in to comment.