PySimultan 0.3.1__py3-none-any.whl → 0.3.3__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySimultan
3
- Version: 0.3.1
3
+ Version: 0.3.3
4
4
  Home-page:
5
5
  Author: Max Buehler
6
6
  Author-email: Max Bühler <maximilian.buehler@tuwien.ac.at>
@@ -7,7 +7,7 @@ PySimultan2/multi_values.py,sha256=ZFXlTLuZo32x7_7diYAp2XEjp5uwgHLgNOzN7v74-5I,1
7
7
  PySimultan2/object_mapper.py,sha256=cvw0gJk3NzsSkN2UNd7nRxhBkTe7TYddmHwxW7VpIHg,8973
8
8
  PySimultan2/simultan_object.py,sha256=PWpveGPFi1nlcHSK8vT_3lyEoa27eBY6ZpKAtgR-KGg,16215
9
9
  PySimultan2/taxonomy_maps.py,sha256=qgKM0CdwwgLCFj-ivzY38VaCpE_eCPKyCiBaTBazpBk,7509
10
- PySimultan2/utils.py,sha256=U3Eru2uQbDCxraFbbbUO1wmVRxLXmo4lFksVcJcrtmg,62818
10
+ PySimultan2/utils.py,sha256=PBmXTchWc7neXdBcYRx60Qo1-JSvvOJu2t6nrq_7Ht4,62930
11
11
  PySimultan2/geometry/__init__.py,sha256=nJolTD1i5J8qUkOQa-r3D20aq3Co3sN31Xc0n4wJpJo,248
12
12
  PySimultan2/geometry/geometry_base.py,sha256=IQQPVxkgIdBsFJp8rPSCNiCiKO7TxkVWy-XmE8GjDbE,23367
13
13
  PySimultan2/geometry/utils.py,sha256=K_3HnqPMAlJkOh01oqjspeqsLrooG9NwIQKWf14IJ48,8513
@@ -75,8 +75,8 @@ PySimultan2/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
75
75
  PySimultan2/resources/assimp.dll,sha256=HwfDwXqoPDTFRyoQpA3qmgZoUdFtziJkV5fNtktEZEU,6081536
76
76
  PySimultan2/resources/defaultsettings.xml,sha256=s6Tk1tubLz5UYqXZWpD42EDHzedemRY1nEneoIVcUfg,392
77
77
  PySimultan2/resources/setup.bat,sha256=fjvvYfVM6TalS-QTSiKAbAId5nTsk8kGGo06ba-wWaY,32
78
- PySimultan-0.3.1.dist-info/LICENSE.txt,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
79
- PySimultan-0.3.1.dist-info/METADATA,sha256=sikNq1pLMe2i0Gx3X1RFSofB9Rxae3u-PL0AJgefSto,1990
80
- PySimultan-0.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
81
- PySimultan-0.3.1.dist-info/top_level.txt,sha256=pbE6SbdKIEEK4vaDNmmdRTj0vesrjgRXGow8QWMTXvk,12
82
- PySimultan-0.3.1.dist-info/RECORD,,
78
+ PySimultan-0.3.3.dist-info/LICENSE.txt,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
79
+ PySimultan-0.3.3.dist-info/METADATA,sha256=zdtPzID1vCUiaHgqWw_ZbZXXKdE8Bmb9QszX04zXANU,1990
80
+ PySimultan-0.3.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
81
+ PySimultan-0.3.3.dist-info/top_level.txt,sha256=pbE6SbdKIEEK4vaDNmmdRTj0vesrjgRXGow8QWMTXvk,12
82
+ PySimultan-0.3.3.dist-info/RECORD,,
PySimultan2/utils.py CHANGED
@@ -100,9 +100,11 @@ def create_python_object(wrapped_obj: SimComponent, cls: Type[SimultanObject], *
100
100
  kwargs['__obj_init__'] = True
101
101
 
102
102
  obj = cls.__new__(cls)
103
+ obj.__obj_init__ = True
103
104
  obj._wrapped_obj = wrapped_obj
104
105
  obj._data_model = kwargs.get('data_model', None)
105
106
  obj._object_mapper = kwargs.get('object_mapper', None)
107
+ obj.component_policy = kwargs.get('component_policy', 'subcomponent')
106
108
 
107
109
  if "_cls_instances" not in cls.__dict__:
108
110
  cls._cls_instances = WeakSet()