ds-caselaw-marklogic-api-client 44.0.3__py3-none-any.whl → 44.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- caselawclient/Client.py +14 -1
- caselawclient/models/documents/body.py +4 -6
- caselawclient/models/documents/stub.py +50 -0
- caselawclient/models/documents/templates/judgment.xml +67 -0
- caselawclient/models/documents/templates/original.xml +68 -0
- caselawclient/models/documents/transforms/html.xsl +1 -1
- caselawclient/models/utilities/aws.py +7 -0
- caselawclient/types.py +42 -0
- caselawclient/xquery/get_locked_documents.xqy +10 -0
- caselawclient/xquery/get_pending_parse_for_version_count.xqy +1 -0
- caselawclient/xquery/get_pending_parse_for_version_documents.xqy +1 -0
- caselawclient/xquery/set_metadata_jurisdiction.xqy +1 -1
- {ds_caselaw_marklogic_api_client-44.0.3.dist-info → ds_caselaw_marklogic_api_client-44.4.0.dist-info}/METADATA +2 -2
- {ds_caselaw_marklogic_api_client-44.0.3.dist-info → ds_caselaw_marklogic_api_client-44.4.0.dist-info}/RECORD +16 -12
- {ds_caselaw_marklogic_api_client-44.0.3.dist-info → ds_caselaw_marklogic_api_client-44.4.0.dist-info}/LICENSE.md +0 -0
- {ds_caselaw_marklogic_api_client-44.0.3.dist-info → ds_caselaw_marklogic_api_client-44.4.0.dist-info}/WHEEL +0 -0
caselawclient/Client.py
CHANGED
|
@@ -32,7 +32,7 @@ from caselawclient.models.judgments import Judgment
|
|
|
32
32
|
from caselawclient.models.press_summaries import PressSummary
|
|
33
33
|
from caselawclient.models.utilities import move
|
|
34
34
|
from caselawclient.search_parameters import SearchParameters
|
|
35
|
-
from caselawclient.types import DocumentIdentifierSlug, DocumentIdentifierValue, DocumentURIString
|
|
35
|
+
from caselawclient.types import DocumentIdentifierSlug, DocumentIdentifierValue, DocumentLock, DocumentURIString
|
|
36
36
|
from caselawclient.xquery_type_dicts import (
|
|
37
37
|
CheckContentHashUniqueByUriDict,
|
|
38
38
|
MarkLogicDocumentURIString,
|
|
@@ -1279,6 +1279,19 @@ class MarklogicApiClient:
|
|
|
1279
1279
|
|
|
1280
1280
|
return results
|
|
1281
1281
|
|
|
1282
|
+
def get_locked_documents(
|
|
1283
|
+
self,
|
|
1284
|
+
) -> list[DocumentLock]:
|
|
1285
|
+
"""Retrieve all currently locked documents."""
|
|
1286
|
+
results = [
|
|
1287
|
+
DocumentLock.from_string(lock)
|
|
1288
|
+
for lock in get_multipart_strings_from_marklogic_response(
|
|
1289
|
+
self._send_to_eval({}, "get_locked_documents.xqy")
|
|
1290
|
+
)
|
|
1291
|
+
]
|
|
1292
|
+
|
|
1293
|
+
return sorted(results, key=lambda lock: lock.timestamp)
|
|
1294
|
+
|
|
1282
1295
|
def get_missing_fclid(
|
|
1283
1296
|
self,
|
|
1284
1297
|
maximum_records: int = 50,
|
|
@@ -11,14 +11,10 @@ from saxonche import PySaxonProcessor
|
|
|
11
11
|
|
|
12
12
|
from caselawclient.models.utilities.dates import parse_string_date_as_utc
|
|
13
13
|
from caselawclient.types import DocumentCategory
|
|
14
|
+
from caselawclient.xml_helpers import DEFAULT_NAMESPACES
|
|
14
15
|
|
|
15
16
|
from .xml import XML
|
|
16
17
|
|
|
17
|
-
DEFAULT_NAMESPACES = {
|
|
18
|
-
"uk": "https://caselaw.nationalarchives.gov.uk/akn",
|
|
19
|
-
"akn": "http://docs.oasis-open.org/legaldocml/ns/akn/3.0",
|
|
20
|
-
}
|
|
21
|
-
|
|
22
18
|
|
|
23
19
|
class UnparsableDate(Warning):
|
|
24
20
|
pass
|
|
@@ -176,9 +172,11 @@ class DocumentBody:
|
|
|
176
172
|
@cached_property
|
|
177
173
|
def has_content(self) -> bool:
|
|
178
174
|
"""If we do not have a word document, the XML will not contain
|
|
179
|
-
the contents of the judgment, but will
|
|
175
|
+
the contents of the judgment, but will have content in the header if a judgment.
|
|
176
|
+
All press summaries (which have <doc> not <judgment> tags) are assumed to have content"""
|
|
180
177
|
return bool(
|
|
181
178
|
self._xml.xml_as_tree.xpath("//akn:header[normalize-space(string(.))]", namespaces=DEFAULT_NAMESPACES)
|
|
179
|
+
or self._xml.xml_as_tree.xpath("//akn:doc", namespaces=DEFAULT_NAMESPACES)
|
|
182
180
|
)
|
|
183
181
|
|
|
184
182
|
@cached_property
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
from typing import Literal
|
|
3
|
+
|
|
4
|
+
from ds_caselaw_utils.courts import courts
|
|
5
|
+
from ds_caselaw_utils.types import CourtCode
|
|
6
|
+
from jinja2 import StrictUndefined, Template
|
|
7
|
+
from typing_extensions import TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PartyData(TypedDict):
|
|
11
|
+
role: Literal["Claimant", "Respondent", "Appellant", "Defendant"]
|
|
12
|
+
name: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class EditorStubData(TypedDict):
|
|
16
|
+
decision_date: str # day precision
|
|
17
|
+
transform_datetime: str # second precision
|
|
18
|
+
court_code: str
|
|
19
|
+
title: str
|
|
20
|
+
year: str
|
|
21
|
+
case_numbers: list[str] # can be none
|
|
22
|
+
parties: list[PartyData] # (type (claimant|defendant), name)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class RendererStubData(EditorStubData):
|
|
26
|
+
court_url: str # should be populated from utils/courts.cs
|
|
27
|
+
court_full_name: str # ditto
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def add_other_stub_fields(editor_data: EditorStubData) -> RendererStubData:
|
|
31
|
+
court = courts.get_court_by_code(CourtCode(editor_data["court_code"].upper()))
|
|
32
|
+
return {
|
|
33
|
+
**editor_data,
|
|
34
|
+
"court_url": court.identifier_iri,
|
|
35
|
+
"court_full_name": court.long_name,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def render_stub_xml(editor_data: EditorStubData) -> bytes:
|
|
40
|
+
render_data = add_other_stub_fields(editor_data)
|
|
41
|
+
from caselawclient.Client import ROOT_DIR
|
|
42
|
+
|
|
43
|
+
judgment_path = Path(ROOT_DIR) / "models" / "documents" / "templates" / "judgment.xml"
|
|
44
|
+
|
|
45
|
+
with (judgment_path).open("r") as f:
|
|
46
|
+
template = f.read()
|
|
47
|
+
|
|
48
|
+
rendered = bytes(Template(template, undefined=StrictUndefined).render(render_data).encode("utf-8"))
|
|
49
|
+
|
|
50
|
+
return rendered
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<akomaNtoso xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:uk="https://caselaw.nationalarchives.gov.uk/akn">
|
|
3
|
+
<judgment name="decision">
|
|
4
|
+
<meta>
|
|
5
|
+
<identification source="#tna">
|
|
6
|
+
<FRBRWork>
|
|
7
|
+
<FRBRthis value="" />
|
|
8
|
+
<FRBRuri value="" />
|
|
9
|
+
<FRBRdate date="{{decision_date}}" name="decision" />
|
|
10
|
+
<FRBRauthor href="#{{court_code.lower()}}" />
|
|
11
|
+
<FRBRcountry value="GB-UKM" />
|
|
12
|
+
<FRBRname value="{{title}}" />
|
|
13
|
+
</FRBRWork>
|
|
14
|
+
<FRBRExpression>
|
|
15
|
+
<FRBRthis value="" />
|
|
16
|
+
<FRBRuri value="" />
|
|
17
|
+
<FRBRdate date="{{decision_date}}" name="decision" />
|
|
18
|
+
<FRBRauthor href="#{{court_code.lower()}}" />
|
|
19
|
+
<FRBRlanguage language="eng" />
|
|
20
|
+
</FRBRExpression>
|
|
21
|
+
<FRBRManifestation>
|
|
22
|
+
<FRBRthis value="" />
|
|
23
|
+
<FRBRuri value="" />
|
|
24
|
+
<FRBRdate date="{{transform_datetime}}" name="transform" />
|
|
25
|
+
<FRBRauthor href="#tna" />
|
|
26
|
+
<FRBRformat value="application/xml" />
|
|
27
|
+
</FRBRManifestation>
|
|
28
|
+
</identification>
|
|
29
|
+
<lifecycle source="#">
|
|
30
|
+
<eventRef date="{{decision_date}}" refersTo="#decision" source="#" />
|
|
31
|
+
</lifecycle>
|
|
32
|
+
<references source="#tna">
|
|
33
|
+
<TLCOrganization
|
|
34
|
+
eId="tna"
|
|
35
|
+
href="https://www.nationalarchives.gov.uk/"
|
|
36
|
+
showAs="The National Archives"
|
|
37
|
+
/>
|
|
38
|
+
<TLCOrganization
|
|
39
|
+
eId="{{court_code.lower()}}"
|
|
40
|
+
href="{{court_url}}"
|
|
41
|
+
showAs="{{court_full_name}}"
|
|
42
|
+
/>
|
|
43
|
+
<TLCEvent eId="decision" href="#" showAs="decision" />
|
|
44
|
+
</references>
|
|
45
|
+
<proprietary
|
|
46
|
+
xmlns:uk="https://caselaw.nationalarchives.gov.uk/akn"
|
|
47
|
+
source="#"
|
|
48
|
+
>
|
|
49
|
+
<uk:court>{{court_code.upper()}}</uk:court>
|
|
50
|
+
<uk:year>{{year}}</uk:year>
|
|
51
|
+
{% for case_number in case_numbers %}
|
|
52
|
+
<uk:caseNumber>{{case_number}}</uk:caseNumber>
|
|
53
|
+
{% endfor %}
|
|
54
|
+
{% for party in parties %}
|
|
55
|
+
<uk:party role="{{party.role}}">{{party.name}}</uk:party>
|
|
56
|
+
{% endfor %}
|
|
57
|
+
<uk:sourceFormat>application/pdf</uk:sourceFormat>
|
|
58
|
+
</proprietary>
|
|
59
|
+
</meta>
|
|
60
|
+
<header />
|
|
61
|
+
<judgmentBody>
|
|
62
|
+
<decision>
|
|
63
|
+
<p />
|
|
64
|
+
</decision>
|
|
65
|
+
</judgmentBody>
|
|
66
|
+
</judgment>
|
|
67
|
+
</akomaNtoso>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!-- from https://github.com/nationalarchives/tna-judgments-parser/blob/main/test/backlog/expected-output/Money%20Worries%20Ltd%20v%20Office%20of%20Fair%20Trading.xml -->
|
|
3
|
+
<!-- generated by github.com/nationalarchives/tna-judgments-parser/blob/main/backlog/src/Stub.cs -->
|
|
4
|
+
<!-- we assume there are no press-releases for these documents -->
|
|
5
|
+
<akomaNtoso xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0">
|
|
6
|
+
<judgment name="decision">
|
|
7
|
+
<meta>
|
|
8
|
+
<identification source="#tna">
|
|
9
|
+
<FRBRWork>
|
|
10
|
+
<FRBRthis value="" />
|
|
11
|
+
<FRBRuri value="" />
|
|
12
|
+
<FRBRdate date="2013-01-18" name="decision" />
|
|
13
|
+
<FRBRauthor href="#ukftt-grc" />
|
|
14
|
+
<FRBRcountry value="GB-UKM" />
|
|
15
|
+
<FRBRname value="Money Worries Ltd v Office of Fair Trading" />
|
|
16
|
+
</FRBRWork>
|
|
17
|
+
<FRBRExpression>
|
|
18
|
+
<FRBRthis value="" />
|
|
19
|
+
<FRBRuri value="" />
|
|
20
|
+
<FRBRdate date="2013-01-18" name="decision" />
|
|
21
|
+
<FRBRauthor href="#ukftt-grc" />
|
|
22
|
+
<FRBRlanguage language="eng" />
|
|
23
|
+
</FRBRExpression>
|
|
24
|
+
<FRBRManifestation>
|
|
25
|
+
<FRBRthis value="" />
|
|
26
|
+
<FRBRuri value="" />
|
|
27
|
+
<FRBRdate date="2025-07-29T12:47:42" name="transform" />
|
|
28
|
+
<FRBRauthor href="#tna" />
|
|
29
|
+
<FRBRformat value="application/xml" />
|
|
30
|
+
</FRBRManifestation>
|
|
31
|
+
</identification>
|
|
32
|
+
<lifecycle source="#">
|
|
33
|
+
<eventRef date="2013-01-18" refersTo="#decision" source="#" />
|
|
34
|
+
</lifecycle>
|
|
35
|
+
<references source="#tna">
|
|
36
|
+
<TLCOrganization
|
|
37
|
+
eId="tna"
|
|
38
|
+
href="https://www.nationalarchives.gov.uk/"
|
|
39
|
+
showAs="The National Archives"
|
|
40
|
+
/>
|
|
41
|
+
<TLCOrganization
|
|
42
|
+
eId="ukftt-grc"
|
|
43
|
+
href="https://www.gov.uk/courts-tribunals/first-tier-tribunal-general-regulatory-chamber"
|
|
44
|
+
showAs="United Kingdom First-tier Tribunal (General Regulatory Chamber)"
|
|
45
|
+
/>
|
|
46
|
+
<TLCEvent eId="decision" href="#" showAs="decision" />
|
|
47
|
+
</references>
|
|
48
|
+
<proprietary
|
|
49
|
+
xmlns:uk="https://caselaw.nationalarchives.gov.uk/akn"
|
|
50
|
+
source="#"
|
|
51
|
+
>
|
|
52
|
+
<uk:court>UKFTT-GRC</uk:court>
|
|
53
|
+
<uk:year>2013</uk:year>
|
|
54
|
+
<uk:caseNumber>CCA/2012/0008</uk:caseNumber>
|
|
55
|
+
<uk:party role="Claimant">Money Worries Ltd</uk:party>
|
|
56
|
+
<uk:party role="Respondent">Office of Fair Trading</uk:party>
|
|
57
|
+
<uk:sourceFormat>application/pdf</uk:sourceFormat>
|
|
58
|
+
<uk:parser>0.27.1</uk:parser>
|
|
59
|
+
</proprietary>
|
|
60
|
+
</meta>
|
|
61
|
+
<header />
|
|
62
|
+
<judgmentBody>
|
|
63
|
+
<decision>
|
|
64
|
+
<p />
|
|
65
|
+
</decision>
|
|
66
|
+
</judgmentBody>
|
|
67
|
+
</judgment>
|
|
68
|
+
</akomaNtoso>
|
|
@@ -208,6 +208,13 @@ def announce_document_event(uri: DocumentURIString, status: str, enrich: bool =
|
|
|
208
208
|
)
|
|
209
209
|
|
|
210
210
|
|
|
211
|
+
def upload_asset_to_private_bucket(body: bytes, s3_key: str) -> None:
|
|
212
|
+
"""Upload an asset to the private bucket."""
|
|
213
|
+
bucket: str = env("PRIVATE_ASSET_BUCKET")
|
|
214
|
+
s3client = create_s3_client()
|
|
215
|
+
s3client.put_object(Body=body, Bucket=bucket, Key=s3_key, Tagging="pdfsource=custom-pdfs")
|
|
216
|
+
|
|
217
|
+
|
|
211
218
|
def copy_assets(old_uri: DocumentURIString, new_uri: DocumentURIString) -> None:
|
|
212
219
|
"""
|
|
213
220
|
Copy *unpublished* assets from one path to another,
|
caselawclient/types.py
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
from dataclasses import dataclass, field
|
|
2
|
+
from datetime import UTC, datetime
|
|
3
|
+
|
|
4
|
+
from lxml import etree
|
|
2
5
|
|
|
3
6
|
|
|
4
7
|
@dataclass
|
|
@@ -106,3 +109,42 @@ def SuccessTuple() -> SuccessFailureMessageTuple:
|
|
|
106
109
|
def FailureTuple(message: str | list[str]) -> SuccessFailureMessageTuple:
|
|
107
110
|
messages = message if isinstance(message, list) else [message]
|
|
108
111
|
return SuccessFailureMessageTuple(success=False, messages=messages)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
@dataclass
|
|
115
|
+
class DocumentLock:
|
|
116
|
+
document_uri: DocumentURIString
|
|
117
|
+
owner: str
|
|
118
|
+
timestamp: datetime
|
|
119
|
+
timeout: int
|
|
120
|
+
|
|
121
|
+
NAMESPACES = {
|
|
122
|
+
"lock": "http://marklogic.com/xdmp/lock",
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@classmethod
|
|
126
|
+
def from_string(cls, xml_string: str) -> "DocumentLock":
|
|
127
|
+
root = etree.fromstring(xml_string.encode("utf-8"))
|
|
128
|
+
|
|
129
|
+
return cls(
|
|
130
|
+
document_uri=MarkLogicDocumentURIString(root.xpath("/lock/document/text()")[0]).as_document_uri(),
|
|
131
|
+
owner=root.xpath(
|
|
132
|
+
"/lock/details/lock:lock/lock:active-locks/lock:active-lock/lock:owner/text()",
|
|
133
|
+
namespaces=cls.NAMESPACES,
|
|
134
|
+
)[0],
|
|
135
|
+
timestamp=datetime.fromtimestamp(
|
|
136
|
+
int(
|
|
137
|
+
root.xpath(
|
|
138
|
+
"/lock/details/lock:lock/lock:active-locks/lock:active-lock/lock:timestamp/text()",
|
|
139
|
+
namespaces=cls.NAMESPACES,
|
|
140
|
+
)[0]
|
|
141
|
+
),
|
|
142
|
+
tz=UTC,
|
|
143
|
+
),
|
|
144
|
+
timeout=int(
|
|
145
|
+
root.xpath(
|
|
146
|
+
"/lock/details/lock:lock/lock:active-locks/lock:active-lock/lock:timeout/text()",
|
|
147
|
+
namespaces=cls.NAMESPACES,
|
|
148
|
+
)[0]
|
|
149
|
+
),
|
|
150
|
+
)
|
|
@@ -15,6 +15,7 @@ xdmp:to-json(xdmp:sql(
|
|
|
15
15
|
)
|
|
16
16
|
WHERE (
|
|
17
17
|
(parser_version_string IS NULL) OR
|
|
18
|
+
(parser_major_version < @target_major_version) OR
|
|
18
19
|
(parser_major_version <= @target_major_version AND parser_minor_version < @target_minor_version)
|
|
19
20
|
)
|
|
20
21
|
AND (minutes_since_parse_request > 43200 OR minutes_since_parse_request IS NULL)",
|
|
@@ -16,6 +16,7 @@ xdmp:to-json(xdmp:sql(
|
|
|
16
16
|
)
|
|
17
17
|
WHERE (
|
|
18
18
|
(parser_version_string IS NULL) OR
|
|
19
|
+
(parser_major_version < @target_major_version) OR
|
|
19
20
|
(parser_major_version <= @target_major_version AND parser_minor_version < @target_minor_version)
|
|
20
21
|
)
|
|
21
22
|
AND (minutes_since_parse_request > 43200 OR minutes_since_parse_request IS NULL)
|
|
@@ -34,4 +34,4 @@ cts:search(doc($uri),
|
|
|
34
34
|
cts:element-query(xs:QName('uk:jurisdiction'),cts:and-query(()))))) then
|
|
35
35
|
if ($content = "") then local:delete($uri) else local:edit($uri, $content)
|
|
36
36
|
else
|
|
37
|
-
local:add($uri, $content)
|
|
37
|
+
if ($content != "") then local:add($uri, $content) else ()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ds-caselaw-marklogic-api-client
|
|
3
|
-
Version: 44.0
|
|
3
|
+
Version: 44.4.0
|
|
4
4
|
Summary: An API client for interacting with the underlying data in Find Caselaw.
|
|
5
5
|
Keywords: national archives,caselaw
|
|
6
6
|
Author: The National Archives
|
|
@@ -13,7 +13,7 @@ Requires-Dist: certifi (>=2025.11.12,<2025.12.0)
|
|
|
13
13
|
Requires-Dist: charset-normalizer (>=3.0.0,<4.0.0)
|
|
14
14
|
Requires-Dist: defusedxml (>=0.7.1,<0.8.0)
|
|
15
15
|
Requires-Dist: django-environ (>=0.12.0)
|
|
16
|
-
Requires-Dist: ds-caselaw-utils (>=2.
|
|
16
|
+
Requires-Dist: ds-caselaw-utils (>=2.10.0,<3.0.0)
|
|
17
17
|
Requires-Dist: idna (>=3.4,<4.0)
|
|
18
18
|
Requires-Dist: lxml (>=6.0.0,<7.0.0)
|
|
19
19
|
Requires-Dist: memoization (>=0.4.0,<0.5.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
caselawclient/Client.py,sha256=
|
|
1
|
+
caselawclient/Client.py,sha256=AXpVd39wNLmm8Aq98Kc2zmz49ISfimdOjTEMTBy2kAc,48571
|
|
2
2
|
caselawclient/__init__.py,sha256=QZtsOB_GR5XfFnWMJ6E9_fBany-JXFIrQmzs1mD_KVg,1225
|
|
3
3
|
caselawclient/client_helpers/__init__.py,sha256=tpXWjwBAqOf8ChtSiEeMhdkiO7tVbfZ4FfQXsXaGJlI,1221
|
|
4
4
|
caselawclient/client_helpers/search_helpers.py,sha256=R99HyRLeYHgsw2L3DOidEqlKLLvs6Tga5rKTuWQViig,1525
|
|
@@ -11,11 +11,14 @@ caselawclient/managers/merge/__init__.py,sha256=Rd6YIGifT3TP6UOf0gBrRoYzK5MJqTPe
|
|
|
11
11
|
caselawclient/managers/merge/checks.py,sha256=J9RBG6jZAKIZk27jdFq-BByoRLKWsViCfHDyA8ZM3qU,3205
|
|
12
12
|
caselawclient/models/__init__.py,sha256=kd23EUpvaC7aLHdgk8farqKAQEx3lf7RvNT2jEatvlg,68
|
|
13
13
|
caselawclient/models/documents/__init__.py,sha256=nC1CoYUDVAlAgLT4vWdqmNj3yrpoUs7C73H588_PTSA,25185
|
|
14
|
-
caselawclient/models/documents/body.py,sha256=
|
|
14
|
+
caselawclient/models/documents/body.py,sha256=od4CLZX_mz9WKpvVp1pqpTXywr1nU9QgUcFQeo3Kp_Y,8401
|
|
15
15
|
caselawclient/models/documents/comparison.py,sha256=KwFZQByOcYcZKe8csjAntttACKq4BZb28n2VeV5rK54,1355
|
|
16
16
|
caselawclient/models/documents/exceptions.py,sha256=te7PPQTDHjZ9EYVg5pVaiZfF00lMBFy333PHj8_mkC4,443
|
|
17
17
|
caselawclient/models/documents/statuses.py,sha256=Cp4dTQmJOtsU41EJcxy5dV1841pGD2PNWH0VrkDEv4Q,579
|
|
18
|
-
caselawclient/models/documents/
|
|
18
|
+
caselawclient/models/documents/stub.py,sha256=2gtShqePMnAXIug9p2FUri5emHU8veEFuP5c2uPiJhQ,1498
|
|
19
|
+
caselawclient/models/documents/templates/judgment.xml,sha256=vkcRZ2OiGpgBartCyhx92hHswLBE27LeWNqsJMUzoyU,2429
|
|
20
|
+
caselawclient/models/documents/templates/original.xml,sha256=AqnsjFhBl7nAKl-XWxe9NBfTvVkS0sfb_-rrx8IiY40,2752
|
|
21
|
+
caselawclient/models/documents/transforms/html.xsl,sha256=1j_8Jttpxr3NFnAVTTTglkc6UNXMgsVxg571v_VULlg,38273
|
|
19
22
|
caselawclient/models/documents/versions.py,sha256=fyDNKCdrTb2N0Ks23YDhmvlXKfLTHnYQCXhnZb-QQbg,3832
|
|
20
23
|
caselawclient/models/documents/xml.py,sha256=uGRULm_XcA9ABZmwTxxwwysPItQl1qnMd2pUVTZprgc,2376
|
|
21
24
|
caselawclient/models/identifiers/__init__.py,sha256=Vp5zJdJSskCuUOUwmPDiDvVlNsYmPRH350-wRx7Q8Dc,7877
|
|
@@ -30,7 +33,7 @@ caselawclient/models/neutral_citation_mixin.py,sha256=jAac3PPuWyPdj9N-n-U_Jfwkbg
|
|
|
30
33
|
caselawclient/models/parser_logs.py,sha256=iOhKTAAi87XQvxz1DHjF2lrqScD19g_c8EjSf0vPdfs,364
|
|
31
34
|
caselawclient/models/press_summaries.py,sha256=rtrYs_3BazUXxdA2oYmIJ6YIAiVlKeyc1aSF9uvkJJU,2196
|
|
32
35
|
caselawclient/models/utilities/__init__.py,sha256=LPhyrQwLKc5tIJUO8Bysn9wCiR6Z6jMMTksjOV4JH9U,1041
|
|
33
|
-
caselawclient/models/utilities/aws.py,sha256=
|
|
36
|
+
caselawclient/models/utilities/aws.py,sha256=N8liQRyk3-Pzhmj5eAXG-ncdhyZfEpQdUl3LFpd-MFs,10380
|
|
34
37
|
caselawclient/models/utilities/dates.py,sha256=WwORxVjUHM1ZFcBF6Qtwo3Cj0sATsnSECkUZ6ls1N1Q,492
|
|
35
38
|
caselawclient/models/utilities/move.py,sha256=MXdUqkSiyqRb8YKs_66B6ICWn8EWM6DiJV95fuJO1Us,3610
|
|
36
39
|
caselawclient/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -39,7 +42,7 @@ caselawclient/responses/search_response.py,sha256=Z76Zj4VvM-EV_vdiehv2-Jfkr9HZD3
|
|
|
39
42
|
caselawclient/responses/search_result.py,sha256=glcoCeo2xO-17aV2pcpyfgl0_UjjEUqHfm2kVylXCwk,9782
|
|
40
43
|
caselawclient/responses/xsl/search_match.xsl,sha256=4Sv--MrwBd7J48E9aI7jlFSXGlNi4dBqgzJ3bdMJ_ZU,1018
|
|
41
44
|
caselawclient/search_parameters.py,sha256=BQzDrfxqyZTkqgNj8Ruy-lSr_m4bYrUzUKrqCxB8GrM,3699
|
|
42
|
-
caselawclient/types.py,sha256=
|
|
45
|
+
caselawclient/types.py,sha256=vI6zSPE2tE9woSgiZ1f4HdL0NG9WLCeeqHARF7QpXVA,4937
|
|
43
46
|
caselawclient/xml_helpers.py,sha256=31cxsDu680SFi3gR35rL7EdBZaW6r6mt4zvWHjJeX9o,1131
|
|
44
47
|
caselawclient/xquery/break_judgment_checkout.xqy,sha256=rISzoBKxQKrP5ZRdCSoRqOXW8T_NDBSZRFjOXo_H3ns,220
|
|
45
48
|
caselawclient/xquery/check_content_hash_unique_by_uri.xqy,sha256=kXfJL0sclcCulsaw5KGgVCyuiIfINkSeMwFGXSvuYME,494
|
|
@@ -57,11 +60,12 @@ caselawclient/xquery/get_judgment.xqy,sha256=YMDDTOvT2FaYXqhYPcJVNn95czDoDojauVJ
|
|
|
57
60
|
caselawclient/xquery/get_judgment_checkout_status.xqy,sha256=mdY9UXLyzQdB7byEERPqentlr0YDLbXRVqH0h4UuZTQ,193
|
|
58
61
|
caselawclient/xquery/get_judgment_version.xqy,sha256=wF9k9-CBrqo8VbxxyTrD-AGzR3-3jMm25tRVCjxPLrU,292
|
|
59
62
|
caselawclient/xquery/get_last_modified.xqy,sha256=8fCm_7o_kkytCEmEeSTLWzLP7iOjuPV01IfHDgf6HaQ,172
|
|
63
|
+
caselawclient/xquery/get_locked_documents.xqy,sha256=b6PFq8fHIi_ajvRXtQCLg5Q259VqtFqA_yzShRH-New,196
|
|
60
64
|
caselawclient/xquery/get_missing_fclid.xqy,sha256=FAZZMtqow0VAf1D9LjBydT9kcOxiEIQC7GQgs4o68sA,520
|
|
61
65
|
caselawclient/xquery/get_next_document_sequence_number.xqy,sha256=LkGoaS7jZfaKDuZLi0apP5qHP1rpcM1HbqX3RUwquKY,450
|
|
62
66
|
caselawclient/xquery/get_pending_enrichment_for_version.xqy,sha256=8J5Pi-jMXJd_BgtpK4g6C9uR99HP57JpFv5WkoPfNuo,2016
|
|
63
|
-
caselawclient/xquery/get_pending_parse_for_version_count.xqy,sha256=
|
|
64
|
-
caselawclient/xquery/get_pending_parse_for_version_documents.xqy,sha256=
|
|
67
|
+
caselawclient/xquery/get_pending_parse_for_version_count.xqy,sha256=2hhttv89OAYPjouNan7U2qRC9ARdt6gs_6CUoSrCo98,982
|
|
68
|
+
caselawclient/xquery/get_pending_parse_for_version_documents.xqy,sha256=tE_37a32ARQZR3zYMttOPttyqrueKhaIk5bxQ45UOFw,1286
|
|
65
69
|
caselawclient/xquery/get_properties_for_search_results.xqy,sha256=Tlv3EKwVV_q-JyQyhjWVHIleicPDpucxP4ScuQjpgSw,625
|
|
66
70
|
caselawclient/xquery/get_property.xqy,sha256=RHlOTrK0aH-S7s_ykYzGmUeKOJxXlI4vE5sKRt556NY,209
|
|
67
71
|
caselawclient/xquery/get_property_as_node.xqy,sha256=7EXNgjVD1QugJ1621pvg8PdjBRIuh7GugwARv04TuBk,202
|
|
@@ -77,7 +81,7 @@ caselawclient/xquery/set_boolean_property.xqy,sha256=8Vg3yDWqeDynUJQHw2OF4daDIKT
|
|
|
77
81
|
caselawclient/xquery/set_datetime_property.xqy,sha256=61NuWft1DlpROwdkDLHJ2rcHDqKAFoD45XQ_nmdBkLY,356
|
|
78
82
|
caselawclient/xquery/set_metadata_citation.xqy,sha256=ImwijXowvOCiH_br_LepnKsEpys9tg4Cf3uz6MoC5-c,659
|
|
79
83
|
caselawclient/xquery/set_metadata_court.xqy,sha256=xQGR3e4pdJuDPMlzdAdzrBDSeQbEFiLVIm2z_KQI_Ds,996
|
|
80
|
-
caselawclient/xquery/set_metadata_jurisdiction.xqy,sha256=
|
|
84
|
+
caselawclient/xquery/set_metadata_jurisdiction.xqy,sha256=riP_yOtDkBPFwXxTYmBL8sO68Gj-rGpmqszoDAWD3IQ,1092
|
|
81
85
|
caselawclient/xquery/set_metadata_name.xqy,sha256=7UeCo13ePNPxXcz9v7o1Pw7MoL6b5voOS6STmy-ROf4,752
|
|
82
86
|
caselawclient/xquery/set_metadata_this_uri.xqy,sha256=lBHk2EJxcRcxu1JqNdBlSzUZmFvVaSs0vu2cVrt84c8,1762
|
|
83
87
|
caselawclient/xquery/set_metadata_work_expression_date.xqy,sha256=eN4VvRA5FqP3aKrlvnqwa7e9mcuuNXqLH5_yHWvrjrU,1017
|
|
@@ -94,7 +98,7 @@ caselawclient/xquery/xslt_transform.xqy,sha256=3X8f7u5kRXKRMwnfZ2AO60LS9F3Gi3mFp
|
|
|
94
98
|
caselawclient/xquery_type_dicts.py,sha256=caNLrQBytQFxfdVs5gpSTQEo-FEldKITZDqZtITKWJQ,6950
|
|
95
99
|
caselawclient/xslt/modify_xml_live.xsl,sha256=gNjwBun2-UzOeeuf0wNjFtN3jXm1yrwqv_KT8r1slXw,2370
|
|
96
100
|
caselawclient/xslt/sample.xsl,sha256=IG-v77stjwqiw25pguh391K-5DTKiX651WqILDZixm0,825
|
|
97
|
-
ds_caselaw_marklogic_api_client-44.0.
|
|
98
|
-
ds_caselaw_marklogic_api_client-44.0.
|
|
99
|
-
ds_caselaw_marklogic_api_client-44.0.
|
|
100
|
-
ds_caselaw_marklogic_api_client-44.0.
|
|
101
|
+
ds_caselaw_marklogic_api_client-44.4.0.dist-info/LICENSE.md,sha256=fGMzyyLuQW-IAXUeDSCrRdsYW536aEWThdbpCjo6ZKg,1108
|
|
102
|
+
ds_caselaw_marklogic_api_client-44.4.0.dist-info/METADATA,sha256=R__cavQ_O-8at0naxqxmapGJEvKtQrFobgflkA9abus,4410
|
|
103
|
+
ds_caselaw_marklogic_api_client-44.4.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
104
|
+
ds_caselaw_marklogic_api_client-44.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|