oceanprotocol-job-details 0.0.7__py3-none-any.whl → 0.0.8__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.
- oceanprotocol_job_details/loaders/impl/map.py +11 -2
- {oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/METADATA +1 -1
- {oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/RECORD +5 -5
- {oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/LICENSE +0 -0
- {oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/WHEEL +0 -0
|
@@ -45,7 +45,17 @@ class Map(Loader[JobDetails]):
|
|
|
45
45
|
)
|
|
46
46
|
|
|
47
47
|
def _root(self) -> Path:
|
|
48
|
-
|
|
48
|
+
"""
|
|
49
|
+
Retrieves the root of the data from the default keys, defaults to '/'
|
|
50
|
+
|
|
51
|
+
Raises:
|
|
52
|
+
FileNotFoundError: If the given root folder does not exist
|
|
53
|
+
|
|
54
|
+
Returns:
|
|
55
|
+
Path: the root folder
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
root = Path(self._mapper.get(self._keys.ROOT, Path("/")))
|
|
49
59
|
|
|
50
60
|
if not root.exists():
|
|
51
61
|
raise FileNotFoundError(f"Root folder {root} does not exist")
|
|
@@ -64,7 +74,6 @@ class Map(Loader[JobDetails]):
|
|
|
64
74
|
root: Path,
|
|
65
75
|
dids: Optional[Sequence[Path]],
|
|
66
76
|
) -> Mapping[str, Sequence[Path]]:
|
|
67
|
-
|
|
68
77
|
files: Mapping[str, Sequence[Path]] = {}
|
|
69
78
|
|
|
70
79
|
for did in dids:
|
{oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/RECORD
RENAMED
|
@@ -5,9 +5,9 @@ oceanprotocol_job_details/dataclasses/job_details.py,sha256=pnbNvCg0jg5rx8K9B8qb
|
|
|
5
5
|
oceanprotocol_job_details/job_details.py,sha256=efY8Er97k_R-dRPbxd2gcCyp0l0oyHLL8FxQ8ldB6ms,1265
|
|
6
6
|
oceanprotocol_job_details/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
oceanprotocol_job_details/loaders/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
oceanprotocol_job_details/loaders/impl/map.py,sha256=
|
|
8
|
+
oceanprotocol_job_details/loaders/impl/map.py,sha256=3ogBztt1LX_717EVK1ehna_MtcVsncCvOiJFJLqvf2s,3748
|
|
9
9
|
oceanprotocol_job_details/loaders/loader.py,sha256=JwR6OSkzIQQkeeyAU-ad_F89W9WNvoRwvHQY7Q3zIXI,256
|
|
10
|
-
oceanprotocol_job_details-0.0.
|
|
11
|
-
oceanprotocol_job_details-0.0.
|
|
12
|
-
oceanprotocol_job_details-0.0.
|
|
13
|
-
oceanprotocol_job_details-0.0.
|
|
10
|
+
oceanprotocol_job_details-0.0.8.dist-info/LICENSE,sha256=ni3ix7P_GxK1W3VGC4fJ3o6QoCngCEpSuTJwO4nkpbw,1055
|
|
11
|
+
oceanprotocol_job_details-0.0.8.dist-info/METADATA,sha256=XH-voirr1aGWDNyIDVRz6IWaN9dAX3J9wJbpu3SAPes,2793
|
|
12
|
+
oceanprotocol_job_details-0.0.8.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
13
|
+
oceanprotocol_job_details-0.0.8.dist-info/RECORD,,
|
{oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/LICENSE
RENAMED
|
File without changes
|
{oceanprotocol_job_details-0.0.7.dist-info → oceanprotocol_job_details-0.0.8.dist-info}/WHEEL
RENAMED
|
File without changes
|