orionis 0.586.0__py3-none-any.whl → 0.587.0__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.
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.586.0"
8
+ VERSION = "0.587.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -765,7 +765,6 @@ class ReflectionAbstract(IReflectionAbstract):
765
765
  with a single underscore and are not static methods, class methods,
766
766
  or properties.
767
767
  """
768
- class_name = self.getClassName()
769
768
  attributes = self.__abstract.__dict__
770
769
  protected_methods = []
771
770
 
@@ -851,7 +851,6 @@ class ReflectionConcrete(IReflectionConcrete):
851
851
  list
852
852
  A list of protected instance method names.
853
853
  """
854
- class_name = self.getClassName()
855
854
  attributes = self._concrete.__dict__
856
855
  protected_methods = []
857
856
 
@@ -1042,9 +1042,6 @@ class ReflectionInstance(IReflectionInstance):
1042
1042
  # Check if the attribute is a class method
1043
1043
  if isinstance(attr, classmethod):
1044
1044
 
1045
- # Get the underlying function
1046
- func = attr.__func__
1047
-
1048
1045
  # Check if a private class method
1049
1046
  if name.startswith(f"_{class_name}"):
1050
1047
  private_class_methods.append(str(name).replace(f"_{class_name}", ""))
@@ -2,7 +2,7 @@ from typing import Any, Type
2
2
  from orionis.services.introspection.abstract.reflection import ReflectionAbstract
3
3
  from orionis.services.introspection.callables.reflection import ReflectionCallable
4
4
  from orionis.services.introspection.concretes.reflection import ReflectionConcrete
5
- from orionis.services.introspection.objects.types import Type
5
+ from orionis.services.introspection.objects.types import Type as ReflectionType
6
6
  from orionis.services.introspection.instances.reflection import ReflectionInstance
7
7
  from orionis.services.introspection.modules.reflection import ReflectionModule
8
8
 
@@ -115,7 +115,7 @@ class Reflection:
115
115
  bool
116
116
  True if the object is abstract, False otherwise.
117
117
  """
118
- return Type(obj).isAbstract()
118
+ return ReflectionType(obj).isAbstract()
119
119
 
120
120
  @staticmethod
121
121
  def isAsyncGen(obj: Any) -> bool:
@@ -132,7 +132,7 @@ class Reflection:
132
132
  bool
133
133
  True if the object is an async generator, False otherwise.
134
134
  """
135
- return Type(obj).isAsyncGen()
135
+ return ReflectionType(obj).isAsyncGen()
136
136
 
137
137
  @staticmethod
138
138
  def isAsyncGenFunction(obj: Any) -> bool:
@@ -149,7 +149,7 @@ class Reflection:
149
149
  bool
150
150
  True if the object is an async generator function, False otherwise.
151
151
  """
152
- return Type(obj).isAsyncGenFunction()
152
+ return ReflectionType(obj).isAsyncGenFunction()
153
153
 
154
154
  @staticmethod
155
155
  def isAwaitable(obj: Any) -> bool:
@@ -166,7 +166,7 @@ class Reflection:
166
166
  bool
167
167
  True if the object is awaitable, False otherwise.
168
168
  """
169
- return Type(obj).isAwaitable()
169
+ return ReflectionType(obj).isAwaitable()
170
170
 
171
171
  @staticmethod
172
172
  def isBuiltin(obj: Any) -> bool:
@@ -183,7 +183,7 @@ class Reflection:
183
183
  bool
184
184
  True if the object is a built-in, False otherwise.
185
185
  """
186
- return Type(obj).isBuiltin()
186
+ return ReflectionType(obj).isBuiltin()
187
187
 
188
188
  @staticmethod
189
189
  def isClass(obj: Any) -> bool:
@@ -200,7 +200,7 @@ class Reflection:
200
200
  bool
201
201
  True if the object is a class, False otherwise.
202
202
  """
203
- return Type(obj).isClass()
203
+ return ReflectionType(obj).isClass()
204
204
 
205
205
  @staticmethod
206
206
  def isCode(obj: Any) -> bool:
@@ -217,7 +217,7 @@ class Reflection:
217
217
  bool
218
218
  True if the object is a code object, False otherwise.
219
219
  """
220
- return Type(obj).isCode()
220
+ return ReflectionType(obj).isCode()
221
221
 
222
222
  @staticmethod
223
223
  def isCoroutine(obj: Any) -> bool:
@@ -234,7 +234,7 @@ class Reflection:
234
234
  bool
235
235
  True if the object is a coroutine, False otherwise.
236
236
  """
