oarepo-runtime 1.10.3__py3-none-any.whl → 2.0.0.dev3__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.
- oarepo_runtime/__init__.py +24 -0
- oarepo_runtime/api.py +111 -0
- oarepo_runtime/cli/__init__.py +10 -21
- oarepo_runtime/cli/search.py +34 -0
- oarepo_runtime/config.py +86 -13
- oarepo_runtime/ext.py +64 -82
- oarepo_runtime/proxies.py +21 -5
- oarepo_runtime/records/__init__.py +11 -50
- oarepo_runtime/records/drafts.py +24 -18
- oarepo_runtime/records/mapping.py +84 -0
- oarepo_runtime/records/pid_providers.py +43 -7
- oarepo_runtime/records/systemfields/__init__.py +15 -33
- oarepo_runtime/records/systemfields/mapping.py +41 -24
- oarepo_runtime/records/systemfields/publication_status.py +59 -0
- oarepo_runtime/services/__init__.py +12 -0
- oarepo_runtime/services/config/__init__.py +15 -21
- oarepo_runtime/services/config/link_conditions.py +69 -75
- oarepo_runtime/services/config/permissions.py +62 -0
- oarepo_runtime/services/records/__init__.py +14 -1
- oarepo_runtime/services/records/links.py +21 -11
- oarepo_runtime/services/records/mapping.py +42 -0
- oarepo_runtime/services/results.py +98 -109
- oarepo_runtime/services/schema/__init__.py +12 -44
- oarepo_runtime/services/schema/i18n.py +47 -22
- oarepo_runtime/services/schema/i18n_ui.py +61 -24
- {oarepo_runtime-1.10.3.dist-info → oarepo_runtime-2.0.0.dev3.dist-info}/METADATA +9 -21
- oarepo_runtime-2.0.0.dev3.dist-info/RECORD +30 -0
- {oarepo_runtime-1.10.3.dist-info → oarepo_runtime-2.0.0.dev3.dist-info}/WHEEL +1 -2
- oarepo_runtime-2.0.0.dev3.dist-info/entry_points.txt +5 -0
- oarepo_runtime/cli/assets.py +0 -145
- oarepo_runtime/cli/base.py +0 -25
- oarepo_runtime/cli/cf.py +0 -15
- oarepo_runtime/cli/check.py +0 -167
- oarepo_runtime/cli/configuration.py +0 -51
- oarepo_runtime/cli/fixtures.py +0 -167
- oarepo_runtime/cli/index.py +0 -272
- oarepo_runtime/cli/permissions/__init__.py +0 -6
- oarepo_runtime/cli/permissions/base.py +0 -26
- oarepo_runtime/cli/permissions/evaluate.py +0 -63
- oarepo_runtime/cli/permissions/list.py +0 -239
- oarepo_runtime/cli/permissions/search.py +0 -121
- oarepo_runtime/cli/validate.py +0 -150
- oarepo_runtime/datastreams/__init__.py +0 -38
- oarepo_runtime/datastreams/asynchronous.py +0 -247
- oarepo_runtime/datastreams/catalogue.py +0 -150
- oarepo_runtime/datastreams/datastreams.py +0 -152
- oarepo_runtime/datastreams/errors.py +0 -54
- oarepo_runtime/datastreams/ext.py +0 -41
- oarepo_runtime/datastreams/fixtures.py +0 -265
- oarepo_runtime/datastreams/json.py +0 -4
- oarepo_runtime/datastreams/readers/__init__.py +0 -39
- oarepo_runtime/datastreams/readers/attachments.py +0 -51
- oarepo_runtime/datastreams/readers/excel.py +0 -123
- oarepo_runtime/datastreams/readers/json.py +0 -27
- oarepo_runtime/datastreams/readers/service.py +0 -54
- oarepo_runtime/datastreams/readers/yaml.py +0 -14
- oarepo_runtime/datastreams/semi_asynchronous.py +0 -91
- oarepo_runtime/datastreams/synchronous.py +0 -70
- oarepo_runtime/datastreams/transformers.py +0 -18
- oarepo_runtime/datastreams/types.py +0 -323
- oarepo_runtime/datastreams/utils.py +0 -131
- oarepo_runtime/datastreams/writers/__init__.py +0 -21
- oarepo_runtime/datastreams/writers/attachments_file.py +0 -92
- oarepo_runtime/datastreams/writers/attachments_service.py +0 -118
- oarepo_runtime/datastreams/writers/publish.py +0 -70
- oarepo_runtime/datastreams/writers/service.py +0 -175
- oarepo_runtime/datastreams/writers/utils.py +0 -30
- oarepo_runtime/datastreams/writers/validation_errors.py +0 -20
- oarepo_runtime/datastreams/writers/yaml.py +0 -56
- oarepo_runtime/ext_config.py +0 -67
- oarepo_runtime/i18n/__init__.py +0 -3
- oarepo_runtime/info/__init__.py +0 -0
- oarepo_runtime/info/check.py +0 -95
- oarepo_runtime/info/permissions/__init__.py +0 -0
- oarepo_runtime/info/permissions/debug.py +0 -191
- oarepo_runtime/info/views.py +0 -586
- oarepo_runtime/profile.py +0 -60
- oarepo_runtime/records/dumpers/__init__.py +0 -8
- oarepo_runtime/records/dumpers/edtf_interval.py +0 -38
- oarepo_runtime/records/dumpers/multilingual_dumper.py +0 -34
- oarepo_runtime/records/entity_resolvers/__init__.py +0 -13
- oarepo_runtime/records/entity_resolvers/proxies.py +0 -57
- oarepo_runtime/records/mappings/__init__.py +0 -0
- oarepo_runtime/records/mappings/rdm_parent_mapping.json +0 -483
- oarepo_runtime/records/owners/__init__.py +0 -3
- oarepo_runtime/records/owners/registry.py +0 -22
- oarepo_runtime/records/relations/__init__.py +0 -22
- oarepo_runtime/records/relations/base.py +0 -296
- oarepo_runtime/records/relations/internal.py +0 -46
- oarepo_runtime/records/relations/lookup.py +0 -28
- oarepo_runtime/records/relations/pid_relation.py +0 -102
- oarepo_runtime/records/systemfields/featured_file.py +0 -45
- oarepo_runtime/records/systemfields/has_draftcheck.py +0 -47
- oarepo_runtime/records/systemfields/icu.py +0 -371
- oarepo_runtime/records/systemfields/owner.py +0 -115
- oarepo_runtime/records/systemfields/record_status.py +0 -35
- oarepo_runtime/records/systemfields/selectors.py +0 -98
- oarepo_runtime/records/systemfields/synthetic.py +0 -130
- oarepo_runtime/resources/__init__.py +0 -4
- oarepo_runtime/resources/config.py +0 -12
- oarepo_runtime/resources/file_resource.py +0 -15
- oarepo_runtime/resources/json_serializer.py +0 -27
- oarepo_runtime/resources/localized_ui_json_serializer.py +0 -54
- oarepo_runtime/resources/resource.py +0 -53
- oarepo_runtime/resources/responses.py +0 -20
- oarepo_runtime/services/components.py +0 -429
- oarepo_runtime/services/config/draft_link.py +0 -23
- oarepo_runtime/services/config/permissions_presets.py +0 -174
- oarepo_runtime/services/config/service.py +0 -117
- oarepo_runtime/services/custom_fields/__init__.py +0 -80
- oarepo_runtime/services/custom_fields/mappings.py +0 -188
- oarepo_runtime/services/entity/__init__.py +0 -0
- oarepo_runtime/services/entity/config.py +0 -14
- oarepo_runtime/services/entity/schema.py +0 -9
- oarepo_runtime/services/entity/service.py +0 -48
- oarepo_runtime/services/expansions/__init__.py +0 -0
- oarepo_runtime/services/expansions/expandable_fields.py +0 -21
- oarepo_runtime/services/expansions/service.py +0 -4
- oarepo_runtime/services/facets/__init__.py +0 -33
- oarepo_runtime/services/facets/base.py +0 -12
- oarepo_runtime/services/facets/date.py +0 -72
- oarepo_runtime/services/facets/enum.py +0 -11
- oarepo_runtime/services/facets/facet_groups_names.py +0 -17
- oarepo_runtime/services/facets/max_facet.py +0 -13
- oarepo_runtime/services/facets/multilingual_facet.py +0 -33
- oarepo_runtime/services/facets/nested_facet.py +0 -32
- oarepo_runtime/services/facets/params.py +0 -192
- oarepo_runtime/services/facets/year_histogram.py +0 -200
- oarepo_runtime/services/files/__init__.py +0 -8
- oarepo_runtime/services/files/components.py +0 -62
- oarepo_runtime/services/files/service.py +0 -16
- oarepo_runtime/services/generators.py +0 -10
- oarepo_runtime/services/permissions/__init__.py +0 -3
- oarepo_runtime/services/permissions/generators.py +0 -103
- oarepo_runtime/services/relations/__init__.py +0 -0
- oarepo_runtime/services/relations/components.py +0 -15
- oarepo_runtime/services/relations/errors.py +0 -18
- oarepo_runtime/services/relations/mapping.py +0 -38
- oarepo_runtime/services/schema/cf.py +0 -13
- oarepo_runtime/services/schema/i18n_validation.py +0 -7
- oarepo_runtime/services/schema/marshmallow.py +0 -44
- oarepo_runtime/services/schema/marshmallow_to_json_schema.py +0 -72
- oarepo_runtime/services/schema/oneofschema.py +0 -192
- oarepo_runtime/services/schema/polymorphic.py +0 -21
- oarepo_runtime/services/schema/rdm.py +0 -146
- oarepo_runtime/services/schema/rdm_ui.py +0 -156
- oarepo_runtime/services/schema/ui.py +0 -251
- oarepo_runtime/services/schema/validation.py +0 -70
- oarepo_runtime/services/search.py +0 -282
- oarepo_runtime/services/service.py +0 -61
- oarepo_runtime/tasks.py +0 -6
- oarepo_runtime/translations/cs/LC_MESSAGES/messages.mo +0 -0
- oarepo_runtime/translations/cs/LC_MESSAGES/messages.po +0 -95
- oarepo_runtime/translations/default_translations.py +0 -6
- oarepo_runtime/translations/en/LC_MESSAGES/messages.mo +0 -0
- oarepo_runtime/translations/en/LC_MESSAGES/messages.po +0 -97
- oarepo_runtime/translations/messages.pot +0 -100
- oarepo_runtime/uow.py +0 -146
- oarepo_runtime/utils/__init__.py +0 -0
- oarepo_runtime/utils/functools.py +0 -37
- oarepo_runtime/utils/identity_utils.py +0 -35
- oarepo_runtime/utils/index.py +0 -11
- oarepo_runtime/utils/path.py +0 -97
- oarepo_runtime-1.10.3.dist-info/RECORD +0 -163
- oarepo_runtime-1.10.3.dist-info/entry_points.txt +0 -16
- oarepo_runtime-1.10.3.dist-info/top_level.txt +0 -2
- tests/marshmallow_to_json/__init__.py +0 -0
- tests/marshmallow_to_json/test_datacite_ui_schema.py +0 -1410
- tests/marshmallow_to_json/test_simple_schema.py +0 -52
- tests/pkg_data/__init__.py +0 -0
- {oarepo_runtime-1.10.3.dist-info → oarepo_runtime-2.0.0.dev3.dist-info}/licenses/LICENSE +0 -0
oarepo_runtime/uow.py
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
import logging
|
2
|
-
import traceback
|
3
|
-
|
4
|
-
from flask import current_app
|
5
|
-
from invenio_indexer.api import bulk
|
6
|
-
from invenio_records_resources.services.uow import (
|
7
|
-
RecordCommitOp,
|
8
|
-
RecordDeleteOp,
|
9
|
-
UnitOfWork,
|
10
|
-
)
|
11
|
-
from opensearchpy.helpers import BulkIndexError, bulk
|
12
|
-
from opensearchpy.helpers import expand_action as default_expand_action
|
13
|
-
|
14
|
-
log = logging.getLogger("bulk_uow")
|
15
|
-
|
16
|
-
|
17
|
-
class CachingUnitOfWork(UnitOfWork):
|
18
|
-
def __init__(self, *args, **kwargs):
|
19
|
-
super().__init__(*args, **kwargs)
|
20
|
-
self.cache = {}
|
21
|
-
|
22
|
-
|
23
|
-
class BulkRecordCommitOp(RecordCommitOp):
|
24
|
-
def __init__(self, rc: RecordCommitOp):
|
25
|
-
super().__init__(rc._record, rc._indexer, rc._index_refresh)
|
26
|
-
self._previous = rc
|
27
|
-
|
28
|
-
def on_register(self, uow):
|
29
|
-
self._previous.on_register(uow)
|
30
|
-
|
31
|
-
def on_commit(self, uow):
|
32
|
-
"""Postponed."""
|
33
|
-
|
34
|
-
def get_index_action(self):
|
35
|
-
if self._indexer is None:
|
36
|
-
return None
|
37
|
-
|
38
|
-
index = self._indexer.record_to_index(self._record)
|
39
|
-
arguments = {}
|
40
|
-
body = self._indexer._prepare_record(self._record, index, arguments)
|
41
|
-
index = self._indexer._prepare_index(index)
|
42
|
-
|
43
|
-
action = {
|
44
|
-
"_op_type": "index",
|
45
|
-
"_index": index,
|
46
|
-
"_id": str(self._record.id),
|
47
|
-
"_version": self._record.revision_id,
|
48
|
-
"_version_type": self._indexer._version_type,
|
49
|
-
"_source": body,
|
50
|
-
}
|
51
|
-
action.update(arguments)
|
52
|
-
return action
|
53
|
-
|
54
|
-
|
55
|
-
class BulkRecordDeleteOp(RecordDeleteOp):
|
56
|
-
def __init__(self, rc: RecordDeleteOp):
|
57
|
-
super().__init__(rc._record, rc._indexer, rc._index_refresh)
|
58
|
-
self._previous = rc
|
59
|
-
|
60
|
-
def on_register(self, uow):
|
61
|
-
self._previous.on_register(uow)
|
62
|
-
|
63
|
-
def on_commit(self, uow):
|
64
|
-
"""Postponed."""
|
65
|
-
|
66
|
-
def get_index_action(self):
|
67
|
-
if self._indexer is None:
|
68
|
-
return None
|
69
|
-
index = self._indexer.record_to_index(self._record)
|
70
|
-
index = self._indexer._prepare_index(index)
|
71
|
-
|
72
|
-
action = {
|
73
|
-
"_op_type": "delete",
|
74
|
-
"_index": index,
|
75
|
-
"_id": str(self._record.id),
|
76
|
-
}
|
77
|
-
return action
|
78
|
-
|
79
|
-
|
80
|
-
class BulkUnitOfWork(CachingUnitOfWork):
|
81
|
-
_last_stack_trace = None
|
82
|
-
_last_exception = None
|
83
|
-
|
84
|
-
def register(self, op):
|
85
|
-
if isinstance(op, RecordCommitOp):
|
86
|
-
op = BulkRecordCommitOp(op)
|
87
|
-
elif isinstance(op, RecordDeleteOp):
|
88
|
-
op = BulkRecordDeleteOp(op)
|
89
|
-
return super().register(op)
|
90
|
-
|
91
|
-
def commit(self):
|
92
|
-
super().commit()
|
93
|
-
|
94
|
-
# do bulk indexing
|
95
|
-
bulk_data = []
|
96
|
-
indexer = None
|
97
|
-
for op in self._operations:
|
98
|
-
if isinstance(op, BulkRecordCommitOp) or isinstance(op, BulkRecordDeleteOp):
|
99
|
-
indexer = indexer or op._indexer
|
100
|
-
index_action = op.get_index_action()
|
101
|
-
if index_action:
|
102
|
-
bulk_data.append(index_action)
|
103
|
-
if indexer:
|
104
|
-
req_timeout = current_app.config["INDEXER_BULK_REQUEST_TIMEOUT"]
|
105
|
-
try:
|
106
|
-
resp = bulk(
|
107
|
-
indexer.client,
|
108
|
-
bulk_data,
|
109
|
-
stats_only=True,
|
110
|
-
request_timeout=req_timeout,
|
111
|
-
expand_action_callback=default_expand_action,
|
112
|
-
refresh=True,
|
113
|
-
)
|
114
|
-
except BulkIndexError as e:
|
115
|
-
raise e
|
116
|
-
|
117
|
-
def _mark_dirty(self):
|
118
|
-
"""Mark the unit of work as dirty."""
|
119
|
-
if self._dirty:
|
120
|
-
if self._last_stack_trace:
|
121
|
-
log.error(
|
122
|
-
f"UnitOfWork already committed or rolled back at {self._last_stack_trace}. "
|
123
|
-
f"Previous exception was {self._last_exception}"
|
124
|
-
)
|
125
|
-
|
126
|
-
raise RuntimeError(
|
127
|
-
f"The unit of work is already committed or rolledback. "
|
128
|
-
f"Set error level for logger 'bulk_uow' to at least WARNING "
|
129
|
-
f"to see the stack trace of the previous invocation."
|
130
|
-
)
|
131
|
-
|
132
|
-
self._dirty = True
|
133
|
-
if log.getEffectiveLevel() >= logging.WARNING:
|
134
|
-
try:
|
135
|
-
self._last_stack_trace = "\n"
|
136
|
-
self._last_stack_trace += "\n".join(traceback.format_stack())
|
137
|
-
except:
|
138
|
-
pass
|
139
|
-
|
140
|
-
try:
|
141
|
-
self._last_exception = traceback.format_exc()
|
142
|
-
except:
|
143
|
-
pass
|
144
|
-
|
145
|
-
|
146
|
-
__all__ = ["BulkUnitOfWork"]
|
oarepo_runtime/utils/__init__.py
DELETED
File without changes
|
@@ -1,37 +0,0 @@
|
|
1
|
-
def try_sequence(*funcs, ignored_exceptions=(), raised_exception=Exception):
|
2
|
-
raised_exceptions = []
|
3
|
-
for func in funcs:
|
4
|
-
try:
|
5
|
-
return func()
|
6
|
-
except ignored_exceptions as e:
|
7
|
-
raised_exceptions.append(e)
|
8
|
-
raise raised_exception(raised_exceptions) from raised_exceptions[-1]
|
9
|
-
|
10
|
-
|
11
|
-
class class_property:
|
12
|
-
def __init__(self, getter=None, setter=None):
|
13
|
-
if getter is not None and not isinstance(getter, classmethod):
|
14
|
-
getter = classmethod(getter)
|
15
|
-
if setter is not None and not isinstance(setter, classmethod):
|
16
|
-
setter = classmethod(setter)
|
17
|
-
self.__get = getter
|
18
|
-
self.__set = setter
|
19
|
-
|
20
|
-
if getter:
|
21
|
-
info = getter.__get__(object) # just need the info attrs.
|
22
|
-
self.__doc__ = info.__doc__
|
23
|
-
self.__name__ = info.__name__
|
24
|
-
self.__module__ = info.__module__
|
25
|
-
|
26
|
-
def __get__(self, obj, type=None): # NOSONAR - this is a descriptor
|
27
|
-
if obj and type is None:
|
28
|
-
type = obj.__class__ # NOSONAR - this is a descriptor
|
29
|
-
return self.__get.__get__(obj, type)()
|
30
|
-
|
31
|
-
def __set__(self, obj, value):
|
32
|
-
if obj is None:
|
33
|
-
return self
|
34
|
-
return self.__set.__get__(obj)(value)
|
35
|
-
|
36
|
-
def setter(self, setter):
|
37
|
-
return self.__class__(self.__get, setter)
|
@@ -1,35 +0,0 @@
|
|
1
|
-
from flask import current_app
|
2
|
-
from flask_principal import Identity, UserNeed, identity_loaded
|
3
|
-
from invenio_access.models import User
|
4
|
-
|
5
|
-
|
6
|
-
def get_user_and_identity(user_id=None, username=None, email=None):
|
7
|
-
def lookup_user():
|
8
|
-
if user_id is not None:
|
9
|
-
return User.query.filter_by(id=user_id).one()
|
10
|
-
elif username is not None:
|
11
|
-
return User.query.filter_by(username=username).one()
|
12
|
-
elif email is not None:
|
13
|
-
return User.query.filter_by(email=email).one()
|
14
|
-
else:
|
15
|
-
raise ValueError(
|
16
|
-
"At least one of user_id, username, or email must be provided."
|
17
|
-
)
|
18
|
-
|
19
|
-
user = lookup_user()
|
20
|
-
|
21
|
-
identity = Identity(user.id)
|
22
|
-
identity.provides.add(UserNeed(user.id))
|
23
|
-
if (
|
24
|
-
hasattr(current_app.wsgi_app, "mounts")
|
25
|
-
and "/api" in current_app.wsgi_app.mounts
|
26
|
-
):
|
27
|
-
# called from UI
|
28
|
-
api_app = current_app.wsgi_app.mounts["/api"]
|
29
|
-
else:
|
30
|
-
# called from API
|
31
|
-
api_app = current_app
|
32
|
-
with api_app.app_context():
|
33
|
-
with current_app.test_request_context("/api"):
|
34
|
-
identity_loaded.send(api_app, identity=identity)
|
35
|
-
return user, identity
|
oarepo_runtime/utils/index.py
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
from invenio_search import current_search_client
|
2
|
-
from invenio_search.utils import build_alias_name
|
3
|
-
from invenio_search.engine import dsl
|
4
|
-
|
5
|
-
def prefixed_index(index):
|
6
|
-
return dsl.Index(
|
7
|
-
build_alias_name(
|
8
|
-
index._name,
|
9
|
-
),
|
10
|
-
using = current_search_client
|
11
|
-
)
|
oarepo_runtime/utils/path.py
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
import dataclasses
|
2
|
-
from typing import Any, Dict, Iterator, List, Optional, Union
|
3
|
-
|
4
|
-
|
5
|
-
@dataclasses.dataclass
|
6
|
-
class PathPrefix:
|
7
|
-
key: str
|
8
|
-
matched_path: Union[int, None]
|
9
|
-
sub_prefixes: List["PathPrefix"] = dataclasses.field(default_factory=list)
|
10
|
-
|
11
|
-
|
12
|
-
@dataclasses.dataclass
|
13
|
-
class PathStackEntry:
|
14
|
-
parent_data: Dict[str, Any]
|
15
|
-
prefix: PathPrefix
|
16
|
-
index: Optional[int] = None
|
17
|
-
|
18
|
-
@property
|
19
|
-
def key(self):
|
20
|
-
return self.prefix.key
|
21
|
-
|
22
|
-
@property
|
23
|
-
def current(self):
|
24
|
-
ret = self.parent_data[self.prefix.key]
|
25
|
-
if self.index is not None:
|
26
|
-
ret = ret[self.index]
|
27
|
-
return ret
|
28
|
-
|
29
|
-
def set(self, value):
|
30
|
-
if self.index is None:
|
31
|
-
self.parent_data[self.prefix.key] = value
|
32
|
-
else:
|
33
|
-
self.parent_data[self.prefix.key][self.index] = value
|
34
|
-
|
35
|
-
def enter(self, prefix: PathPrefix):
|
36
|
-
current = self.current
|
37
|
-
if not isinstance(current, dict):
|
38
|
-
return []
|
39
|
-
if prefix.key not in current:
|
40
|
-
return []
|
41
|
-
child = current[prefix.key]
|
42
|
-
if isinstance(child, (list, tuple)):
|
43
|
-
return [
|
44
|
-
# the data in the entry is parent data, that's why current is here
|
45
|
-
PathStackEntry(parent_data=current, prefix=prefix, index=idx)
|
46
|
-
for idx, x in enumerate(child)
|
47
|
-
]
|
48
|
-
else:
|
49
|
-
return [
|
50
|
-
# the data in the entry is parent data, that's why current is here
|
51
|
-
PathStackEntry(parent_data=current, prefix=prefix)
|
52
|
-
]
|
53
|
-
|
54
|
-
|
55
|
-
class PathTraversal:
|
56
|
-
"""A helper class for getting data at multiple paths"""
|
57
|
-
|
58
|
-
def __init__(self, paths):
|
59
|
-
self.paths = paths
|
60
|
-
self._create_path_tree()
|
61
|
-
|
62
|
-
def _create_path_tree(self):
|
63
|
-
"""
|
64
|
-
Create tree of PathPrefix objects from a list of paths
|
65
|
-
"""
|
66
|
-
root = PathPrefix("", None)
|
67
|
-
for path_idx, pth in enumerate(self.paths):
|
68
|
-
node = root
|
69
|
-
split_path = pth.split("/")
|
70
|
-
for idx, entry in enumerate(split_path):
|
71
|
-
try:
|
72
|
-
node = next(x for x in node.sub_prefixes if x.key == entry)
|
73
|
-
except StopIteration:
|
74
|
-
child = PathPrefix(
|
75
|
-
entry, path_idx if idx + 1 == len(split_path) else None
|
76
|
-
)
|
77
|
-
node.sub_prefixes.append(child)
|
78
|
-
node = child
|
79
|
-
self._path_tree = root
|
80
|
-
|
81
|
-
def iter(self, data) -> Iterator[List[PathStackEntry]]:
|
82
|
-
"""
|
83
|
-
yields List[PathStackEntry] for each matching path
|
84
|
-
"""
|
85
|
-
queue = [[PathStackEntry({"": data}, self._path_tree, None)]]
|
86
|
-
while queue:
|
87
|
-
prefix_node: PathPrefix
|
88
|
-
stack = queue.pop()
|
89
|
-
top: PathStackEntry = stack[-1]
|
90
|
-
prefix = top.prefix
|
91
|
-
if prefix.matched_path is not None:
|
92
|
-
yield stack
|
93
|
-
for sub_prefix in reversed(prefix.sub_prefixes):
|
94
|
-
children = top.enter(sub_prefix)
|
95
|
-
for child in children:
|
96
|
-
queue.append(stack + [child])
|
97
|
-
return data
|
@@ -1,163 +0,0 @@
|
|
1
|
-
oarepo_runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
oarepo_runtime/config.py,sha256=nf3hqcldk4-ixswZqIDHgX3EvNRiOlNdkavPz_RUkqw,601
|
3
|
-
oarepo_runtime/ext.py,sha256=BcKI63tMxHd3tqx3CBqCQhQiBo27GvevQxuQMd606qg,3476
|
4
|
-
oarepo_runtime/ext_config.py,sha256=ERpi6uJqDE6OpqebB_vuusmoB3xaAziuKeGVxVI5Q-w,2155
|
5
|
-
oarepo_runtime/profile.py,sha256=QzrQoZncjoN74ZZnpkEKakNk08KCzBU7m6y42RN8AMY,1637
|
6
|
-
oarepo_runtime/proxies.py,sha256=q32CkxxF55xEZKexztnK_EQh6x6ke0ns8p5Cpxtp73c,413
|
7
|
-
oarepo_runtime/tasks.py,sha256=AciXN1fUq6tzfzNSICh1S6XoHGWiuH76bUqXyzTsOPU,140
|
8
|
-
oarepo_runtime/uow.py,sha256=iyF3R2oCPSVUu38GXoxZallgRD-619q1fWTb8sSaeyQ,4412
|
9
|
-
oarepo_runtime/cli/__init__.py,sha256=SM_bMRWDfNAuNElDGTvLkIEe2vpKOSBYICH6IHxxAIk,458
|
10
|
-
oarepo_runtime/cli/assets.py,sha256=ZG80xIOKch7rsU_7QlvZxBQAXNQ9ow5xLsUREsl5MEE,4076
|
11
|
-
oarepo_runtime/cli/base.py,sha256=94RBTa8TOSPxEyEUmYLGXaWen-XktP2-MIbTtZSlCZo,544
|
12
|
-
oarepo_runtime/cli/cf.py,sha256=W0JEJK2JqKubQw8qtZJxohmADDRUBode4JZAqYLDGvc,339
|
13
|
-
oarepo_runtime/cli/check.py,sha256=sCe2PeokSHvNOXHFZ8YHF8NMhsu5nYjyuZuvXHJ6X18,5092
|
14
|
-
oarepo_runtime/cli/configuration.py,sha256=M_19zrS0vo-7uHi047a3i4rQsK6pmp4QS0IEBAxMLZ0,2039
|
15
|
-
oarepo_runtime/cli/fixtures.py,sha256=_aMQqPnspG0JuL5ewYTBa3HY1RaoOAI0V2R5q7e5frw,5570
|
16
|
-
oarepo_runtime/cli/index.py,sha256=8Q2KZlAWjoMyZ9Ft9WIBJDws0ce15VF12o1tdYUP7AI,8936
|
17
|
-
oarepo_runtime/cli/validate.py,sha256=vcN7uj9tXOeQ4_vRv-ZYLc-aW43_qRYltJR8NiPLZKk,4318
|
18
|
-
oarepo_runtime/cli/permissions/__init__.py,sha256=2qufYdUoCb9kG7Zy0gKNW5lpRyqbVQSNsf7shLwrThM,198
|
19
|
-
oarepo_runtime/cli/permissions/base.py,sha256=Q5txKaofSzAlTVHn1fu5YurwF16Pkh63YB9U6xWYVAU,804
|
20
|
-
oarepo_runtime/cli/permissions/evaluate.py,sha256=gxkHySd1vM7lSjR-xXzcACkCKDYurl5c567Kq5FVzpM,2086
|
21
|
-
oarepo_runtime/cli/permissions/list.py,sha256=TYntLPqHGCcs73FzHX-nEnh-2TtUoNwRN8aJ5358xE4,9853
|
22
|
-
oarepo_runtime/cli/permissions/search.py,sha256=2e1NHxNk72T93U3eB6BDoSr-qL_O6aySujw0YB4OQmE,3528
|
23
|
-
oarepo_runtime/datastreams/__init__.py,sha256=_i52Ek9J8DMARST0ejZAZPzUKm55xrrlKlCSO7dl6y4,1008
|
24
|
-
oarepo_runtime/datastreams/asynchronous.py,sha256=JwT-Hx6P7KwV0vSJlxX6kLSIX5vtsekVsA2p_hZpJ_U,7402
|
25
|
-
oarepo_runtime/datastreams/catalogue.py,sha256=D6leq-FPT3RP3SniEAXPm66v3q8ZdQnaUYJ5XM0dIFY,5021
|
26
|
-
oarepo_runtime/datastreams/datastreams.py,sha256=N9XXwIaBTADkPhE-XG6uotMwd-8Kn0vEZOoeV2BnMGI,4679
|
27
|
-
oarepo_runtime/datastreams/errors.py,sha256=WyZLU53EdFJTLv6K2ooM_M6ISjLS-U1dDw6B7guOLSc,1540
|
28
|
-
oarepo_runtime/datastreams/ext.py,sha256=dLdWK45W366e9Ksmy1bOIfkIg-875kI3DroKddGkILw,1522
|
29
|
-
oarepo_runtime/datastreams/fixtures.py,sha256=oc3b1XP7gJmEXVskZTltZUasdeTux-wbgxox66OyIT8,8901
|
30
|
-
oarepo_runtime/datastreams/json.py,sha256=OkIkGKUawtYoGelyS5V92DVk7Ei7SlkMMny2Ue2dDWc,132
|
31
|
-
oarepo_runtime/datastreams/semi_asynchronous.py,sha256=kNc6BBnV6oFoY9kHgf5l8fd1wibRfI0dwyzLtu4fmUA,2940
|
32
|
-
oarepo_runtime/datastreams/synchronous.py,sha256=t5lfnMkLqy3jK5zMl-nIuA0HlMPiHGjwCqZ8XQP-3GM,2595
|
33
|
-
oarepo_runtime/datastreams/transformers.py,sha256=q5KzHPl2kJg7HP1BtKJ7F_UMqg_7L1ZGDX0O7s8D6UI,521
|
34
|
-
oarepo_runtime/datastreams/types.py,sha256=pAxb1R9tJyatkX7Zo9IYi-Dm8c6DOdvh0_XMix4yZyg,10130
|
35
|
-
oarepo_runtime/datastreams/utils.py,sha256=w24qRRw1ZawPFbgqtxhpYnxPnghSn0pp49JLLy8wTms,4280
|
36
|
-
oarepo_runtime/datastreams/readers/__init__.py,sha256=P1n3llZQ3AFHnSPbeT1VaCJcEtRFz9AbHfjkZv5LG7s,1103
|
37
|
-
oarepo_runtime/datastreams/readers/attachments.py,sha256=A7EC1TqyTHG-go5DIaRotlBSOm6o9hGqAKyVVAceCRU,1956
|
38
|
-
oarepo_runtime/datastreams/readers/excel.py,sha256=CM8lr8mejN7NgoK5TJb1oXpjq0HxklQKMsuj3uqjTjA,3653
|
39
|
-
oarepo_runtime/datastreams/readers/json.py,sha256=nkmnF4l6JcaFVCRD36IikXv-Z6bkOjntvL4QhSv-OFU,835
|
40
|
-
oarepo_runtime/datastreams/readers/service.py,sha256=izIMcrsUr4_qRZXHKQZs7Tyn1OpWikZQRLWvANwYCx0,2141
|
41
|
-
oarepo_runtime/datastreams/readers/yaml.py,sha256=U4nyJQ8ocM_ohp-eUN1RjVoNzYV9z7xQ1XiQKG_B9Kk,408
|
42
|
-
oarepo_runtime/datastreams/writers/__init__.py,sha256=PWufWNrixFhXv5wSv3_pzmrimroqVB2DVgTxVtY5FCg,526
|
43
|
-
oarepo_runtime/datastreams/writers/attachments_file.py,sha256=kV_IPAWawJ9PX-IfoncmLQXpdTbzRMsJie8uKX1vNp0,3161
|
44
|
-
oarepo_runtime/datastreams/writers/attachments_service.py,sha256=g72781UnSgdYvYvAaDPAB_RqW9cBH7WcOOyTsICZIGY,4418
|
45
|
-
oarepo_runtime/datastreams/writers/publish.py,sha256=XHs74_1vJhE82cpImZ7MruGX4F3qN3M0I6tR8AxT7L4,2422
|
46
|
-
oarepo_runtime/datastreams/writers/service.py,sha256=IqIPk477vLVxOsFYDxAmqRkk3YuZJ7KdqOia4cFjLLw,6490
|
47
|
-
oarepo_runtime/datastreams/writers/utils.py,sha256=Lk_ZLNeXTLuFEn04lw1-6bJ7duG6kwA8X4wf9c_GiL4,1067
|
48
|
-
oarepo_runtime/datastreams/writers/validation_errors.py,sha256=wOCXdniR6so_4ExpdFYYgBRyENp7_6kVFZM2L-Hy3G8,661
|
49
|
-
oarepo_runtime/datastreams/writers/yaml.py,sha256=XchUJHQ58E2Mfgs8elImXbL38jFtI8Hfoye6yaR0gKI,1482
|
50
|
-
oarepo_runtime/i18n/__init__.py,sha256=h0knW_HwiyIt5TBHfdGqN7_BBYfpz1Fw6zhVy0C28fM,111
|
51
|
-
oarepo_runtime/info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
|
-
oarepo_runtime/info/check.py,sha256=6O5Wjsdorx4eqiBiPU3z33XhCiwPTO_FGkzMDK7UH6I,3049
|
53
|
-
oarepo_runtime/info/views.py,sha256=5ygLgiZilk33OhrnB0h83-MG6K8nsmJFOiJaTBQc43c,21070
|
54
|
-
oarepo_runtime/info/permissions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
|
-
oarepo_runtime/info/permissions/debug.py,sha256=2gak5W64g_AAZoX8cCII2di4G_jBo1ZvnU5ceP_u6z4,6722
|
56
|
-
oarepo_runtime/records/__init__.py,sha256=JUf9_o09_6q4vuG43JzhSeTu7c-m_CVDSmgTQ7epYEo,1776
|
57
|
-
oarepo_runtime/records/drafts.py,sha256=8BRmxXcKyVMBQbMMhVScPS_T7lwvR8kGKYQAxaVaD1k,1371
|
58
|
-
oarepo_runtime/records/pid_providers.py,sha256=V9KIeffLoFwjh7PDEBkpmVQb2j7w9pgKr9OlHV5g8S4,736
|
59
|
-
oarepo_runtime/records/dumpers/__init__.py,sha256=OmzNhLdMNKibmCksnj9eTX9xPBG30dziiK3j3bAAp3k,233
|
60
|
-
oarepo_runtime/records/dumpers/edtf_interval.py,sha256=8bE3JlaR7b33rxDc7LW9R8jcwNI66Zb07Jee6YUmlrE,1231
|
61
|
-
oarepo_runtime/records/dumpers/multilingual_dumper.py,sha256=vcoY25VZSyo3q7Zgexo0IOkE6xq1yTAM3uq7GZcSgUQ,1162
|
62
|
-
oarepo_runtime/records/entity_resolvers/__init__.py,sha256=UiiIT54pUu9j7qPAPfqVp4UTnXnppp0c_LtKbFnyt6Y,383
|
63
|
-
oarepo_runtime/records/entity_resolvers/proxies.py,sha256=P9c8JeHc25i_v8uXxTMHNlMNTFskET6dTM0VVMfLfyk,2097
|
64
|
-
oarepo_runtime/records/mappings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
65
|
-
oarepo_runtime/records/mappings/rdm_parent_mapping.json,sha256=ykgVr-navpy-HlhUN78sZ1ZpcAaduzZ0ESpphLK4b5E,14233
|
66
|
-
oarepo_runtime/records/owners/__init__.py,sha256=R4hudCBqLRRzgCnkEjXIL7hSp068z-s6YOwYSkWyuaw,93
|
67
|
-
oarepo_runtime/records/owners/registry.py,sha256=fYgBuW5nBKn6pyz2OBgfNlynk64_yhQ9J7FzPk8QU1U,795
|
68
|
-
oarepo_runtime/records/relations/__init__.py,sha256=Zn7JeQrd5f1doWl5IpbNSpO8m8hm1m-oljAW-7WHn-k,477
|
69
|
-
oarepo_runtime/records/relations/base.py,sha256=ESTwj0-eT8HRTJ8QcE5fmqzjOjBFHpQqe4SiqbE7Xtw,10006
|
70
|
-
oarepo_runtime/records/relations/internal.py,sha256=OTp8iJqyl80sWDk0Q0AK42l6UsxZDABspVU_GwWza9o,1556
|
71
|
-
oarepo_runtime/records/relations/lookup.py,sha256=wi3jPfOedazOmhOMrgu50PUETc1jfSdpmjK0wvOFsEM,848
|
72
|
-
oarepo_runtime/records/relations/pid_relation.py,sha256=eojw5uIo5zXmJGge_bj6Wj2njCRY5S4o4B_h_HFyaDY,3901
|
73
|
-
oarepo_runtime/records/systemfields/__init__.py,sha256=fU1IiZ24AX92TQi4GZsuBjT9JvtSklk5ANXbabcRkZg,709
|
74
|
-
oarepo_runtime/records/systemfields/featured_file.py,sha256=MbSaYR130_o5S9gEOblnChq-PVK4xGPGpSCrzwG3cwc,1720
|
75
|
-
oarepo_runtime/records/systemfields/has_draftcheck.py,sha256=4JkMEefPLpqtPtlTgK3UT0KzTRgyw5_Qtkss2qcz5xk,1643
|
76
|
-
oarepo_runtime/records/systemfields/icu.py,sha256=LqttWKdbtBw2FIIrtfDzn3-8jj-e0blm3Oz_XjFtiJw,12625
|
77
|
-
oarepo_runtime/records/systemfields/mapping.py,sha256=_Xr9iFJg5Gu198o4rH8bD3TQkRE4AVKXfZBTHa6QHh0,985
|
78
|
-
oarepo_runtime/records/systemfields/owner.py,sha256=dYRVBinniW7ECHuSnTAjeN6x1KhhJtNR9vxmD1KswMs,3805
|
79
|
-
oarepo_runtime/records/systemfields/record_status.py,sha256=U3kem4-JkNsT17e0iAl3HIAZ2MvO5lY_0U757aZvTKE,935
|
80
|
-
oarepo_runtime/records/systemfields/selectors.py,sha256=Q9jE1smSN3heT2LIpK_jB6bIRjll1kX0AW9AhTsIYiU,2830
|
81
|
-
oarepo_runtime/records/systemfields/synthetic.py,sha256=UustvhzcDGuaNZLDeHbWwshoxQR-qRIuHDCct5RXmrI,4287
|
82
|
-
oarepo_runtime/resources/__init__.py,sha256=v8BGrOTu_FjKzd0eozV7Q4GoGxyfybsL2cI-tbP5Pys,185
|
83
|
-
oarepo_runtime/resources/config.py,sha256=34kfNh2hVYYS9q1CYziiNdFzTvDuSXKd4W1n1OQtm-c,308
|
84
|
-
oarepo_runtime/resources/file_resource.py,sha256=Ta3bFce7l0xwqkkOMOEu9mxbB8BbKj5HUHRHmidhnl8,414
|
85
|
-
oarepo_runtime/resources/json_serializer.py,sha256=82_-xQEtxKaPakv8R1oBAFbGnxskF_Ve4tcfcy4PetI,963
|
86
|
-
oarepo_runtime/resources/localized_ui_json_serializer.py,sha256=3V9cJaG_e1PMXKVX_wKfBp1LmbeForwHyBNYdyha4uQ,1878
|
87
|
-
oarepo_runtime/resources/resource.py,sha256=dSpaPW6l_kTTzaq5LkZODyOzbL_T3-lU2uX65SQ46gE,1718
|
88
|
-
oarepo_runtime/resources/responses.py,sha256=Pj-K_r-QO9B2n9STcfqsrBQu1e3iYhdEBFSVTeWR7cM,738
|
89
|
-
oarepo_runtime/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
90
|
-
oarepo_runtime/services/components.py,sha256=0aqmuNbGCQhfOI22f6mM2DxuKSTqstGOGyisOiqw9KE,15481
|
91
|
-
oarepo_runtime/services/generators.py,sha256=j87HitHA_w2awsz0C5IAAJ0qjg9JMtvdO3dvh6FQyfg,250
|
92
|
-
oarepo_runtime/services/results.py,sha256=MxkoMkquISMKyP6De_xOF-IzQE9wRYtq3d_OFAqqIVo,6156
|
93
|
-
oarepo_runtime/services/search.py,sha256=t0WEe2VrbCzZ06-Jgz7C9-pc9y27BqAgTEXldEHskfk,9409
|
94
|
-
oarepo_runtime/services/service.py,sha256=-Cd7R6Y8UW01Gsyprhtm4-iyBVBKFs4kOaka7mUGH7o,1886
|
95
|
-
oarepo_runtime/services/config/__init__.py,sha256=aRxCBLN9pqCgdYlF-KJYtDzt2mwJ66npdceOAZkMfa0,888
|
96
|
-
oarepo_runtime/services/config/draft_link.py,sha256=Hq541t33F3lEZo6XTexzdxneKJOmLBLujFdyT1w1TbE,698
|
97
|
-
oarepo_runtime/services/config/link_conditions.py,sha256=5hDEtCaQt1tzjb9gGdeimsmKNoWWPicIeYKfI8Fg8Qw,3866
|
98
|
-
oarepo_runtime/services/config/permissions_presets.py,sha256=b1wm3JjL8KgkaH7VMkNfdMk5fXtf3X87rB7gkvaNxns,7369
|
99
|
-
oarepo_runtime/services/config/service.py,sha256=KS1eKXjRzusD_UAKanzKezua2lmo9vObwqd63dky1ik,4593
|
100
|
-
oarepo_runtime/services/custom_fields/__init__.py,sha256=_gqMcA_I3rdEZcBtCuDjO4wdVCqFML5NzaccuPx5a3o,2565
|
101
|
-
oarepo_runtime/services/custom_fields/mappings.py,sha256=U43noOuANohgoZt7YoAT3B6NgDCLKIRVKigPHzsreQU,6970
|
102
|
-
oarepo_runtime/services/entity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
103
|
-
oarepo_runtime/services/entity/config.py,sha256=1jfdPrxSbMuKj7eOUNKRWTCPbBPyRV6MrWE4Vgf9rX0,399
|
104
|
-
oarepo_runtime/services/entity/schema.py,sha256=8TBpUFRITaBO7qCMz36cly1Hj4I1nLa9PeSAfWSa2YM,157
|
105
|
-
oarepo_runtime/services/entity/service.py,sha256=Y8QJ4sWZpX89IKTyo90pJlRfEN-iWg9tFN_5_RGMiaQ,1475
|
106
|
-
oarepo_runtime/services/expansions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
|
-
oarepo_runtime/services/expansions/expandable_fields.py,sha256=7DWKFL6ml8J7zGI6wm9LO7Xd6R0LSylsuq4lyRumNHQ,745
|
108
|
-
oarepo_runtime/services/expansions/service.py,sha256=HaEy76XOhDf__sQ91hi-8iH1hthM9q07pRhOmyZyVrs,144
|
109
|
-
oarepo_runtime/services/facets/__init__.py,sha256=7FIw8B2UWaTUs6yGo74knzvE9T_rSrVRmLo9RA2Tgms,888
|
110
|
-
oarepo_runtime/services/facets/base.py,sha256=-IEUUY0hZcAh_3SelceTjMSw_SaqMhgnLxzG62iq7tA,421
|
111
|
-
oarepo_runtime/services/facets/date.py,sha256=Q0NP1YaCNHI6z11q927Wa41fBrzj4K08Ff-TPH2TLCg,2074
|
112
|
-
oarepo_runtime/services/facets/enum.py,sha256=3LrShQIt9Vt5mkqUkc6FNxXCW5JEFdPwtGCTEmNB6i0,396
|
113
|
-
oarepo_runtime/services/facets/facet_groups_names.py,sha256=RR8eeUmD8d9t966JqfhslZnILn_xDSfYlL0hjyJT92Y,468
|
114
|
-
oarepo_runtime/services/facets/max_facet.py,sha256=TZ4KMKKVJHzyU1KgNne4V7IMQPu1ALRpkz61Y0labrc,407
|
115
|
-
oarepo_runtime/services/facets/multilingual_facet.py,sha256=8L3uvk19n4Zy0vD-XnR7qW1qpse-rIPGyXNFh1qlizk,1307
|
116
|
-
oarepo_runtime/services/facets/nested_facet.py,sha256=y0xgjx37HsSj2xW7URxNemYTksD8hpPs7kOEfIBw22k,971
|
117
|
-
oarepo_runtime/services/facets/params.py,sha256=270La-A9582aDF3D4_bMSLWv4VsPeMiqbb9jA301Q5w,6585
|
118
|
-
oarepo_runtime/services/facets/year_histogram.py,sha256=kdfwx1lgw4UmfjdaqqeElJCB8rAduMH2hy42aZjY37w,6257
|
119
|
-
oarepo_runtime/services/files/__init__.py,sha256=K8MStrEQf_BUhvzhwPTF93Hkhwrd1dtv35LDo7iZeTM,268
|
120
|
-
oarepo_runtime/services/files/components.py,sha256=x6Wd-vvkqTqB1phj2a6h42DNQksN8PuR2XKaOGoNHfw,2400
|
121
|
-
oarepo_runtime/services/files/service.py,sha256=8DH0Pefr9kilM2JnOb-UYsnqerE8Z1Mu4p6DOJ4j_ZU,608
|
122
|
-
oarepo_runtime/services/permissions/__init__.py,sha256=33zqKGgRQmRfNZI8kAhue1bFoT1deYiVVNinP8Bvv0I,123
|
123
|
-
oarepo_runtime/services/permissions/generators.py,sha256=XjirYTCk2dNZTf5wrRdKaCxYNj9GVYBPiMPR0pkt_Eo,3337
|
124
|
-
oarepo_runtime/services/records/__init__.py,sha256=hIoa2fx1AkDr6c-MgY561U2oN9LFeUCtfbVnetpBUOg,78
|
125
|
-
oarepo_runtime/services/records/links.py,sha256=gVe-_hGkLtX7pd6sS6jTbRIhBby2FTn9PXyYPy3yxzs,737
|
126
|
-
oarepo_runtime/services/relations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
127
|
-
oarepo_runtime/services/relations/components.py,sha256=3g0VdnGUM-2yYt50fPi-OADReBGJb4h05vmYHfh-QFs,592
|
128
|
-
oarepo_runtime/services/relations/errors.py,sha256=VtlOKq9MEUeJ4IsiZhY7lWoshrusA_RL4SOHe2titno,552
|
129
|
-
oarepo_runtime/services/relations/mapping.py,sha256=D7IYk83SXVgTv-0ohSnHOCzvCwbFLXJsayO1eQfQn0U,1285
|
130
|
-
oarepo_runtime/services/schema/__init__.py,sha256=5u8wTvon4W6ODJNRJhRNChmQHAZTXwo6LV2mYRYs-EM,1377
|
131
|
-
oarepo_runtime/services/schema/cf.py,sha256=-m9seIH5VYUdxDsJlPVXS0-8f7xkpN7YfW1q9E1GacI,475
|
132
|
-
oarepo_runtime/services/schema/i18n.py,sha256=49hPDKSUubtwVRT1_k--ftMkmE0oD4_VGP2CJ1sEGnM,2186
|
133
|
-
oarepo_runtime/services/schema/i18n_ui.py,sha256=MnEDW0gcZPvEODbJ6XzldxNCJ2suhfmdHQ4wkcAG6zA,2179
|
134
|
-
oarepo_runtime/services/schema/i18n_validation.py,sha256=fyMTi2Rw-KiHv7c7HN61zGxRVa9sAjAEEkAL5wUyKNo,236
|
135
|
-
oarepo_runtime/services/schema/marshmallow.py,sha256=iAMMH5MlYs59qetXAHOROvERNScfVqY9TrEIJejHCuw,1421
|
136
|
-
oarepo_runtime/services/schema/marshmallow_to_json_schema.py,sha256=VYLnVWHOoaxWCD_gqJO8-8u1SbaPEFBjDZ5HGgGr0Ow,2027
|
137
|
-
oarepo_runtime/services/schema/oneofschema.py,sha256=GnWH4Or_G5M0NgSmCoqMI6PBrJg5AC9RHrcB5QDKRq0,6661
|
138
|
-
oarepo_runtime/services/schema/polymorphic.py,sha256=bAbUoTIeDBiJPYPhpLEKKZekEdkHlpqkmNxk1hN3PDw,564
|
139
|
-
oarepo_runtime/services/schema/rdm.py,sha256=tfikqat-I3PH_WOIJSKOruPSlKn2uX8NSG-yqz8ch9w,4952
|
140
|
-
oarepo_runtime/services/schema/rdm_ui.py,sha256=ffjl20tvRcuX3FNINOhGJWX84aTNEzJOqoKZum1s03s,3778
|
141
|
-
oarepo_runtime/services/schema/ui.py,sha256=GXOAXF1ZaMU4NPkER-Xrq_xtRfblr5SzZDOZ4snbCh0,8382
|
142
|
-
oarepo_runtime/services/schema/validation.py,sha256=aRfeR-2D1XXYqI3_U5FHoFvJrYjZlpM8nB35-M_u3Qs,2300
|
143
|
-
oarepo_runtime/translations/default_translations.py,sha256=060GBlA1ghWxfeumo6NqxCCZDb-6OezOuF6pr-_GEOQ,104
|
144
|
-
oarepo_runtime/translations/messages.pot,sha256=Erv-fsNpX846dTWRsJrNui_40vmHPuSNWX0DDZvekKs,3440
|
145
|
-
oarepo_runtime/translations/cs/LC_MESSAGES/messages.mo,sha256=NB-_iWSXHDZNQ8P53MRkq4NmGOdaYqufaKTVO2QVNBA,1466
|
146
|
-
oarepo_runtime/translations/cs/LC_MESSAGES/messages.po,sha256=b8aRnPdDGED2WaDDzQlE2xSrPIB7vI_xpVhNr_Sl5e0,3069
|
147
|
-
oarepo_runtime/translations/en/LC_MESSAGES/messages.mo,sha256=tq5pTCpH7cuzdwrQlpTMjS1jlnoV0dWDlK9mGcKT338,673
|
148
|
-
oarepo_runtime/translations/en/LC_MESSAGES/messages.po,sha256=XzuYdpAjXrd_LOiYpQJEcSPwUk94FlpAnuSyO4adAmE,2911
|
149
|
-
oarepo_runtime/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
150
|
-
oarepo_runtime/utils/functools.py,sha256=gKS9YZtlIYcDvdNA9cmYO00yjiXBYV1jg8VpcRUyQyg,1324
|
151
|
-
oarepo_runtime/utils/identity_utils.py,sha256=a8nnvkX_Am9iibLa82_iK-3agIl11LTxjiy5qPKBoT4,1183
|
152
|
-
oarepo_runtime/utils/index.py,sha256=ArrUUXB-KowUcUksRKqcFpmqct4bn9alO1zd_kX2tmU,292
|
153
|
-
oarepo_runtime/utils/path.py,sha256=V1NVyk3m12_YLbj7QHYvUpE1wScO78bYsX1LOLeXDkI,3108
|
154
|
-
oarepo_runtime-1.10.3.dist-info/licenses/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
|
155
|
-
tests/marshmallow_to_json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
156
|
-
tests/marshmallow_to_json/test_datacite_ui_schema.py,sha256=82iLj8nW45lZOUewpWbLX3mpSkpa9lxo-vK-Qtv_1bU,48552
|
157
|
-
tests/marshmallow_to_json/test_simple_schema.py,sha256=izZN9p0v6kovtSZ6AdxBYmK_c6ZOti2_z_wPT_zXIr0,1500
|
158
|
-
tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
159
|
-
oarepo_runtime-1.10.3.dist-info/METADATA,sha256=rZfL4RhgaBADpTcJCK0iIOSVfnUzh4_CD2o3Yv1ayXA,4789
|
160
|
-
oarepo_runtime-1.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
161
|
-
oarepo_runtime-1.10.3.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
|
162
|
-
oarepo_runtime-1.10.3.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
|
163
|
-
oarepo_runtime-1.10.3.dist-info/RECORD,,
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[invenio_base.api_apps]
|
2
|
-
oarepo_runtime = oarepo_runtime.ext:OARepoRuntime
|
3
|
-
|
4
|
-
[invenio_base.apps]
|
5
|
-
oarepo_runtime = oarepo_runtime.ext:OARepoRuntime
|
6
|
-
|
7
|
-
[invenio_base.blueprints]
|
8
|
-
oarepo_runtime_check = oarepo_runtime.info.check:blueprint
|
9
|
-
oarepo_runtime_info = oarepo_runtime.info.views:create_wellknown_blueprint
|
10
|
-
|
11
|
-
[invenio_celery.tasks]
|
12
|
-
oarepo_runtime_check = oarepo_runtime.tasks
|
13
|
-
oarepo_runtime_datastreams = oarepo_runtime.datastreams
|
14
|
-
|
15
|
-
[invenio_i18n.translations]
|
16
|
-
oarepo_runtime = oarepo_runtime
|
File without changes
|