logs-py 2.9__py3-none-any.whl → 2.9.2__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.
Potentially problematic release.
This version of logs-py might be problematic. Click here for more details.
- LOGS/Entities/Dataset.py +3 -3
- LOGS/Entities/DatasetCreator.py +3 -3
- LOGS/Entities/DatasetMatchTypes.py +7 -7
- LOGS/Entities/Project.py +6 -6
- {logs_py-2.9.dist-info → logs_py-2.9.2.dist-info}/METADATA +3 -1
- {logs_py-2.9.dist-info → logs_py-2.9.2.dist-info}/RECORD +8 -8
- {logs_py-2.9.dist-info → logs_py-2.9.2.dist-info}/WHEEL +0 -0
- {logs_py-2.9.dist-info → logs_py-2.9.2.dist-info}/top_level.txt +0 -0
LOGS/Entities/Dataset.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
|
2
2
|
from datetime import datetime
|
|
3
3
|
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Union, cast
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from deprecation import deprecated
|
|
6
6
|
|
|
7
7
|
from LOGS.Auxiliary.Constants import Constants
|
|
8
8
|
from LOGS.Auxiliary.Decorators import Endpoint, UiEndpoint
|
|
@@ -671,12 +671,12 @@ class Dataset(
|
|
|
671
671
|
)
|
|
672
672
|
|
|
673
673
|
@property
|
|
674
|
-
@
|
|
674
|
+
@deprecated(details="Please use property 'attachment'")
|
|
675
675
|
def isViewableEntity(self) -> Optional[bool]:
|
|
676
676
|
return self._isViewableEntity
|
|
677
677
|
|
|
678
678
|
@isViewableEntity.setter
|
|
679
|
-
@
|
|
679
|
+
@deprecated(details="Please use property 'attachment'")
|
|
680
680
|
def isViewableEntity(self, value):
|
|
681
681
|
self._isViewableEntity = self.checkAndConvertNullable(
|
|
682
682
|
value, bool, "isViewableEntity"
|
LOGS/Entities/DatasetCreator.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from enum import Enum
|
|
2
2
|
from typing import TYPE_CHECKING, Any, List, Optional
|
|
3
3
|
|
|
4
|
-
from
|
|
4
|
+
from deprecation import deprecated
|
|
5
5
|
|
|
6
6
|
from LOGS.Auxiliary.Decorators import Endpoint
|
|
7
7
|
from LOGS.Auxiliary.Exceptions import EntityCreatingException, LOGSException
|
|
@@ -81,12 +81,12 @@ class DatasetUploadRequest(SerializeableClass):
|
|
|
81
81
|
super().__init__(ref)
|
|
82
82
|
|
|
83
83
|
@property
|
|
84
|
-
@
|
|
84
|
+
@deprecated(details="Please use property 'formatId'")
|
|
85
85
|
def parserId(self):
|
|
86
86
|
return self.formatId
|
|
87
87
|
|
|
88
88
|
@parserId.setter
|
|
89
|
-
@
|
|
89
|
+
@deprecated(details="Please use property 'formatId'")
|
|
90
90
|
def paserId(self, value):
|
|
91
91
|
self.formatId = value
|
|
92
92
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import uuid
|
|
2
2
|
from typing import Any, List, Optional
|
|
3
3
|
|
|
4
|
-
from
|
|
4
|
+
from deprecation import deprecated
|
|
5
5
|
|
|
6
6
|
from LOGS.Auxiliary.Tools import Tools
|
|
7
7
|
from LOGS.Entities.FileEntry import FileEntry, FileFragment
|
|
@@ -29,12 +29,12 @@ class DatasetForSearch(SerializeableClass):
|
|
|
29
29
|
self.id = uuid.uuid4().hex
|
|
30
30
|
|
|
31
31
|
@property
|
|
32
|
-
@
|
|
32
|
+
@deprecated(details="Please use property 'formatId'")
|
|
33
33
|
def parserId(self):
|
|
34
34
|
return self.formatId
|
|
35
35
|
|
|
36
36
|
@parserId.setter
|
|
37
|
-
@
|
|
37
|
+
@deprecated(details="Please use property 'formatId'")
|
|
38
38
|
def paserId(self, value):
|
|
39
39
|
self.formatId = value
|
|
40
40
|
|
|
@@ -104,12 +104,12 @@ class MatchedDataset(SerializeableClass):
|
|
|
104
104
|
return "<%s>" % (type(self).__name__)
|
|
105
105
|
|
|
106
106
|
@property
|
|
107
|
-
@
|
|
107
|
+
@deprecated(details="Please use property 'formatId'")
|
|
108
108
|
def parserId(self):
|
|
109
109
|
return self.formatId
|
|
110
110
|
|
|
111
111
|
@parserId.setter
|
|
112
|
-
@
|
|
112
|
+
@deprecated(details="Please use property 'formatId'")
|
|
113
113
|
def paserId(self, value):
|
|
114
114
|
self.formatId = value
|
|
115
115
|
|
|
@@ -138,12 +138,12 @@ class DatasetMatch(SerializeableClass):
|
|
|
138
138
|
return "<%s>" % (type(self).__name__)
|
|
139
139
|
|
|
140
140
|
@property
|
|
141
|
-
@
|
|
141
|
+
@deprecated(details="Please use property 'formatId'")
|
|
142
142
|
def parserId(self):
|
|
143
143
|
return self.formatId
|
|
144
144
|
|
|
145
145
|
@parserId.setter
|
|
146
|
-
@
|
|
146
|
+
@deprecated(details="Please use property 'formatId'")
|
|
147
147
|
def parserId(self, value):
|
|
148
148
|
self.formatId = value
|
|
149
149
|
|
LOGS/Entities/Project.py
CHANGED
|
@@ -87,11 +87,11 @@ class Project(
|
|
|
87
87
|
)
|
|
88
88
|
|
|
89
89
|
@property
|
|
90
|
-
def
|
|
91
|
-
return self.
|
|
90
|
+
def projectPersonPermissions(self) -> Optional[List[ProjectUserPermission]]:
|
|
91
|
+
return self._projectPersonPermissions
|
|
92
92
|
|
|
93
|
-
@
|
|
94
|
-
def
|
|
95
|
-
self.
|
|
96
|
-
value, ProjectUserPermission, "
|
|
93
|
+
@projectPersonPermissions.setter
|
|
94
|
+
def projectPersonPermissions(self, value):
|
|
95
|
+
self._projectPersonPermissions = self.checkListAndConvertNullable(
|
|
96
|
+
value, ProjectUserPermission, "projectPersonPermissions"
|
|
97
97
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: logs-py
|
|
3
|
-
Version: 2.9
|
|
3
|
+
Version: 2.9.2
|
|
4
4
|
Summary: A python interface for the LOGS public API
|
|
5
5
|
Home-page: https://docs.logs-python.com
|
|
6
6
|
Author: Sina Kazemi
|
|
@@ -16,6 +16,8 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
Requires-Dist: numpy
|
|
17
17
|
Requires-Dist: requests
|
|
18
18
|
Requires-Dist: regex >=2019.12.9
|
|
19
|
+
Requires-Dist: Pillow
|
|
20
|
+
Requires-Dist: deprecation
|
|
19
21
|
|
|
20
22
|
# LOGS-Py
|
|
21
23
|
|
|
@@ -37,10 +37,10 @@ LOGS/Entities/DataSourceRelations.py,sha256=eIszpHjZqz6v4WyhaPNu8efSzedsJLNrYR9b
|
|
|
37
37
|
LOGS/Entities/DataSourceRequestParameter.py,sha256=zAfC61NvVt4XO3HhIy1PLViN3AEBJo7Q6Fa_EtyqNvA,1610
|
|
38
38
|
LOGS/Entities/DataSourceStatus.py,sha256=81IAcLhdvkrAxgcL1Hw47aJqiZ0Vb7UnZUj-UEo8wX0,430
|
|
39
39
|
LOGS/Entities/DataSources.py,sha256=UU5ey98_vX4WQknyWITMy-dPOV-wgjblXxu5uXpnVso,481
|
|
40
|
-
LOGS/Entities/Dataset.py,sha256=
|
|
41
|
-
LOGS/Entities/DatasetCreator.py,sha256=
|
|
40
|
+
LOGS/Entities/Dataset.py,sha256=JQk_7vdpmkjztZ8247V2_tifTi3WXwvbDdQOp3oVtbk,21915
|
|
41
|
+
LOGS/Entities/DatasetCreator.py,sha256=vWTSGk5zM7xXvI8n9mldeS96SN0atF2e04lwol7CWqo,5084
|
|
42
42
|
LOGS/Entities/DatasetInfo.py,sha256=VnobiT04yd9GSZQ6tH8eUrO9jknzfLW9-wvMz-QAhTw,3882
|
|
43
|
-
LOGS/Entities/DatasetMatchTypes.py,sha256=
|
|
43
|
+
LOGS/Entities/DatasetMatchTypes.py,sha256=f8v5bYEWiDMVBbEKONEDg2jm-Qp-WVbuBLyJ5SlMv9c,4373
|
|
44
44
|
LOGS/Entities/DatasetMatching.py,sha256=1tLYQKFMssOQIPuCh06dr70oYCpjj4bXer6VAO3papM,6596
|
|
45
45
|
LOGS/Entities/DatasetMinimal.py,sha256=AfSMihe4mU53D3dib1MzW7ZAtfvFytVyGpMMi3Fr2Cw,246
|
|
46
46
|
LOGS/Entities/DatasetRelations.py,sha256=gQWlm4BAJbeb0J2lLgdwO0grQFDTSSls162OWGwUsEU,1465
|
|
@@ -117,7 +117,7 @@ LOGS/Entities/PersonMinimal.py,sha256=W5lhHvFtYi_Ln4B9g91pnZddrhyJGoOwiX81hszmKN
|
|
|
117
117
|
LOGS/Entities/PersonRelations.py,sha256=kN8Rfkg5qP0QSLbmCcqonZjKW5VtDSDyCMJ5WoUDvHk,2701
|
|
118
118
|
LOGS/Entities/PersonRequestParameter.py,sha256=U9jQ1hVQZAXrg-49ao-o8WIk8kJ7pHvBIDqbW0_Po1A,2220
|
|
119
119
|
LOGS/Entities/Persons.py,sha256=cj4SKaJZvitaIe7Fd1M9_qqNdAEEG38iuMPNiKPDPUA,413
|
|
120
|
-
LOGS/Entities/Project.py,sha256=
|
|
120
|
+
LOGS/Entities/Project.py,sha256=3zP3XhIVH32XCseVA2ns9LV7PfASiivMGYbRPmrI9XM,3127
|
|
121
121
|
LOGS/Entities/ProjectMinimal.py,sha256=Xw8wnA2iSixEkVaisY_b4Z3Ujudum3MG6tBUfbiAk0s,246
|
|
122
122
|
LOGS/Entities/ProjectRelations.py,sha256=Hf3F42iYanTqrLgG6GjY4HXBCFWCcVNjXzwrnEJc9GU,2136
|
|
123
123
|
LOGS/Entities/ProjectRequestParameter.py,sha256=KXvBbvoadB5F5Xap9t3GPzpb3lqdpH_Ob9SORCvstEU,2030
|
|
@@ -177,7 +177,7 @@ LOGS/Interfaces/ISoftDeletable.py,sha256=urnmSfcYJrEm1iIo0k3nyBvMMnpomJWAYAON_uv
|
|
|
177
177
|
LOGS/Interfaces/ITypedEntity.py,sha256=hMlzGuca8vW1qT5Dop-b-6_gteAeXjK0sz85eRjOZrY,724
|
|
178
178
|
LOGS/Interfaces/IUniqueEntity.py,sha256=K-Q80qZX1wTjPnjbs-1PF85BbzYre2su_2xMnescYi4,1894
|
|
179
179
|
LOGS/Interfaces/__init__.py,sha256=tGykqoQeT2_HV-oLYVKJJ9Z0a_Li8_y3AOJjG1btKYw,172
|
|
180
|
-
logs_py-2.9.dist-info/METADATA,sha256=
|
|
181
|
-
logs_py-2.9.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
182
|
-
logs_py-2.9.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
|
|
183
|
-
logs_py-2.9.dist-info/RECORD,,
|
|
180
|
+
logs_py-2.9.2.dist-info/METADATA,sha256=tfRWnmJDHgeVJJKAYnJ3ALcQjZ905002A3Wi4MS4ONI,2053
|
|
181
|
+
logs_py-2.9.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
182
|
+
logs_py-2.9.2.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
|
|
183
|
+
logs_py-2.9.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|