mastapy 13.0.1__py3-none-any.whl → 13.0.1.post2__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.
- mastapy/_internal/implicit/overridable/bool.py +0 -5
- mastapy/_internal/type_enforcement.py +5 -0
- {mastapy-13.0.1.dist-info → mastapy-13.0.1.post2.dist-info}/METADATA +7 -1
- {mastapy-13.0.1.dist-info → mastapy-13.0.1.post2.dist-info}/RECORD +5 -5
- {mastapy-13.0.1.dist-info → mastapy-13.0.1.post2.dist-info}/WHEEL +1 -1
@@ -28,11 +28,6 @@ class Overridable_bool(mixins.OverridableMixin):
|
|
28
28
|
|
29
29
|
__qualname__ = "bool"
|
30
30
|
|
31
|
-
def __new__(cls, instance_to_wrap: "Overridable_bool.TYPE"):
|
32
|
-
return bool.__new__(
|
33
|
-
cls, instance_to_wrap.Value if instance_to_wrap.Value is not None else False
|
34
|
-
)
|
35
|
-
|
36
31
|
def __init__(self, instance_to_wrap: "Overridable_bool.TYPE"):
|
37
32
|
try:
|
38
33
|
self.enclosing = instance_to_wrap
|
@@ -182,6 +182,11 @@ def _check_invalid_typing(
|
|
182
182
|
if isinstance(type_, str):
|
183
183
|
return
|
184
184
|
|
185
|
+
from .implicit.overridable import Overridable_bool
|
186
|
+
|
187
|
+
if isinstance(value, bool) and type_ == Overridable_bool:
|
188
|
+
return
|
189
|
+
|
185
190
|
try:
|
186
191
|
typeguard.check_type(
|
187
192
|
value, type_, forward_ref_policy=typeguard.ForwardRefPolicy.IGNORE
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mastapy
|
3
|
-
Version: 13.0.1
|
3
|
+
Version: 13.0.1.post2
|
4
4
|
Summary: Python scripting API for MASTA.
|
5
5
|
Home-page: https://www.smartmt.com/
|
6
6
|
License: MIT
|
@@ -19,8 +19,14 @@ Classifier: Programming Language :: Python :: 3.8
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
22
23
|
Classifier: Programming Language :: Python :: 3 :: Only
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
23
26
|
Classifier: Programming Language :: Python :: 3.12
|
27
|
+
Classifier: Programming Language :: Python :: 3.7
|
28
|
+
Classifier: Programming Language :: Python :: 3.8
|
29
|
+
Classifier: Programming Language :: Python :: 3.9
|
24
30
|
Requires-Dist: lazy-imports (>=0.3.1)
|
25
31
|
Requires-Dist: numpy (<1.22.0) ; python_version < "3.8"
|
26
32
|
Requires-Dist: numpy (>=1.22.0) ; python_version >= "3.8" and python_version < "3.12"
|
@@ -205,7 +205,7 @@ mastapy/_internal/implicit/overridable/__init__.py,sha256=WS27ctkofZBIBJrLcvG1XQ
|
|
205
205
|
mastapy/_internal/implicit/overridable/ball_bearing_contact_calculation.py,sha256=mpxMTYvbpslLWsauEdUZUAwrscv4U9PBRsoM3UybXzQ,2697
|
206
206
|
mastapy/_internal/implicit/overridable/bearing_efficiency_rating_method.py,sha256=jagk4ew-nyQ9j_s7LKk3mKH6syz67pHYo5iTAjDpepY,2641
|
207
207
|
mastapy/_internal/implicit/overridable/bearing_f0_input_method.py,sha256=WJuKqkT555kd10A8WQCBUQrqdYVMpjnMDcEtKAbTnVc,2517
|
208
|
-
mastapy/_internal/implicit/overridable/bool.py,sha256=
|
208
|
+
mastapy/_internal/implicit/overridable/bool.py,sha256=xCMP5PORIH56Z5kam7s76JfTYEceSwd31xJp3JJpP1Y,2535
|
209
209
|
mastapy/_internal/implicit/overridable/boundary_condition_type.py,sha256=qmOvzhAUlZfnfehiFoJymbPjhpHxPNaOwH6Dvhd05hk,2561
|
210
210
|
mastapy/_internal/implicit/overridable/coefficient_of_friction_calculation_method.py,sha256=y4070Eg26q6da85SSod0UvqDgl7B8-Mampw-KvKb7NA,2725
|
211
211
|
mastapy/_internal/implicit/overridable/contact_ratio_requirements.py,sha256=zDCqq01fAt69Yu_JtWlnkqZ5v2_d9pHKGK6RETFmTd8,2501
|
@@ -237,7 +237,7 @@ mastapy/_internal/mixins.py,sha256=-A35pUg8HNlBn_w2bdgYHv4vRtpnugcEra6p63PkUMc,2
|
|
237
237
|
mastapy/_internal/overridable_constructor.py,sha256=T54EQXmkVtRy6djenLFuvQo2lH60uwZPbQd6skEAcJI,1289
|
238
238
|
mastapy/_internal/python_net.py,sha256=9Nwk1H7fYwDVXPKUhzDI243g5M9ojUPorPBweZMhW0A,3115
|
239
239
|
mastapy/_internal/tuple_with_name.py,sha256=ycQSIo9JiVzZCtPpK_EiqOEd6hzxtVy7pR4N51E4Arc,1362
|
240
|
-
mastapy/_internal/type_enforcement.py,sha256=
|
240
|
+
mastapy/_internal/type_enforcement.py,sha256=ATK8c3gzvb9zMeVZoHydxgsk2UpHCa15W9TT9OviQ5s,9117
|
241
241
|
mastapy/_internal/utility.py,sha256=EIgtsHjK1tXQsWdVjlWlVtLJOViQgdOn_CY_jBPG6x4,796
|
242
242
|
mastapy/_internal/version.py,sha256=1TLIbUg2VCGmf2Xf2P5lgTzKa-3JxFebSdOSK2ocxIk,138
|
243
243
|
mastapy/_math/__init__.py,sha256=7xx4GKvFaCQAdOT4Ex0Ywh_E6u38DjJ6EjgtIKEoIng,798
|
@@ -8068,6 +8068,6 @@ mastapy/utility_gui/charts/_1867.py,sha256=1hJpXm9zM-OQJx61-lTgH4EJQ5A1YtWUCuXPz
|
|
8068
8068
|
mastapy/utility_gui/charts/__init__.py,sha256=QndX3Dpo2_IfdPvwDWJyZy9if9GrKkV0thRO4W72h_k,2186
|
8069
8069
|
mastapy/utility_gui/databases/_1868.py,sha256=jaR_Qatne14eRSlqSMS2rU94JZ8ELSXzOp84sl0bW9o,3161
|
8070
8070
|
mastapy/utility_gui/databases/__init__.py,sha256=QnDdKDRiniAxoht0PxLD-M5MdTOAr19xNpRsARKSPKY,441
|
8071
|
-
mastapy-13.0.1.dist-info/METADATA,sha256=
|
8072
|
-
mastapy-13.0.1.dist-info/WHEEL,sha256=
|
8073
|
-
mastapy-13.0.1.dist-info/RECORD,,
|
8071
|
+
mastapy-13.0.1.post2.dist-info/METADATA,sha256=zTW4j4F6BaA4a8S-lFdHhGsmpwmAMk3IHT7b-zZCY5k,3401
|
8072
|
+
mastapy-13.0.1.post2.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
8073
|
+
mastapy-13.0.1.post2.dist-info/RECORD,,
|