logs-py 2.9.1__py3-none-any.whl → 2.9.3__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/LOGS.py +4 -0
- {logs_py-2.9.1.dist-info → logs_py-2.9.3.dist-info}/METADATA +3 -1
- {logs_py-2.9.1.dist-info → logs_py-2.9.3.dist-info}/RECORD +8 -8
- {logs_py-2.9.1.dist-info → logs_py-2.9.3.dist-info}/WHEEL +0 -0
- {logs_py-2.9.1.dist-info → logs_py-2.9.3.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/LOGS.py
CHANGED
|
@@ -1136,6 +1136,10 @@ class LOGS:
|
|
|
1136
1136
|
def currentUser(self) -> Person:
|
|
1137
1137
|
return self._currentUser
|
|
1138
1138
|
|
|
1139
|
+
@property
|
|
1140
|
+
def version(self) -> str:
|
|
1141
|
+
return self._connection.version
|
|
1142
|
+
|
|
1139
1143
|
|
|
1140
1144
|
if __name__ == "__main__":
|
|
1141
1145
|
api_key = input("Please specify api key: ")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: logs-py
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.3
|
|
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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LOGS/LOGS.py,sha256=
|
|
1
|
+
LOGS/LOGS.py,sha256=YWvLGeOZMJj6zwH6Lb_fYJwHn31pvMZWSpC50GUbd2I,41758
|
|
2
2
|
LOGS/LOGSConnection.py,sha256=GOkmFj7CtCinn9SmRkzzdToaZqnmUaiqwuMI0mQGvCo,19845
|
|
3
3
|
LOGS/ServerMetaData.py,sha256=WdXCCiCSFqER6s9c3N3v0O273OvxygxBzmE6_C8FmXs,3361
|
|
4
4
|
LOGS/__init__.py,sha256=faGD87i0eeKbqEq6DTcteF6KoNa2O0BH1RnjxEvuGbQ,253
|
|
@@ -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
|
|
@@ -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.
|
|
181
|
-
logs_py-2.9.
|
|
182
|
-
logs_py-2.9.
|
|
183
|
-
logs_py-2.9.
|
|
180
|
+
logs_py-2.9.3.dist-info/METADATA,sha256=_hP1GUf07j6q1Q15DmNuqIXdvbuHr3u9VYllUtiRc2M,2053
|
|
181
|
+
logs_py-2.9.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
182
|
+
logs_py-2.9.3.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
|
|
183
|
+
logs_py-2.9.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|