ds-caselaw-marklogic-api-client 34.1.2__py3-none-any.whl → 35.1.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/models/identifiers/fclid.py +1 -1
- caselawclient/models/identifiers/press_summary_ncn.py +1 -1
- caselawclient/models/utilities/aws.py +1 -9
- {ds_caselaw_marklogic_api_client-34.1.2.dist-info → ds_caselaw_marklogic_api_client-35.1.0.dist-info}/METADATA +1 -1
- {ds_caselaw_marklogic_api_client-34.1.2.dist-info → ds_caselaw_marklogic_api_client-35.1.0.dist-info}/RECORD +7 -7
- {ds_caselaw_marklogic_api_client-34.1.2.dist-info → ds_caselaw_marklogic_api_client-35.1.0.dist-info}/LICENSE.md +0 -0
- {ds_caselaw_marklogic_api_client-34.1.2.dist-info → ds_caselaw_marklogic_api_client-35.1.0.dist-info}/WHEEL +0 -0
|
@@ -30,7 +30,7 @@ class FindCaseLawIdentifierSchema(IdentifierSchema):
|
|
|
30
30
|
name = "Find Case Law Identifier"
|
|
31
31
|
namespace = "fclid"
|
|
32
32
|
human_readable = False
|
|
33
|
-
base_score_multiplier = 0.
|
|
33
|
+
base_score_multiplier = 0.6
|
|
34
34
|
|
|
35
35
|
@classmethod
|
|
36
36
|
def validate_identifier(cls, value: str) -> bool:
|
|
@@ -11,7 +11,7 @@ class PressSummaryRelatedNCNIdentifierSchema(NeutralCitationNumberSchema):
|
|
|
11
11
|
name = "Press Summary relates to NCN"
|
|
12
12
|
namespace = "uksummaryofncn"
|
|
13
13
|
human_readable = True
|
|
14
|
-
base_score_multiplier = 0.
|
|
14
|
+
base_score_multiplier = 0.8
|
|
15
15
|
|
|
16
16
|
@classmethod
|
|
17
17
|
def compile_identifier_url_slug(cls, value: str) -> DocumentIdentifierSlug:
|
|
@@ -47,17 +47,9 @@ def create_aws_client(service: Literal["sns"]) -> SNSClient: ...
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
def create_aws_client(service: Literal["s3", "sns"]) -> Any:
|
|
50
|
-
|
|
51
|
-
aws = boto3.session.Session(
|
|
52
|
-
aws_access_key_id=env("AWS_ACCESS_KEY_ID", default=None),
|
|
53
|
-
aws_secret_access_key=env("AWS_SECRET_KEY", default=None),
|
|
54
|
-
)
|
|
55
|
-
else:
|
|
56
|
-
aws = boto3.session.Session()
|
|
50
|
+
aws = boto3.session.Session()
|
|
57
51
|
return aws.client(
|
|
58
52
|
service,
|
|
59
|
-
endpoint_url=env("AWS_ENDPOINT_URL", default=None),
|
|
60
|
-
region_name=env("PRIVATE_ASSET_BUCKET_REGION", default=None),
|
|
61
53
|
config=botocore.client.Config(signature_version="s3v4"),
|
|
62
54
|
)
|
|
63
55
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ds-caselaw-marklogic-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 35.1.0
|
|
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
|
|
@@ -14,16 +14,16 @@ caselawclient/models/documents/statuses.py,sha256=Cp4dTQmJOtsU41EJcxy5dV1841pGD2
|
|
|
14
14
|
caselawclient/models/documents/transforms/html.xsl,sha256=oSSO-IBX4qLiSWexQYmWJfGNevF09aCBx4D1NYqXxpo,38322
|
|
15
15
|
caselawclient/models/documents/xml.py,sha256=HlmPb63lLMnySSOLP4iexcAyQiLByKBZtTd25f8sY8M,1268
|
|
16
16
|
caselawclient/models/identifiers/__init__.py,sha256=sbS638jek1qtOSyGWVfIgaja0tnpK5iB5FXiYJSbJiU,6666
|
|
17
|
-
caselawclient/models/identifiers/fclid.py,sha256=
|
|
17
|
+
caselawclient/models/identifiers/fclid.py,sha256=Gq0G0eLdUH3j7VybluqJGVcHV3Y-hpjty1OdR91dI5Q,1453
|
|
18
18
|
caselawclient/models/identifiers/neutral_citation.py,sha256=O3zLw8lnhh5Mb0COjwhhDfTyvcSt48Td5pfT6yaCCJk,1947
|
|
19
|
-
caselawclient/models/identifiers/press_summary_ncn.py,sha256=
|
|
19
|
+
caselawclient/models/identifiers/press_summary_ncn.py,sha256=CKhNTnO6pfriS4Sg-gt0Pf0fRhH53Uf0flULPncJWM4,762
|
|
20
20
|
caselawclient/models/identifiers/unpacker.py,sha256=eApUVdIKg3ABNiG38-OfYwKeaLGOl1Ebe5b9IusuLZM,2276
|
|
21
21
|
caselawclient/models/judgments.py,sha256=r40irgdEID-NeSNLm3OUdUBznMpRSwjD2SJrGlBgP8o,2208
|
|
22
22
|
caselawclient/models/neutral_citation_mixin.py,sha256=jAac3PPuWyPdj9N-n-U_JfwkbgbSIXaqFVQahfu95do,2086
|
|
23
23
|
caselawclient/models/parser_logs.py,sha256=30kF4w0GcowiMIFtymUkl7ZARanNh_PjDpJZezn-cA8,315
|
|
24
24
|
caselawclient/models/press_summaries.py,sha256=PIq9RceZ7n7Z079tESfxhQbfxCmtTc2V2OeFtcn594s,2144
|
|
25
25
|
caselawclient/models/utilities/__init__.py,sha256=u3yIhbTjFQ1JJyAm5wsMEBswWl4t6Z7UMORF5FqC2xQ,1257
|
|
26
|
-
caselawclient/models/utilities/aws.py,sha256=
|
|
26
|
+
caselawclient/models/utilities/aws.py,sha256=AMddhGL1E9kG_7yv-18Gn_0ITrvMdgbdA_bB1xiRSWE,8491
|
|
27
27
|
caselawclient/models/utilities/dates.py,sha256=WwORxVjUHM1ZFcBF6Qtwo3Cj0sATsnSECkUZ6ls1N1Q,492
|
|
28
28
|
caselawclient/models/utilities/move.py,sha256=MXdUqkSiyqRb8YKs_66B6ICWn8EWM6DiJV95fuJO1Us,3610
|
|
29
29
|
caselawclient/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -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-
|
|
85
|
-
ds_caselaw_marklogic_api_client-
|
|
86
|
-
ds_caselaw_marklogic_api_client-
|
|
87
|
-
ds_caselaw_marklogic_api_client-
|
|
84
|
+
ds_caselaw_marklogic_api_client-35.1.0.dist-info/LICENSE.md,sha256=fGMzyyLuQW-IAXUeDSCrRdsYW536aEWThdbpCjo6ZKg,1108
|
|
85
|
+
ds_caselaw_marklogic_api_client-35.1.0.dist-info/METADATA,sha256=85B3kbZeAcYmhX5vhjDvHxSz3YnsgWcX3uV7zLQr76s,4206
|
|
86
|
+
ds_caselaw_marklogic_api_client-35.1.0.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
87
|
+
ds_caselaw_marklogic_api_client-35.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|