ds-caselaw-marklogic-api-client 34.1.0__py3-none-any.whl → 34.1.1__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.
Potentially problematic release.
This version of ds-caselaw-marklogic-api-client might be problematic. Click here for more details.
- caselawclient/Client.py +1 -9
- {ds_caselaw_marklogic_api_client-34.1.0.dist-info → ds_caselaw_marklogic_api_client-34.1.1.dist-info}/METADATA +1 -1
- {ds_caselaw_marklogic_api_client-34.1.0.dist-info → ds_caselaw_marklogic_api_client-34.1.1.dist-info}/RECORD +5 -5
- {ds_caselaw_marklogic_api_client-34.1.0.dist-info → ds_caselaw_marklogic_api_client-34.1.1.dist-info}/LICENSE.md +0 -0
- {ds_caselaw_marklogic_api_client-34.1.0.dist-info → ds_caselaw_marklogic_api_client-34.1.1.dist-info}/WHEEL +0 -0
caselawclient/Client.py
CHANGED
|
@@ -77,12 +77,6 @@ class MultipartResponseLongerThanExpected(Exception):
|
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
class DocumentHasNoTypeCollection(Exception):
|
|
81
|
-
"""
|
|
82
|
-
A MarkLogic document is not part of a collection which identifies its document type.
|
|
83
|
-
"""
|
|
84
|
-
|
|
85
|
-
|
|
86
80
|
def get_multipart_strings_from_marklogic_response(
|
|
87
81
|
response: requests.Response,
|
|
88
82
|
) -> list[str]:
|
|
@@ -239,9 +233,7 @@ class MarklogicApiClient:
|
|
|
239
233
|
return Judgment
|
|
240
234
|
if DOCUMENT_COLLECTION_URI_PRESS_SUMMARY in collections:
|
|
241
235
|
return PressSummary
|
|
242
|
-
|
|
243
|
-
f"The document at URI {uri} is not part of a valid document type collection.",
|
|
244
|
-
)
|
|
236
|
+
return Document
|
|
245
237
|
|
|
246
238
|
def _get_error_code_class(self, error_code: str) -> Type[MarklogicAPIError]:
|
|
247
239
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ds-caselaw-marklogic-api-client
|
|
3
|
-
Version: 34.1.
|
|
3
|
+
Version: 34.1.1
|
|
4
4
|
Summary: An API client for interacting with the underlying data in Find Caselaw.
|
|
5
5
|
Home-page: https://github.com/nationalarchives/ds-caselaw-custom-api-client
|
|
6
6
|
Keywords: national archives,caselaw
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
caselawclient/Client.py,sha256=
|
|
1
|
+
caselawclient/Client.py,sha256=HaVEhYB3emW6o6ERJ1UpfNDqEir98Ou8nT4Rl2keiJI,44658
|
|
2
2
|
caselawclient/__init__.py,sha256=DY-caubLDQWWingSdsBWgovDNXh8KcnkI6kwz08eIFk,612
|
|
3
3
|
caselawclient/client_helpers/__init__.py,sha256=eucyUXwUqI72TPw-C5zLcHlMu4GtFY507a6lQc03lQY,5053
|
|
4
4
|
caselawclient/client_helpers/search_helpers.py,sha256=R99HyRLeYHgsw2L3DOidEqlKLLvs6Tga5rKTuWQViig,1525
|
|
@@ -81,7 +81,7 @@ caselawclient/xquery/validate_document.xqy,sha256=PgaDcnqCRJPIVqfmWsNlXmCLNKd21q
|
|
|
81
81
|
caselawclient/xquery/xslt.xqy,sha256=w57wNijH3dkwHkpKeAxqjlghVflQwo8cq6jS_sm-erM,199
|
|
82
82
|
caselawclient/xquery/xslt_transform.xqy,sha256=cccaFiGkCcvSfDv007UriZ3I4ak2nTLP1trRZdbOoS8,2462
|
|
83
83
|
caselawclient/xquery_type_dicts.py,sha256=21V6PJ0a8lPZuwzQCWeHNo914hdCbCJtOvnqdHcTpKk,6383
|
|
84
|
-
ds_caselaw_marklogic_api_client-34.1.
|
|
85
|
-
ds_caselaw_marklogic_api_client-34.1.
|
|
86
|
-
ds_caselaw_marklogic_api_client-34.1.
|
|
87
|
-
ds_caselaw_marklogic_api_client-34.1.
|
|
84
|
+
ds_caselaw_marklogic_api_client-34.1.1.dist-info/LICENSE.md,sha256=fGMzyyLuQW-IAXUeDSCrRdsYW536aEWThdbpCjo6ZKg,1108
|
|
85
|
+
ds_caselaw_marklogic_api_client-34.1.1.dist-info/METADATA,sha256=5KbQFreree4TKto5MukmKWdEi7yYNrgbUq58xnnVIpM,4206
|
|
86
|
+
ds_caselaw_marklogic_api_client-34.1.1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
87
|
+
ds_caselaw_marklogic_api_client-34.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|