Skip to content

Commit

Permalink
add postBuild for binder
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed Jun 15, 2021
1 parent 26fa638 commit 8846bd7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions authorityspoke/io/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ def read_anchored_holdings_from_file(
r"""
Read holdings from file, with Opinion text anchors for holdings and factors.
This function can accept a file containing :class:`.authorityspoke.holdings.Holding`
summaries in the YAML format
that may contain abbreviations and expandable named entities.
In the example below, a :class:`~authorityspoke.io.fake_enactments.FakeClient` is used to
add fields to :class:`~legislice.enactments.Enactment`\s in the Holding
objects, to avoid using the network or making API calls. The
real :class:`~authorityspoke.io.downloads.LegisClient` class
would also have worked (with an appropriate API key).
This function can accept a file containing :class:`.authorityspoke.holdings.Holding`
summaries in the YAML format
that may contain abbreviations and expandable named entities.
In the example below, a :class:`~authorityspoke.io.fake_enactments.FakeClient` is used to
add fields to :class:`~legislice.enactments.Enactment`\s in the Holding
objects, to avoid using the network or making API calls. The
real :class:`~authorityspoke.io.downloads.LegisClient` class
would also have worked (with an appropriate API key).
>>> from authorityspoke.io.fake_enactments import FakeClient
>>> fake_client = FakeClient.from_file("usc.json")
Expand Down

0 comments on commit 8846bd7

Please sign in to comment.