oarepo-runtime 1.4.44__py3-none-any.whl → 1.4.45__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- oarepo_runtime/records/entity_resolvers/__init__.py +14 -0
- oarepo_runtime/records/{resolvers → entity_resolvers}/proxies.py +11 -1
- oarepo_runtime/resources/localized_ui_json_serializer.py +3 -2
- oarepo_runtime/services/files/__init__.py +4 -2
- oarepo_runtime/services/schema/ui.py +2 -1
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/METADATA +1 -1
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/RECORD +11 -47
- oarepo_runtime/cf/__init__.py +0 -22
- oarepo_runtime/cf/mappings.py +0 -10
- oarepo_runtime/config/__init__.py +0 -0
- oarepo_runtime/config/permissions_presets.py +0 -20
- oarepo_runtime/config/service.py +0 -10
- oarepo_runtime/drafts/__init__.py +0 -0
- oarepo_runtime/drafts/systemfields/__init__.py +0 -0
- oarepo_runtime/drafts/systemfields/has_draftcheck.py +0 -10
- oarepo_runtime/expansions/__init__.py +0 -0
- oarepo_runtime/expansions/expandable_fields.py +0 -12
- oarepo_runtime/expansions/service.py +0 -10
- oarepo_runtime/facets/__init__.py +0 -0
- oarepo_runtime/facets/base.py +0 -10
- oarepo_runtime/facets/date.py +0 -26
- oarepo_runtime/facets/enum.py +0 -10
- oarepo_runtime/facets/max_facet.py +0 -10
- oarepo_runtime/facets/nested_facet.py +0 -10
- oarepo_runtime/facets/params.py +0 -10
- oarepo_runtime/i18n/dumper.py +0 -10
- oarepo_runtime/i18n/schema.py +0 -10
- oarepo_runtime/i18n/ui_schema.py +0 -20
- oarepo_runtime/i18n/validation.py +0 -10
- oarepo_runtime/marshmallow.py +0 -10
- oarepo_runtime/records/resolvers/__init__.py +0 -5
- oarepo_runtime/relations/__init__.py +0 -26
- oarepo_runtime/relations/base.py +0 -22
- oarepo_runtime/relations/components.py +0 -10
- oarepo_runtime/relations/errors.py +0 -13
- oarepo_runtime/relations/internal.py +0 -13
- oarepo_runtime/relations/lookup.py +0 -10
- oarepo_runtime/relations/mapping.py +0 -10
- oarepo_runtime/relations/pid_relation.py +0 -20
- oarepo_runtime/relations/uow.py +0 -12
- oarepo_runtime/resolvers/__init__.py +0 -5
- oarepo_runtime/resolvers/proxies.py +0 -10
- oarepo_runtime/ui/__init__.py +0 -0
- oarepo_runtime/ui/marshmallow.py +0 -34
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/LICENSE +0 -0
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/WHEEL +0 -0
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/entry_points.txt +0 -0
- {oarepo_runtime-1.4.44.dist-info → oarepo_runtime-1.4.45.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
from oarepo import __version__ as oarepo_version
|
2
|
+
|
3
|
+
from oarepo_runtime.records.entity_resolvers.proxies import DraftProxy
|
4
|
+
|
5
|
+
# compatibility setting between invenio rdm 11 and invenio rdm 12
|
6
|
+
# can be removed when invenio rdm 11 is no longer supported
|
7
|
+
if oarepo_version.split(".")[0] == "11":
|
8
|
+
from invenio_users_resources.resolvers import UserResolver
|
9
|
+
from invenio_records_resources.references import RecordResolver, EntityResolver
|
10
|
+
else:
|
11
|
+
from invenio_users_resources.entity_resolvers import UserResolver
|
12
|
+
from invenio_records_resources.references import RecordResolver, EntityResolver
|
13
|
+
|
14
|
+
__all__ = ["DraftProxy", "UserResolver", "RecordResolver", "EntityResolver"]
|
@@ -1,5 +1,15 @@
|
|
1
1
|
from invenio_pidstore.errors import PIDUnregistered
|
2
|
-
from
|
2
|
+
from oarepo import __version__ as oarepo_version
|
3
|
+
|
4
|
+
# compatibility setting between invenio rdm 11 and invenio rdm 12
|
5
|
+
# can be removed when invenio rdm 11 is no longer supported
|
6
|
+
if oarepo_version.split(".")[0] == "11":
|
7
|
+
from invenio_records_resources.references.resolvers.records import RecordProxy
|
8
|
+
else:
|
9
|
+
from invenio_records_resources.references.entity_resolvers.records import (
|
10
|
+
RecordProxy,
|
11
|
+
)
|
12
|
+
|
3
13
|
from sqlalchemy.exc import NoResultFound
|
4
14
|
|
5
15
|
|
@@ -1,6 +1,7 @@
|
|
1
|
-
from oarepo_runtime.i18n import get_locale
|
2
|
-
from flask_resources import MarshmallowSerializer
|
3
1
|
import marshmallow
|
2
|
+
from flask_resources import MarshmallowSerializer
|
3
|
+
|
4
|
+
from oarepo_runtime.i18n import get_locale
|
4
5
|
|
5
6
|
|
6
7
|
class LocalizedUIJSONSerializer(MarshmallowSerializer):
|
@@ -1,6 +1,8 @@
|
|
1
1
|
try:
|
2
|
-
from invenio_records_resources.services.records.components import
|
2
|
+
from invenio_records_resources.services.records.components import (
|
3
|
+
FilesOptionsComponent as FilesComponent,
|
4
|
+
)
|
3
5
|
except ImportError:
|
4
6
|
from invenio_records_resources.services.records.components import FilesComponent
|
5
7
|
|
6
|
-
__all__= (
|
8
|
+
__all__ = ("FilesComponent",)
|
@@ -5,7 +5,6 @@ import marshmallow as ma
|
|
5
5
|
from babel.dates import format_date
|
6
6
|
from babel_edtf import format_edtf
|
7
7
|
from flask import current_app
|
8
|
-
from oarepo_runtime.i18n import gettext
|
9
8
|
from marshmallow_utils.fields import (
|
10
9
|
BabelGettextDictField,
|
11
10
|
FormatDate,
|
@@ -15,6 +14,8 @@ from marshmallow_utils.fields import (
|
|
15
14
|
)
|
16
15
|
from marshmallow_utils.fields.babel import BabelFormatField
|
17
16
|
|
17
|
+
from oarepo_runtime.i18n import gettext
|
18
|
+
|
18
19
|
|
19
20
|
def current_default_locale():
|
20
21
|
"""Get the Flask app's default locale."""
|
@@ -1,12 +1,9 @@
|
|
1
1
|
oarepo_runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
oarepo_runtime/ext.py,sha256=6aYy1zbNDHBn4rNDo_v4xuUteyhbGAAoVtp6rtkxe20,1957
|
3
3
|
oarepo_runtime/ext_config.py,sha256=c9q8zc78bjBosv1lbHGfenX2S6L-_9v0RZeQjbczvdI,1941
|
4
|
-
oarepo_runtime/marshmallow.py,sha256=HlxKWcRYt6FG3Coa-4Rb29pQ_e_1htFuQfy4oCx3u0A,254
|
5
4
|
oarepo_runtime/profile.py,sha256=QzrQoZncjoN74ZZnpkEKakNk08KCzBU7m6y42RN8AMY,1637
|
6
5
|
oarepo_runtime/proxies.py,sha256=IuwZDwEqRcKxdqNdMrlSzOSiYjtWyJIgvg4zbFTWI8I,207
|
7
6
|
oarepo_runtime/uow.py,sha256=iyF3R2oCPSVUu38GXoxZallgRD-619q1fWTb8sSaeyQ,4412
|
8
|
-
oarepo_runtime/cf/__init__.py,sha256=2jaEG2MfvyObAUweXxyW_Ojpf-9LctJZJiQ3xpPdtf8,486
|
9
|
-
oarepo_runtime/cf/mappings.py,sha256=mUs5ckftx3zHj15nSSdakqDvvNlENi5GSYZ-5e1fhCQ,276
|
10
7
|
oarepo_runtime/cli/__init__.py,sha256=koxulaAVlModcHhuiAZ7ndEUpdvMtu3IapurZ33GpI4,264
|
11
8
|
oarepo_runtime/cli/assets.py,sha256=XLZTnsGb88O5N8R2D3AYpZqtnO4JrbybUtRLKnL1p3w,2430
|
12
9
|
oarepo_runtime/cli/base.py,sha256=xZMsR2rati5Mz0DZzmnlhVI7E6ePCfnOiTayrxT9cWU,259
|
@@ -15,9 +12,6 @@ oarepo_runtime/cli/check.py,sha256=zQ6txhfN6LWvdWgRa3ZFdOifbuazoRQd-7ml0qwIBWg,2
|
|
15
12
|
oarepo_runtime/cli/fixtures.py,sha256=aSGquYoyTrCc9WTw9DzStPX3MBS26LHF1BXsqEHXFvc,2699
|
16
13
|
oarepo_runtime/cli/index.py,sha256=VB7g-HSCd-lR6rk0GLn9i-Rt9JlEnEiQrGnAQlklFME,5447
|
17
14
|
oarepo_runtime/cli/validate.py,sha256=HpSvHQCGHlrdgdpKix9cIlzlBoJEiT1vACZdMnOUGEY,2827
|
18
|
-
oarepo_runtime/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
oarepo_runtime/config/permissions_presets.py,sha256=kxHV1gkEHFEesVD6BvPS_B8_y5KhrZKXDqzS3abdzr4,488
|
20
|
-
oarepo_runtime/config/service.py,sha256=NR5ZMU5G4eUPvrSqAHDW38WwYrBgSlG-Xzf-r97wjgY,285
|
21
15
|
oarepo_runtime/datastreams/__init__.py,sha256=_i52Ek9J8DMARST0ejZAZPzUKm55xrrlKlCSO7dl6y4,1008
|
22
16
|
oarepo_runtime/datastreams/asynchronous.py,sha256=1I1mEaTxyrcHD7LK6O9z2QX37AgeejflxynGmLreLQ0,7396
|
23
17
|
oarepo_runtime/datastreams/catalogue.py,sha256=D6leq-FPT3RP3SniEAXPm66v3q8ZdQnaUYJ5XM0dIFY,5021
|
@@ -44,55 +38,27 @@ oarepo_runtime/datastreams/writers/service.py,sha256=KuFuE3ol4lzJY6nxwj6UqlQouP-
|
|
44
38
|
oarepo_runtime/datastreams/writers/utils.py,sha256=Lk_ZLNeXTLuFEn04lw1-6bJ7duG6kwA8X4wf9c_GiL4,1067
|
45
39
|
oarepo_runtime/datastreams/writers/validation_errors.py,sha256=wOCXdniR6so_4ExpdFYYgBRyENp7_6kVFZM2L-Hy3G8,661
|
46
40
|
oarepo_runtime/datastreams/writers/yaml.py,sha256=XchUJHQ58E2Mfgs8elImXbL38jFtI8Hfoye6yaR0gKI,1482
|
47
|
-
oarepo_runtime/drafts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
|
-
oarepo_runtime/drafts/systemfields/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
49
|
-
oarepo_runtime/drafts/systemfields/has_draftcheck.py,sha256=ytekoAoeqXofdLK3ZaHSHeCj9cttb-xDlooca8jHhsw,277
|
50
|
-
oarepo_runtime/expansions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
|
-
oarepo_runtime/expansions/expandable_fields.py,sha256=mz-TCkqAwElipZz_jywomPO6Txd_2x-xuzWttdmlAeI,328
|
52
|
-
oarepo_runtime/expansions/service.py,sha256=8PIH-_3TYlGOJa8w9QP3neQoVLNpls7m626Mxdj7Y8E,290
|
53
|
-
oarepo_runtime/facets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
|
-
oarepo_runtime/facets/base.py,sha256=XzBxohcZTiZBTx9Kub36ONnORYZnKQl0y1As-N633CY,265
|
55
|
-
oarepo_runtime/facets/date.py,sha256=eMUoL66ADS-8VEs5SDfqE59bUilzCwwNJQf3N_cRmaA,482
|
56
|
-
oarepo_runtime/facets/enum.py,sha256=4BXrYFalAVwfpa_Msi4AyMW0oaCHuzWwCDdk2hE3OyU,234
|
57
|
-
oarepo_runtime/facets/max_facet.py,sha256=qCUaLpVfk7UdE6ke1fy5nHUFRiEAKTwYGuR8t0ya8I8,226
|
58
|
-
oarepo_runtime/facets/nested_facet.py,sha256=XmAa-cVUTXP5A4e2e5V4HE11v6Zm8F2wSCw7bC2l0d0,262
|
59
|
-
oarepo_runtime/facets/params.py,sha256=-yJly4mWguoQ9_2c2lYyzaYk1rTBhZBQ2B_0k520tX0,253
|
60
41
|
oarepo_runtime/i18n/__init__.py,sha256=HlA6zympb9VxidQ68MW2AU0ek9j8CnwcGQtseV0KpMQ,402
|
61
|
-
oarepo_runtime/i18n/dumper.py,sha256=ux4D_Hp6BG4_fFAYN1HwCEPP7kwbVDM1CdzHT3sApuI,276
|
62
|
-
oarepo_runtime/i18n/schema.py,sha256=7tMCsAQu6ZJ-7e1rgkvv6HB-wxf8yXOM2I3j5QfzL9c,254
|
63
|
-
oarepo_runtime/i18n/ui_schema.py,sha256=3a8uvbvpEUydIsv2U5fuFuyV5unZDyy_7E_VMSfPINg,422
|
64
|
-
oarepo_runtime/i18n/validation.py,sha256=D9QLUR8fQk6bMHcSPL5vc1eApE_1_HggNAa7pEx8tvI,271
|
65
42
|
oarepo_runtime/records/__init__.py,sha256=Bxm2XNtB9j6iOAKGSVsjXTKIZS-iXKPzakCqyNkEix8,432
|
66
43
|
oarepo_runtime/records/dumpers/__init__.py,sha256=OmzNhLdMNKibmCksnj9eTX9xPBG30dziiK3j3bAAp3k,233
|
67
44
|
oarepo_runtime/records/dumpers/edtf_interval.py,sha256=YCShZAoqBQYaxVilEVotS-jXZsxxoXO67yu2urhkaMA,1198
|
68
45
|
oarepo_runtime/records/dumpers/multilingual_dumper.py,sha256=PbNFCLsiH4XV3E1v8xga_fzlcEImHy8OXn_UKh_8VBU,1090
|
46
|
+
oarepo_runtime/records/entity_resolvers/__init__.py,sha256=z1M-FtzIfDnkOdq9fMHaaadfhW7cBsRefVZfwfhjVSY,674
|
47
|
+
oarepo_runtime/records/entity_resolvers/proxies.py,sha256=hHUzJA1yDhp7nM35gHoAAv7w4zWuaSE-tLBNvIR0tD8,882
|
69
48
|
oarepo_runtime/records/relations/__init__.py,sha256=bDAgxl_LdKsqpGG3qluxAkQnn5u2ItJngnHQKkqzlkE,373
|
70
49
|
oarepo_runtime/records/relations/base.py,sha256=XQpRt6-MfIKIClZ0IoGJr0GGl2Ru3RcqMoowOxrFG_E,8981
|
71
50
|
oarepo_runtime/records/relations/internal.py,sha256=OTp8iJqyl80sWDk0Q0AK42l6UsxZDABspVU_GwWza9o,1556
|
72
51
|
oarepo_runtime/records/relations/lookup.py,sha256=wi3jPfOedazOmhOMrgu50PUETc1jfSdpmjK0wvOFsEM,848
|
73
52
|
oarepo_runtime/records/relations/pid_relation.py,sha256=zJjSf_ocFBViYsOuMMZLbQZpNZeKiOK33dPD4tk74Qo,2786
|
74
|
-
oarepo_runtime/records/resolvers/__init__.py,sha256=wfc7o1S_0UABDdHc0E7JyfbIkjVFeqcszg9ZnMxP1p8,97
|
75
|
-
oarepo_runtime/records/resolvers/proxies.py,sha256=egtT7uXL91KswWI7gqUIaz1vWIHezdsiI_M-xRKXWww,547
|
76
53
|
oarepo_runtime/records/systemfields/__init__.py,sha256=JpDSVry8TWvUNGlR7AXd_D9NDLiVN2xg9qxjNit96Sw,257
|
77
54
|
oarepo_runtime/records/systemfields/featured_file.py,sha256=4_SXyGNMxAANeYOGrT4QLJmzVdF4FFeTP_n4T9KZ3M8,1725
|
78
55
|
oarepo_runtime/records/systemfields/has_draftcheck.py,sha256=3XLRsZJWRpT4BFF1HTg6C27ECVmIcZ4RrdGzYC8S7v0,1518
|
79
56
|
oarepo_runtime/records/systemfields/icu.py,sha256=-vGPbVkEUS53dIm50pEcRlk1T6h002s7fBY4Ic2X75c,5951
|
80
57
|
oarepo_runtime/records/systemfields/mapping.py,sha256=jzKWn4jaVKZvysPZHtqWE_SWExh_4DBz7YSgflFyYoM,721
|
81
58
|
oarepo_runtime/records/systemfields/record_status.py,sha256=iXasHCIc-veaOHyiSpxHL8CWNpleh_BDBybkv79iqb0,945
|
82
|
-
oarepo_runtime/relations/__init__.py,sha256=8T9creg-wRPK7NK6cUmK3YZOsWA1dHkjfh2HstSdd0c,591
|
83
|
-
oarepo_runtime/relations/base.py,sha256=JX67OVFmaAXRttZcoIgHOgRDTkcLxGrIAtJvlTnEhVc,407
|
84
|
-
oarepo_runtime/relations/components.py,sha256=DRV2e45sCI7wBsbIp6rGHjRRpgolfZp_72xzDTUaecI,285
|
85
|
-
oarepo_runtime/relations/errors.py,sha256=XuqLURnBb-UqrKzKMa1CQ_4o60pyFNQJQRiZLa4HifU,317
|
86
|
-
oarepo_runtime/relations/internal.py,sha256=gyAyTe-Ot2QeOz-xczNGkiQsUNfs1OMmXZ_zjePqzJk,270
|
87
|
-
oarepo_runtime/relations/lookup.py,sha256=4JVSWwWAs1sSmABgNPHnIUP0LU7KOaxK_0Zr7mJCyTo,248
|
88
|
-
oarepo_runtime/relations/mapping.py,sha256=0abEK_8ZZZos6wpvUEffQ-afel-EioqFRNYiTH1YcYQ,252
|
89
|
-
oarepo_runtime/relations/pid_relation.py,sha256=dqerRWDIkJvIBDyVllntrajwj_yYrF3qVR6NYKZNAGQ,393
|
90
|
-
oarepo_runtime/relations/uow.py,sha256=kkIH7vXoOudTEs-TqCbUk_lw4dPDoPGV2iGvh3NfqE4,277
|
91
|
-
oarepo_runtime/resolvers/__init__.py,sha256=kTlvSiympib59YQV7wEKpIXGprPWRuvxLIwmeeQdUec,89
|
92
|
-
oarepo_runtime/resolvers/proxies.py,sha256=KhqLKVCg64UdWC10ykG6S-_Wm5DxT9VifqczW4s_Bik,232
|
93
59
|
oarepo_runtime/resources/__init__.py,sha256=v8BGrOTu_FjKzd0eozV7Q4GoGxyfybsL2cI-tbP5Pys,185
|
94
60
|
oarepo_runtime/resources/file_resource.py,sha256=Ta3bFce7l0xwqkkOMOEu9mxbB8BbKj5HUHRHmidhnl8,414
|
95
|
-
oarepo_runtime/resources/localized_ui_json_serializer.py,sha256=
|
61
|
+
oarepo_runtime/resources/localized_ui_json_serializer.py,sha256=4Kle34k-_uu3Y9JJ2vAXcQ9DqYRxXgy-_iZhiFuukmE,1684
|
96
62
|
oarepo_runtime/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
63
|
oarepo_runtime/services/results.py,sha256=cgw8g08GK8E3M_MRgixjOQwdv6o3qXZKCj8bV9gq4vE,950
|
98
64
|
oarepo_runtime/services/search.py,sha256=ywfwGH7oAM44WeOSjlIsY_qoCMZJ1TlTLd_NgE2ow3Y,5296
|
@@ -112,7 +78,7 @@ oarepo_runtime/services/facets/facet_groups_names.py,sha256=RR8eeUmD8d9t966Jqfhs
|
|
112
78
|
oarepo_runtime/services/facets/max_facet.py,sha256=TZ4KMKKVJHzyU1KgNne4V7IMQPu1ALRpkz61Y0labrc,407
|
113
79
|
oarepo_runtime/services/facets/nested_facet.py,sha256=y0xgjx37HsSj2xW7URxNemYTksD8hpPs7kOEfIBw22k,971
|
114
80
|
oarepo_runtime/services/facets/params.py,sha256=IaWZeojGvRnJUUHxs7hkiz_H0T6-qvbcFUuK03XHQCI,3098
|
115
|
-
oarepo_runtime/services/files/__init__.py,sha256=
|
81
|
+
oarepo_runtime/services/files/__init__.py,sha256=K8MStrEQf_BUhvzhwPTF93Hkhwrd1dtv35LDo7iZeTM,268
|
116
82
|
oarepo_runtime/services/files/service.py,sha256=8DH0Pefr9kilM2JnOb-UYsnqerE8Z1Mu4p6DOJ4j_ZU,608
|
117
83
|
oarepo_runtime/services/relations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
118
84
|
oarepo_runtime/services/relations/components.py,sha256=3g0VdnGUM-2yYt50fPi-OADReBGJb4h05vmYHfh-QFs,592
|
@@ -125,7 +91,7 @@ oarepo_runtime/services/schema/i18n_ui.py,sha256=18tA6uA067TP_wcit47hTel2M4hz88w
|
|
125
91
|
oarepo_runtime/services/schema/i18n_validation.py,sha256=fyMTi2Rw-KiHv7c7HN61zGxRVa9sAjAEEkAL5wUyKNo,236
|
126
92
|
oarepo_runtime/services/schema/marshmallow.py,sha256=LmcSxvbZ9jIhkNHCqqxt1SA2UNijoDmIzqli1MkoTrE,1153
|
127
93
|
oarepo_runtime/services/schema/polymorphic.py,sha256=CkvXVUiXbrsLWFgoNnjjpUviQyzRMCmpsD3GWfV0WZA,494
|
128
|
-
oarepo_runtime/services/schema/ui.py,sha256=
|
94
|
+
oarepo_runtime/services/schema/ui.py,sha256=_pUju7inYW-nx0h8NjjxraKTtOUn2aIxvUHzzC8BbRI,3517
|
129
95
|
oarepo_runtime/services/schema/validation.py,sha256=fahqKGDdIYWux5ZeoljrEe8VD2fDZR9VpfvYmTYAmpw,1050
|
130
96
|
oarepo_runtime/translations/default_translations.py,sha256=060GBlA1ghWxfeumo6NqxCCZDb-6OezOuF6pr-_GEOQ,104
|
131
97
|
oarepo_runtime/translations/jinjax_messages.jinja,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -134,14 +100,12 @@ oarepo_runtime/translations/cs/LC_MESSAGES/messages.mo,sha256=DtC7lBIWsacoe_chzI
|
|
134
100
|
oarepo_runtime/translations/cs/LC_MESSAGES/messages.po,sha256=vGZQo5NlTtj_qsJuDwJqI1kAkcyOM4m7UNWiVpgkmxo,1287
|
135
101
|
oarepo_runtime/translations/en/LC_MESSAGES/messages.mo,sha256=FKAl1wlg2NhtQ1-9U2dkUwcotR959j5GuUKJygCYpwI,445
|
136
102
|
oarepo_runtime/translations/en/LC_MESSAGES/messages.po,sha256=rZ2PGvkcJbmuwrWeFX5edk0zJIzZnL83M9HSAceDP_U,1193
|
137
|
-
oarepo_runtime/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
138
|
-
oarepo_runtime/ui/marshmallow.py,sha256=YV4C3E0WfRFt-P2HjKxzvZ7zdAoD_5R0PmrC361yFns,692
|
139
103
|
oarepo_runtime/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
140
104
|
oarepo_runtime/utils/path.py,sha256=V1NVyk3m12_YLbj7QHYvUpE1wScO78bYsX1LOLeXDkI,3108
|
141
105
|
tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
142
|
-
oarepo_runtime-1.4.
|
143
|
-
oarepo_runtime-1.4.
|
144
|
-
oarepo_runtime-1.4.
|
145
|
-
oarepo_runtime-1.4.
|
146
|
-
oarepo_runtime-1.4.
|
147
|
-
oarepo_runtime-1.4.
|
106
|
+
oarepo_runtime-1.4.45.dist-info/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
|
107
|
+
oarepo_runtime-1.4.45.dist-info/METADATA,sha256=ilVdi1MQjBYt1okdCPVRivzz_2DVFLTaK-cwMlolrY8,3785
|
108
|
+
oarepo_runtime-1.4.45.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
109
|
+
oarepo_runtime-1.4.45.dist-info/entry_points.txt,sha256=i61xMZGzeBtomvtSb2NYbw-JB5u3fMgDrP_tdDNWvlA,225
|
110
|
+
oarepo_runtime-1.4.45.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
|
111
|
+
oarepo_runtime-1.4.45.dist-info/RECORD,,
|
oarepo_runtime/cf/__init__.py
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.custom_fields import (
|
4
|
-
CustomFields,
|
5
|
-
CustomFieldsMixin,
|
6
|
-
InlinedCustomFields,
|
7
|
-
InlinedCustomFieldsSchemaMixin,
|
8
|
-
InlinedUICustomFieldsSchemaMixin,
|
9
|
-
)
|
10
|
-
|
11
|
-
warnings.warn(
|
12
|
-
"Deprecated, please use oarepo_runtime.services.custom_fields",
|
13
|
-
DeprecationWarning,
|
14
|
-
)
|
15
|
-
|
16
|
-
__all__ = (
|
17
|
-
"CustomFieldsMixin",
|
18
|
-
"CustomFields",
|
19
|
-
"InlinedCustomFields",
|
20
|
-
"InlinedCustomFieldsSchemaMixin",
|
21
|
-
"InlinedUICustomFieldsSchemaMixin",
|
22
|
-
)
|
oarepo_runtime/cf/mappings.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.custom_fields.mappings import Mapping, prepare_cf_indices
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.custom_fields.mappings.Mapping",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("Mapping", "prepare_cf_indices")
|
File without changes
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.config.permissions_presets import (
|
4
|
-
AuthenticatedPermissionPolicy,
|
5
|
-
EveryonePermissionPolicy,
|
6
|
-
OaiHarvesterPermissionPolicy,
|
7
|
-
ReadOnlyPermissionPolicy,
|
8
|
-
)
|
9
|
-
|
10
|
-
warnings.warn(
|
11
|
-
"Deprecated, please use oarepo_runtime.services.config.permissions_presets",
|
12
|
-
DeprecationWarning,
|
13
|
-
)
|
14
|
-
|
15
|
-
__all__ = (
|
16
|
-
"OaiHarvesterPermissionPolicy",
|
17
|
-
"ReadOnlyPermissionPolicy",
|
18
|
-
"EveryonePermissionPolicy",
|
19
|
-
"AuthenticatedPermissionPolicy",
|
20
|
-
)
|
oarepo_runtime/config/service.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.config.service import PermissionsPresetsConfigMixin
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.config.service.PermissionsPresetsConfigMixin",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("PermissionsPresetsConfigMixin",)
|
File without changes
|
File without changes
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.systemfields.has_draftcheck import HasDraftCheckField
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.records.systemfields.has_draftcheck.HasDraftCheckFieldt",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("HasDraftCheckField",)
|
File without changes
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.expansions.expandable_fields import (
|
4
|
-
ReferencedRecordExpandableField,
|
5
|
-
)
|
6
|
-
|
7
|
-
warnings.warn(
|
8
|
-
"Deprecated, please use oarepo_runtime.services.expansions.expandable_fields.ReferencedRecordExpandableField",
|
9
|
-
DeprecationWarning,
|
10
|
-
)
|
11
|
-
|
12
|
-
__all__ = ("ReferencedRecordExpandableField",)
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.expansions.service import ExpandableFieldsServiceMixin
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.expansions.service.ExpandableFieldsServiceMixin",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("ExpandableFieldsServiceMixin",)
|
File without changes
|
oarepo_runtime/facets/base.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.facets.base import LabelledValuesTermsFacet
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.facets.based.LabelledValuesTermsFacet",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("LabelledValuesTermsFacet",)
|
oarepo_runtime/facets/date.py
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.facets.date import (
|
4
|
-
AutoDateHistogramFacet,
|
5
|
-
DateFacet,
|
6
|
-
DateIntervalFacet,
|
7
|
-
DateTimeFacet,
|
8
|
-
EDTFFacet,
|
9
|
-
EDTFIntervalFacet,
|
10
|
-
TimeFacet,
|
11
|
-
)
|
12
|
-
|
13
|
-
warnings.warn(
|
14
|
-
"Deprecated, please use oarepo_runtime.services.facets.date",
|
15
|
-
DeprecationWarning,
|
16
|
-
)
|
17
|
-
|
18
|
-
__all__ = (
|
19
|
-
"DateFacet",
|
20
|
-
"TimeFacet",
|
21
|
-
"DateTimeFacet",
|
22
|
-
"EDTFFacet",
|
23
|
-
"AutoDateHistogramFacet",
|
24
|
-
"EDTFIntervalFacet",
|
25
|
-
"DateIntervalFacet",
|
26
|
-
)
|
oarepo_runtime/facets/enum.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.facets.nested_facet import NestedLabeledFacet
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.facets.nested_facet.NestedLabeledFacet",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("NestedLabeledFacet",)
|
oarepo_runtime/facets/params.py
DELETED
oarepo_runtime/i18n/dumper.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.dumpers.multilingual_dumper import MultilingualDumper
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.records.dumpers.multilingual_dumper.MultilingualDumper",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("MultilingualDumper",)
|
oarepo_runtime/i18n/schema.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.schema.i18n import I18nStrField, MultilingualField
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.schema.i18n",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("MultilingualField", "I18nStrField")
|
oarepo_runtime/i18n/ui_schema.py
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.schema.i18n_ui import (
|
4
|
-
I18nStrLocalizedUIField,
|
5
|
-
I18nStrUIField,
|
6
|
-
MultilingualLocalizedUIField,
|
7
|
-
MultilingualUIField,
|
8
|
-
)
|
9
|
-
|
10
|
-
warnings.warn(
|
11
|
-
"Deprecated, please use oarepo_runtime.services.schema.i18n_ui",
|
12
|
-
DeprecationWarning,
|
13
|
-
)
|
14
|
-
|
15
|
-
__all__ = (
|
16
|
-
"MultilingualUIField",
|
17
|
-
"I18nStrUIField",
|
18
|
-
"MultilingualLocalizedUIField",
|
19
|
-
"I18nStrLocalizedUIField",
|
20
|
-
)
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.schema.i18n_validation import lang_code_validator
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.schema.i18n_validation.lang_code_validator",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("lang_code_validator",)
|
oarepo_runtime/marshmallow.py
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.schema.marshmallow import BaseRecordSchema
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.schema.marshmallow.BaseRecordSchema",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("BaseRecordSchema",)
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.relations.base import (
|
4
|
-
InvalidCheckValue,
|
5
|
-
InvalidRelationValue,
|
6
|
-
Relation,
|
7
|
-
RelationResult,
|
8
|
-
RelationsField,
|
9
|
-
)
|
10
|
-
from oarepo_runtime.records.relations.internal import InternalRelation
|
11
|
-
from oarepo_runtime.records.relations.pid_relation import PIDRelation
|
12
|
-
|
13
|
-
warnings.warn(
|
14
|
-
"Deprecated, please use oarepo_runtime.records.relations",
|
15
|
-
DeprecationWarning,
|
16
|
-
)
|
17
|
-
|
18
|
-
__all__ = (
|
19
|
-
"Relation",
|
20
|
-
"RelationResult",
|
21
|
-
"InvalidRelationValue",
|
22
|
-
"InvalidCheckValue",
|
23
|
-
"RelationsField",
|
24
|
-
"InternalRelation",
|
25
|
-
"PIDRelation",
|
26
|
-
)
|
oarepo_runtime/relations/base.py
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.relations.base import (
|
4
|
-
InvalidCheckValue,
|
5
|
-
InvalidRelationValue,
|
6
|
-
Relation,
|
7
|
-
RelationResult,
|
8
|
-
RelationsField,
|
9
|
-
)
|
10
|
-
|
11
|
-
warnings.warn(
|
12
|
-
"Deprecated, please use oarepo_runtime.records.relations",
|
13
|
-
DeprecationWarning,
|
14
|
-
)
|
15
|
-
|
16
|
-
__all__ = (
|
17
|
-
"Relation",
|
18
|
-
"RelationResult",
|
19
|
-
"InvalidRelationValue",
|
20
|
-
"InvalidCheckValue",
|
21
|
-
"RelationsField",
|
22
|
-
)
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.relations.components import CachingRelationsComponent
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.services.relations.components.CachingRelationsComponent",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = ("CachingRelationsComponent",)
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.relations.errors import (
|
4
|
-
InvalidRelationError,
|
5
|
-
MultipleInvalidRelationErrors,
|
6
|
-
)
|
7
|
-
|
8
|
-
warnings.warn(
|
9
|
-
"Deprecated, please use oarepo_runtime.services.relations.errors",
|
10
|
-
DeprecationWarning,
|
11
|
-
)
|
12
|
-
|
13
|
-
__all__ = ("InvalidRelationError", "MultipleInvalidRelationErrors")
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.relations.internal import InternalRelation, InternalResult
|
4
|
-
|
5
|
-
warnings.warn(
|
6
|
-
"Deprecated, please use oarepo_runtime.records.relations",
|
7
|
-
DeprecationWarning,
|
8
|
-
)
|
9
|
-
|
10
|
-
__all__ = (
|
11
|
-
"InternalResult",
|
12
|
-
"InternalRelation",
|
13
|
-
)
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.records.relations.pid_relation import (
|
4
|
-
MetadataPIDRelation,
|
5
|
-
MetadataRelationResult,
|
6
|
-
PIDRelation,
|
7
|
-
PIDRelationResult,
|
8
|
-
)
|
9
|
-
|
10
|
-
warnings.warn(
|
11
|
-
"Deprecated, please use oarepo_runtime.records.relations",
|
12
|
-
DeprecationWarning,
|
13
|
-
)
|
14
|
-
|
15
|
-
__all__ = (
|
16
|
-
"PIDRelation",
|
17
|
-
"PIDRelationResult",
|
18
|
-
"MetadataPIDRelation",
|
19
|
-
"MetadataRelationResult",
|
20
|
-
)
|
oarepo_runtime/relations/uow.py
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.uow import CachingUnitOfWork
|
4
|
-
|
5
|
-
# moved to oarepo_runtime.uow, kept here for backward compatibility
|
6
|
-
|
7
|
-
warnings.warn(
|
8
|
-
"Deprecated, please use oarepo_runtime.uow.CachingUnitOfWork",
|
9
|
-
DeprecationWarning,
|
10
|
-
)
|
11
|
-
|
12
|
-
__all__ = ["CachingUnitOfWork"]
|
oarepo_runtime/ui/__init__.py
DELETED
File without changes
|
oarepo_runtime/ui/marshmallow.py
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
import warnings
|
2
|
-
|
3
|
-
from oarepo_runtime.services.schema.ui import (
|
4
|
-
FormatTimeString,
|
5
|
-
InvenioUISchema,
|
6
|
-
LocalizedDate,
|
7
|
-
LocalizedDateTime,
|
8
|
-
LocalizedEDTF,
|
9
|
-
LocalizedEDTFInterval,
|
10
|
-
LocalizedEnum,
|
11
|
-
LocalizedMixin,
|
12
|
-
LocalizedTime,
|
13
|
-
MultilayerFormatEDTF,
|
14
|
-
PrefixedGettextField,
|
15
|
-
)
|
16
|
-
|
17
|
-
warnings.warn(
|
18
|
-
"Deprecated, please use oarepo_runtime.services.schema.ui",
|
19
|
-
DeprecationWarning,
|
20
|
-
)
|
21
|
-
|
22
|
-
__all__ = (
|
23
|
-
"InvenioUISchema",
|
24
|
-
"LocalizedEnum",
|
25
|
-
"PrefixedGettextField",
|
26
|
-
"LocalizedEDTFInterval",
|
27
|
-
"LocalizedEDTF",
|
28
|
-
"LocalizedTime",
|
29
|
-
"LocalizedDateTime",
|
30
|
-
"MultilayerFormatEDTF",
|
31
|
-
"FormatTimeString",
|
32
|
-
"LocalizedDate",
|
33
|
-
"LocalizedMixin",
|
34
|
-
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|