237
- return Type(obj).isCoroutine()
237
+ return ReflectionType(obj).isCoroutine()
238
238
 
239
239
  @staticmethod
240
240
  def isCoroutineFunction(obj: Any) -> bool:
@@ -251,7 +251,7 @@ class Reflection:
251
251
  bool
252
252
  True if the object is a coroutine function, False otherwise.
253
253
  """
254
- return Type(obj).isCoroutineFunction()
254
+ return ReflectionType(obj).isCoroutineFunction()
255
255
 
256
256
  @staticmethod
257
257
  def isDataDescriptor(obj: Any) -> bool:
@@ -268,7 +268,7 @@ class Reflection:
268
268
  bool
269
269
  True if the object is a data descriptor, False otherwise.
270
270
  """
271
- return Type(obj).isDataDescriptor()
271
+ return ReflectionType(obj).isDataDescriptor()
272
272
 
273
273
  @staticmethod
274
274
  def isFrame(obj: Any) -> bool:
@@ -285,7 +285,7 @@ class Reflection:
285
285
  bool
286
286
  True if the object is a frame object, False otherwise.
287
287
  """
288
- return Type(obj).isFrame()
288
+ return ReflectionType(obj).isFrame()
289
289
 
290
290
  @staticmethod
291
291
  def isFunction(obj: Any) -> bool:
@@ -302,7 +302,7 @@ class Reflection:
302
302
  bool
303
303
  True if the object is a function, False otherwise.
304
304
  """
305
- return Type(obj).isFunction()
305
+ return ReflectionType(obj).isFunction()
306
306
 
307
307
  @staticmethod
308
308
  def isGenerator(obj: Any) -> bool:
@@ -319,7 +319,7 @@ class Reflection:
319
319
  bool
320
320
  True if the object is a generator, False otherwise.
321
321
  """
322
- return Type(obj).isGenerator()
322
+ return ReflectionType(obj).isGenerator()
323
323
 
324
324
  @staticmethod
325
325
  def isGeneratorFunction(obj: Any) -> bool:
@@ -336,7 +336,7 @@ class Reflection:
336
336
  bool
337
337
  True if the object is a generator function, False otherwise.
338
338
  """
339
- return Type(obj).isGeneratorFunction()
339
+ return ReflectionType(obj).isGeneratorFunction()
340
340
 
341
341
  @staticmethod
342
342
  def isGetSetDescriptor(obj: Any) -> bool:
@@ -353,7 +353,7 @@ class Reflection:
353
353
  bool
354
354
  True if the object is a getset descriptor, False otherwise.
355
355
  """
356
- return Type(obj).isGetSetDescriptor()
356
+ return ReflectionType(obj).isGetSetDescriptor()
357
357
 
358
358
  @staticmethod
359
359
  def isMemberDescriptor(obj: Any) -> bool:
@@ -370,7 +370,7 @@ class Reflection:
370
370
  bool
371
371
  True if the object is a member descriptor, False otherwise.
372
372
  """
373
- return Type(obj).isMemberDescriptor()
373
+ return ReflectionType(obj).isMemberDescriptor()
374
374
 
375
375
  @staticmethod
376
376
  def isMethod(obj: Any) -> bool:
@@ -387,7 +387,7 @@ class Reflection:
387
387
  bool
388
388
  True if the object is a method, False otherwise.
389
389
  """
390
- return Type(obj).isMethod()
390
+ return ReflectionType(obj).isMethod()
391
391
 
392
392
  @staticmethod
393
393
  def isMethodDescriptor(obj: Any) -> bool:
@@ -404,7 +404,7 @@ class Reflection:
404
404
  bool
405
405
  True if the object is a method descriptor, False otherwise.
406
406
  """
407
- return Type(obj).isMethodDescriptor()
407
+ return ReflectionType(obj).isMethodDescriptor()
408
408
 
409
409
  @staticmethod
410
410
  def isModule(obj: Any) -> bool:
@@ -421,7 +421,7 @@ class Reflection:
421
421
  bool
422
422
  True if the object is a module, False otherwise.
423
423
  """
424
- return Type(obj).isModule()
424
+ return ReflectionType(obj).isModule()
425
425
 
426
426
  @staticmethod
427
427
  def isRoutine(obj: Any) -> bool:
@@ -438,7 +438,7 @@ class Reflection:
438
438
  bool
439
439
  True if the object is a routine, False otherwise.
440
440
  """
441
- return Type(obj).isRoutine()
441
+ return ReflectionType(obj).isRoutine()
442
442
 
