logs-py 2.9.1__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 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 numpy import deprecate
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
- @deprecate(new_name="attachment")
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
- @deprecate(new_name="attachment")
679
+ @deprecated(details="Please use property 'attachment'")
680
680
  def isViewableEntity(self, value):
681
681
  self._isViewableEntity = self.checkAndConvertNullable(
682
682
  value, bool, "isViewableEntity"
@@ -1,7 +1,7 @@
1
1
  from enum import Enum
2
2
  from typing import TYPE_CHECKING, Any, List, Optional
3
3
 
4
- from numpy import deprecate
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
- @deprecate(new_name="formatId")
84
+ @deprecated(details="Please use property 'formatId'")
85
85
  def parserId(self):
86
86
  return self.formatId
87
87
 
88
88
  @parserId.setter
89
- @deprecate(new_name="formatId")
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 numpy import deprecate
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
- @deprecate(new_name="formatId")
32
+ @deprecated(details="Please use property 'formatId'")
33
33
  def parserId(self):
34
34
  return self.formatId
35
35
 
36
36
  @parserId.setter
37
- @deprecate(new_name="formatId")
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
- @deprecate(new_name="formatId")
107
+ @deprecated(details="Please use property 'formatId'")
108
108
  def parserId(self):
109
109
  return self.formatId
110
110
 
111
111
  @parserId.setter
112
- @deprecate(new_name="formatId")
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
- @deprecate(new_name="formatId")
141
+ @deprecated(details="Please use property 'formatId'")
142
142
  def parserId(self):
143
143
  return self.formatId
144
144
 
145
145
  @parserId.setter
146
- @deprecate(new_name="formatId")
146
+ @deprecated(details="Please use property 'formatId'")
147
147
  def parserId(self, value):
148
148
  self.formatId = value
149
149
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: logs-py
3
- Version: 2.9.1
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=f2OGkekH85UrI5-nHvGnqfZmgp7YB_DaGODYqw5naOw,21864
41
- LOGS/Entities/DatasetCreator.py,sha256=vMaTOukqABDaeax3YmLROesfbumt9pbLShYDfDr-PTI,5033
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=iEkUCky6IHnvAB76XIY6m4Z2ajKMRr3WcvEJrByqkGU,4234
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.1.dist-info/METADATA,sha256=2e-hPTedmlj7p7jbzTGHPI5J3qR3yWo2n8i21YDSbcQ,2004
181
- logs_py-2.9.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
182
- logs_py-2.9.1.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
183
- logs_py-2.9.1.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,,