iris-pex-embedded-python 3.0.1b5__py3-none-any.whl → 3.0.1b6__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 iris-pex-embedded-python might be problematic. Click here for more details.
- iop/_common.py +27 -40
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/METADATA +1 -1
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/RECORD +7 -7
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/LICENSE +0 -0
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/WHEEL +0 -0
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/entry_points.txt +0 -0
- {iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/top_level.txt +0 -0
iop/_common.py
CHANGED
|
@@ -203,14 +203,11 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
203
203
|
except:
|
|
204
204
|
pass
|
|
205
205
|
return ret
|
|
206
|
-
|
|
207
|
-
def
|
|
208
|
-
"""
|
|
209
|
-
|
|
210
|
-
Parameters:
|
|
211
|
-
message: a string that is written to the log.
|
|
206
|
+
|
|
207
|
+
def _log(self) -> (str,str):
|
|
208
|
+
""" Get the class name and method name of the calling method.
|
|
209
|
+
Returns a tuple of the class name and the method name.
|
|
212
210
|
"""
|
|
213
|
-
|
|
214
211
|
current_class = self.__class__.__name__
|
|
215
212
|
current_method = None
|
|
216
213
|
try:
|
|
@@ -218,8 +215,26 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
218
215
|
current_method = frame.name
|
|
219
216
|
except:
|
|
220
217
|
pass
|
|
218
|
+
return current_class, current_method
|
|
219
|
+
|
|
220
|
+
def trace(self, message):
|
|
221
|
+
""" Write a log entry of type "trace". Log entries can be viewed in the management portal.
|
|
222
|
+
|
|
223
|
+
Parameters:
|
|
224
|
+
message: a string that is written to the log.
|
|
225
|
+
"""
|
|
226
|
+
current_class, current_method = self._log()
|
|
227
|
+
iris.cls("Ens.Util.Log").LogTrace(current_class, current_method, message,1)
|
|
228
|
+
|
|
229
|
+
def log_info(self, message):
|
|
230
|
+
""" Write a log entry of type "info". Log entries can be viewed in the management portal.
|
|
231
|
+
|
|
232
|
+
Parameters:
|
|
233
|
+
message: a string that is written to the log.
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
current_class, current_method = self._log()
|
|
221
237
|
iris.cls("Ens.Util.Log").LogInfo(current_class, current_method, message)
|
|
222
|
-
return
|
|
223
238
|
|
|
224
239
|
def log_alert(self, message):
|
|
225
240
|
""" Write a log entry of type "alert". Log entries can be viewed in the management portal.
|
|
@@ -227,15 +242,8 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
227
242
|
Parameters:
|
|
228
243
|
message: a string that is written to the log.
|
|
229
244
|
"""
|
|
230
|
-
current_class = self.
|
|
231
|
-
current_method = None
|
|
232
|
-
try:
|
|
233
|
-
frame = traceback.extract_stack()[-2]
|
|
234
|
-
current_method = frame.name
|
|
235
|
-
except:
|
|
236
|
-
pass
|
|
245
|
+
current_class, current_method = self._log()
|
|
237
246
|
iris.cls("Ens.Util.Log").LogAlert(current_class, current_method, message)
|
|
238
|
-
return
|
|
239
247
|
|
|
240
248
|
def log_warning(self, message):
|
|
241
249
|
""" Write a log entry of type "warning". Log entries can be viewed in the management portal.
|
|
@@ -243,15 +251,8 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
243
251
|
Parameters:
|
|
244
252
|
message: a string that is written to the log.
|
|
245
253
|
"""
|
|
246
|
-
current_class = self.
|
|
247
|
-
current_method = None
|
|
248
|
-
try:
|
|
249
|
-
frame = traceback.extract_stack()[-2]
|
|
250
|
-
current_method = frame.name
|
|
251
|
-
except:
|
|
252
|
-
pass
|
|
254
|
+
current_class, current_method = self._log()
|
|
253
255
|
iris.cls("Ens.Util.Log").LogWarning(current_class, current_method, message)
|
|
254
|
-
return
|
|
255
256
|
|
|
256
257
|
def log_error(self, message):
|
|
257
258
|
""" Write a log entry of type "error". Log entries can be viewed in the management portal.
|
|
@@ -259,15 +260,8 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
259
260
|
Parameters:
|
|
260
261
|
message: a string that is written to the log.
|
|
261
262
|
"""
|
|
262
|
-
current_class = self.
|
|
263
|
-
current_method = None
|
|
264
|
-
try:
|
|
265
|
-
frame = traceback.extract_stack()[-2]
|
|
266
|
-
current_method = frame.name
|
|
267
|
-
except:
|
|
268
|
-
pass
|
|
263
|
+
current_class, current_method = self._log()
|
|
269
264
|
iris.cls("Ens.Util.Log").LogError(current_class, current_method, message)
|
|
270
|
-
return
|
|
271
265
|
|
|
272
266
|
def log_assert(self, message):
|
|
273
267
|
""" Write a log entry of type "assert". Log entries can be viewed in the management portal.
|
|
@@ -275,15 +269,8 @@ class _Common(metaclass=abc.ABCMeta):
|
|
|
275
269
|
Parameters:
|
|
276
270
|
message: a string that is written to the log.
|
|
277
271
|
"""
|
|
278
|
-
current_class = self.
|
|
279
|
-
current_method = None
|
|
280
|
-
try:
|
|
281
|
-
frame = traceback.extract_stack()[-2]
|
|
282
|
-
current_method = frame.name
|
|
283
|
-
except:
|
|
284
|
-
pass
|
|
272
|
+
current_class, current_method = self._log()
|
|
285
273
|
iris.cls("Ens.Util.Log").LogAssert(current_class, current_method, message)
|
|
286
|
-
return
|
|
287
274
|
|
|
288
275
|
def LOGINFO(self, message):
|
|
289
276
|
""" DECAPRETED : use log_info
|
{iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/RECORD
RENAMED
|
@@ -97,7 +97,7 @@ iop/_business_operation.py,sha256=P824IzO89LCKnoNHZk64OZBDHcomHpjhKmMT89bS6TI,35
|
|
|
97
97
|
iop/_business_process.py,sha256=F4NIQcwQ5u8yiAPpaN14OAXxbKJsRAGm5S4lrbgA3oI,13296
|
|
98
98
|
iop/_business_service.py,sha256=sX8J-2-0Go6uIuPYa0A5N9Nn9rY5lV6a05v4q78qDC8,3726
|
|
99
99
|
iop/_cli.py,sha256=yg4wv1FkhgjmoZuTMUr61Ff21PegJDH_cpZeHcF8hQE,6207
|
|
100
|
-
iop/_common.py,sha256=
|
|
100
|
+
iop/_common.py,sha256=SykGW1X0UoA3QCJMh3tM7OlNmzIvk57atgUvTySzPbA,15384
|
|
101
101
|
iop/_director.py,sha256=CSNQPS4JPB3O4mXzsBj5L0Dcdciu1dm8ZtoHtnZCBTY,11041
|
|
102
102
|
iop/_inbound_adapter.py,sha256=PS5ToqhrYcXq9ZdLbCBqAfVp8kCeRACm_KF66pwBO9U,1652
|
|
103
103
|
iop/_message.py,sha256=BmwBXriykU66bwAgRbdkMpjfJRVWoNRX2eDc9TXfXzA,325
|
|
@@ -133,9 +133,9 @@ iris/iris_ipm.py,sha256=Q0jcNItjywlqOPZr0hgdTFSeLPNEmB-tcICOI_cXnaY,790
|
|
|
133
133
|
iris/iris_ipm.pyi,sha256=j7CNUZcjeDu5sgeWUZJO_Qi4vQmHh6aD-jPWv8OdoUs,374
|
|
134
134
|
irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
|
|
135
135
|
irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
|
|
136
|
-
iris_pex_embedded_python-3.0.
|
|
137
|
-
iris_pex_embedded_python-3.0.
|
|
138
|
-
iris_pex_embedded_python-3.0.
|
|
139
|
-
iris_pex_embedded_python-3.0.
|
|
140
|
-
iris_pex_embedded_python-3.0.
|
|
141
|
-
iris_pex_embedded_python-3.0.
|
|
136
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
|
|
137
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/METADATA,sha256=HwslmRWhDclpR6rHKYbdKD-9Z4Scv-F6LjPwnsBWqWE,49430
|
|
138
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
139
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
|
|
140
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/top_level.txt,sha256=jkWtvFKOp1Q-uO_VpGpfx5TcW7DS39z1liOAVp6zLig,47
|
|
141
|
+
iris_pex_embedded_python-3.0.1b6.dist-info/RECORD,,
|
{iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/LICENSE
RENAMED
|
File without changes
|
{iris_pex_embedded_python-3.0.1b5.dist-info → iris_pex_embedded_python-3.0.1b6.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|