443
443
  @staticmethod
444
444
  def isTraceback(obj: Any) -> bool:
@@ -455,4 +455,4 @@ class Reflection:
455
455
  bool
456
456
  True if the object is a traceback object, False otherwise.
457
457
  """
458
- return Type(obj).isTraceback()
458
+ return ReflectionType(obj).isTraceback()
@@ -19,10 +19,26 @@ from orionis.test.contracts.test_result import IOrionisTestResult
19
19
  from orionis.test.contracts.unit_test import IUnitTest
20
20
  from orionis.test.entities.result import TestResult
21
21
  from orionis.test.enums import TestStatus
22
- from orionis.test.exceptions import *
22
+ from orionis.test.exceptions import OrionisTestValueError, OrionisTestFailureException, OrionisTestPersistenceError
23
23
  from orionis.test.output.printer import TestPrinter
24
24
  from orionis.test.records.logs import TestLogs
25
- from orionis.test.validators import *
25
+ from orionis.test.validators import (
26
+ ValidBasePath,
27
+ ValidExecutionMode,
28
+ ValidFailFast,
29
+ ValidFolderPath,
30
+ ValidModuleName,
31
+ ValidNamePattern,
32
+ ValidPattern,
33
+ ValidPersistentDriver,
34
+ ValidPersistent,
35
+ ValidPrintResult,
36
+ ValidTags,
37
+ ValidThrowException,
38
+ ValidVerbosity,
39
+ ValidWebReport,
40
+ ValidWorkers
41
+ )
26
42
  from orionis.test.view.render import TestingResultRender
27
43
 
28
44
  class UnitTest(IUnitTest):
@@ -1,5 +1,6 @@
1
1
  import json
2
2
  import os
3
+ import sys
3
4
  from pathlib import Path
4
5
  from orionis.test.contracts.render import ITestingResultRender
5
6
  from orionis.test.records.logs import TestLogs
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.586.0
3
+ Version: 0.587.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -217,7 +217,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=irwkjMiq-HpsbJxAOnhjji
217
217
  orionis/foundation/providers/testing_provider.py,sha256=2akFnabtH_cV_7z_2cCL7u8cPCGvCJAmlhMcnlCrc4c,3742
218
218
  orionis/foundation/providers/workers_provider.py,sha256=P_YtJuPNrdJAQJkAqI11KI0c6GSB9NqIuuCKpRytE0g,3937
219
219
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
- orionis/metadata/framework.py,sha256=xzZpFvz0d4daPDpL0c8DQlqjT-Gse-sL0et-sYW6E2E,4109
220
+ orionis/metadata/framework.py,sha256=qcJ8jxWsQbSmNp14qxgK_FnyryQUlLRRUXiL-hhvvu4,4109
221
221
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
222
222
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
223
223
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -257,9 +257,9 @@ orionis/services/inspirational/quotes.py,sha256=9hCIEFE0DdfXLaGq_SzFpXlC2AbGSnuF
257
257
  orionis/services/inspirational/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
258
  orionis/services/inspirational/contracts/inspire.py,sha256=--GGHAIxeEjQS0Ra3bilZ7lL5MWyLT9XhZ7-m-ZmqwU,404
259
259
  orionis/services/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
260
- orionis/services/introspection/reflection.py,sha256=_Wdy8Wtt3RKXAqg9o5rvYa_Hyu-Z4674LKnNVg7u7pU,11467
260
+ orionis/services/introspection/reflection.py,sha256=muTz1jyeVAhr5TrC6A1N6M8B0snXS6Ahh04o1NPxmys,11695
261
261
  orionis/services/introspection/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
262
- orionis/services/introspection/abstract/reflection.py,sha256=61u_xNf8-O0QOI7cIa5ZUrH8Gyf-3r3poCSEB9hxY4c,50284
262
+ orionis/services/introspection/abstract/reflection.py,sha256=96-zNKZVl3bcmN2nbZSEBl35UysT1XwgmmCStmIfHJc,50242
263
263
  orionis/services/introspection/abstract/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
264
264
  orionis/services/introspection/abstract/contracts/reflection.py,sha256=UbRcqXahQ75RaLguH5qqMHHD_6Mr1Y0SH61K6VLfbc4,23562
265
265
  orionis/services/introspection/callables/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -267,7 +267,7 @@ orionis/services/introspection/callables/reflection.py,sha256=zzxrjExc2iIlfs3xfo
267
267
  orionis/services/introspection/callables/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
268
268
  orionis/services/introspection/callables/contracts/reflection.py,sha256=EZi9VfTf5GJBnMd47j_oJ8dENQ5-HzDbQ-4zSffrvpM,5523
269
269
  orionis/services/introspection/concretes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
270
- orionis/services/introspection/concretes/reflection.py,sha256=BMMcAsgnXW0-FCzMXDaZ9LcDhMtGPmjw5ahZmbuWXtk,55914
270
+ orionis/services/introspection/concretes/reflection.py,sha256=ZOScKOATUNA-gOJIG_8Z2Q5XXI2kAmDRCg8fg2SFklg,55872
271
271
  orionis/services/introspection/concretes/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
272
272
  orionis/services/introspection/concretes/contracts/reflection.py,sha256=LwEAgdN_WLCfS9b8pnFRVfN0PTRK4Br9qngu5km5aIk,24955
273
273
  orionis/services/introspection/dataclass/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -282,7 +282,7 @@ orionis/services/introspection/dependencies/entities/resolve_argument.py,sha256=
282
282
  orionis/services/introspection/exceptions/__init__.py,sha256=uVRbnndapr9veJps8EzFJeLItxnMEbjUDdPBy3dQbeM,221
283
283
  orionis/services/introspection/exceptions/introspection.py,sha256=Qd021psWiXyY9HQVNWIBVZ3KNfHGSgq8NL4btUTR8tg,2532
284
284
  orionis/services/introspection/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
- orionis/services/introspection/instances/reflection.py,sha256=mh3LRadeBaO14niwXx8TWma0SBuutKZY2Csg4kvwgiQ,55024
285
+ orionis/services/introspection/instances/reflection.py,sha256=vn43FdZNP-tkIbKvX0TdptGRQZ1FntZ49xDJ_VAM4jM,54937
286
286
  orionis/services/introspection/instances/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
287
287
  orionis/services/introspection/instances/contracts/reflection.py,sha256=OBZ7vI6KsII76oqIF63v1I-msh94_xGfhPZQvqAVLgY,20834
288
288
  orionis/services/introspection/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -372,7 +372,7 @@ orionis/test/contracts/render.py,sha256=wpDQzUtT0r8KFZ7zPcxWHXQ1EVNKxzA_rZ6ZKUcZ
372
372
  orionis/test/contracts/test_result.py,sha256=SNXJ2UerkweYn7uCT0i0HmMGP0XBrL_9KJs-0ZvIYU4,4002
373
373
  orionis/test/contracts/unit_test.py,sha256=getqaBoadQT_wh_V6aTQvm0yx9IgbVrE9EEOD8b031g,8031
374
374
  orionis/test/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
375
- orionis/test/core/unit_test.py,sha256=Hao8c8TG3yHYI_iCNPieGsHJjogg5tc-FS47uBSivzU,65687
375
+ orionis/test/core/unit_test.py,sha256=PcYkIAN8ZgBb1JnuPDMPZHUFB3T7kiy5e8LvwhXUVF0,66094
376
376
  orionis/test/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
377
377
  orionis/test/entities/result.py,sha256=eZ6UIqGmFW8FZ9x8PB_MZbLAc-SAuUyi4FUcMYIZzGo,4777
378
378
  orionis/test/enums/__init__.py,sha256=M3imAgMvKFTKg55FbtVoY3zxj7QRY9AfaUWxiSZVvn4,66
@@ -405,10 +405,10 @@ orionis/test/validators/verbosity.py,sha256=rADzM82cPcJ2_6crszpobJuwb5WihWNQf6i4
405
405
  orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNusHqc02R8,853
406
406
  orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
407
407
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
408
- orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
408
+ orionis/test/view/render.py,sha256=1FJHFBRHbwI5FV90F9-cMUmT10xrA5tc2bY1ysTzD-8,4094
409
409
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
410
- orionis-0.586.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
411
- orionis-0.586.0.dist-info/METADATA,sha256=jj1hvhmNgHMq3y2NJYGDanhhqfImaiQuDRpNHsAYXRg,4801
412
- orionis-0.586.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
413
- orionis-0.586.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
414
- orionis-0.586.0.dist-info/RECORD,,
410
+ orionis-0.587.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
411
+ orionis-0.587.0.dist-info/METADATA,sha256=CPf_MW5xRqv5XSDB60fd1FfPsNgBlreqeJQKrUPw16k,4801
412
+ orionis-0.587.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
413
+ orionis-0.587.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
414
+ orionis-0.587.0.dist-info/RECORD,,