oarepo-runtime 1.5.128__py3-none-any.whl → 1.5.129__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.
@@ -6,4 +6,15 @@ class ExportableResponseHandler(ResponseHandler):
6
6
  """Constructor."""
7
7
  self.export_code = export_code
8
8
  self.name = name
9
- super().__init__(serializer, headers)
9
+ super().__init__(serializer, headers)
10
+
11
+
12
+ class OAIExportableResponseHandler(ExportableResponseHandler):
13
+
14
+ def __init__(self, serializer, export_code, name, oai_metadata_prefix, oai_schema, oai_namespace,
15
+ headers=None):
16
+ """Constructor."""
17
+ self.oai_metadata_prefix = oai_metadata_prefix
18
+ self.oai_schema = oai_schema
19
+ self.oai_namespace = oai_namespace
20
+ super().__init__(serializer, export_code, name, headers)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: oarepo-runtime
3
- Version: 1.5.128
3
+ Version: 1.5.129
4
4
  Summary: A set of runtime extensions of Invenio repository
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -83,7 +83,7 @@ oarepo_runtime/resources/file_resource.py,sha256=Ta3bFce7l0xwqkkOMOEu9mxbB8BbKj5
83
83
  oarepo_runtime/resources/json_serializer.py,sha256=82_-xQEtxKaPakv8R1oBAFbGnxskF_Ve4tcfcy4PetI,963
84
84
  oarepo_runtime/resources/localized_ui_json_serializer.py,sha256=3V9cJaG_e1PMXKVX_wKfBp1LmbeForwHyBNYdyha4uQ,1878
85
85
  oarepo_runtime/resources/resource.py,sha256=GK5yGnJIjH60wGqqDoOfwMQQFQDLZhJpU4zBJOmABI8,2063
86
- oarepo_runtime/resources/responses.py,sha256=Cgmq4_xvKGd52rwFES3IhQFkGTgdo1bdNsBMdahkIXw,311
86
+ oarepo_runtime/resources/responses.py,sha256=Pj-K_r-QO9B2n9STcfqsrBQu1e3iYhdEBFSVTeWR7cM,738
87
87
  oarepo_runtime/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
88
  oarepo_runtime/services/components.py,sha256=0aqmuNbGCQhfOI22f6mM2DxuKSTqstGOGyisOiqw9KE,15481
89
89
  oarepo_runtime/services/generators.py,sha256=j87HitHA_w2awsz0C5IAAJ0qjg9JMtvdO3dvh6FQyfg,250
@@ -150,9 +150,9 @@ tests/marshmallow_to_json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
150
150
  tests/marshmallow_to_json/test_datacite_ui_schema.py,sha256=82iLj8nW45lZOUewpWbLX3mpSkpa9lxo-vK-Qtv_1bU,48552
151
151
  tests/marshmallow_to_json/test_simple_schema.py,sha256=izZN9p0v6kovtSZ6AdxBYmK_c6ZOti2_z_wPT_zXIr0,1500
152
152
  tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
153
- oarepo_runtime-1.5.128.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
154
- oarepo_runtime-1.5.128.dist-info/METADATA,sha256=oy2gSlUr73bhhmGCHli9VPZ6bUtoJrFx8y3D9kIh_8Y,4721
155
- oarepo_runtime-1.5.128.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
156
- oarepo_runtime-1.5.128.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
157
- oarepo_runtime-1.5.128.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
158
- oarepo_runtime-1.5.128.dist-info/RECORD,,
153
+ oarepo_runtime-1.5.129.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
154
+ oarepo_runtime-1.5.129.dist-info/METADATA,sha256=MEE87EgTSva-yYSr22h56-RtZxqaM9r1VQG0HEtOleg,4721
155
+ oarepo_runtime-1.5.129.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
156
+ oarepo_runtime-1.5.129.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
157
+ oarepo_runtime-1.5.129.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
158
+ oarepo_runtime-1.5.129.dist-info/RECORD,,