maqet 0.0.1.2__py3-none-any.whl → 0.0.1.3__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.
maqet/core.py CHANGED
@@ -260,8 +260,6 @@ class Maqet:
260
260
  self.Machine = Machine # For comfortable stage building
261
261
  self._config = benedict(kwargs)
262
262
 
263
- self._validate_config()
264
-
265
263
  self._stages = dict()
266
264
  self.storage: dict[str, Drive] = dict()
267
265
 
@@ -278,18 +276,6 @@ class Maqet:
278
276
  else:
279
277
  LOG.warning(f"Stage {stage} not found. Skipping")
280
278
 
281
- def _validate_config(self):
282
- default_config_fields = {
283
- 'binary': 'qemu-system-x86_64',
284
- 'arguments': [],
285
- 'user_arguments': [],
286
- 'storage': []
287
- }
288
-
289
- for k, v in default_config_fields.items():
290
- if k not in self._config:
291
- self._config[k] = v
292
-
293
279
  @property
294
280
  def command(self) -> str:
295
281
  """
@@ -312,11 +298,9 @@ class Maqet:
312
298
  @config.setter
313
299
  def set_config(self, new_config: dict):
314
300
  self._config = benedict(new_config)
315
- self._validate_config()
316
301
 
317
302
  def merge_config(self, new_config: dict):
318
303
  self._config.merge(new_config)
319
- self._validate_config()
320
304
 
321
305
  def add_argument(self, argument: str) -> None:
322
306
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maqet
3
- Version: 0.0.1.2
3
+ Version: 0.0.1.3
4
4
  Project-URL: Repository, https://gitlab.com/m4x0n_24/maqet/-/tree/main
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Requires-Python: >=3.12
@@ -1,5 +1,5 @@
1
1
  maqet/__init__.py,sha256=hH-7x9aitvZKK46YFjdGLvHRSGMl67QLWwYlzikeoRw,96
2
- maqet/core.py,sha256=rlgriOc8zw2IlN2NjWmctlIzVNznWtRZxq4h7xif-VU,12274
2
+ maqet/core.py,sha256=7SjZaVNWsZG7Sp2lw_UcrMKInWHMsprpq9nnnyiEi8s,11841
3
3
  maqet/functions.py,sha256=gZRIeCZpalnK6T9ktDzGHIT8LzniXaEMdzFNVTccXOo,2856
4
4
  maqet/logger.py,sha256=3N9TnInogdYVZ7DrT6Cg6lL8Q-c6AufBDspy9RmLWhk,1821
5
5
  maqet/storage.py,sha256=09atk3-eMf2xH-CGdwrr9D-zHMPXkaLXT1AIjZ6WMxI,6273
@@ -27,7 +27,7 @@ qemu/utils/qemu_ga_client.py,sha256=ycQ6lOh7Q0DEwvNq_LyE0Y4DRZfimq8kjhNlyn3K0Zk,
27
27
  qemu/utils/qom.py,sha256=sC2wXMZ_dH4E5HnYinjCMpagx_I-9NJ5oJi0rEiqqQQ,7564
28
28
  qemu/utils/qom_common.py,sha256=UQitmqLNGYfd3DoMaLNxRprgJeaEs6hX-8mrhGQ2mkc,4991
29
29
  qemu/utils/qom_fuse.py,sha256=uDbTKVWWej1Ey1Jsnw2p9sjmuLC_2vBBtBZpPG40I-k,5966
30
- maqet-0.0.1.2.dist-info/METADATA,sha256=Rg_1KZONMugNnUwJo5RQ-jQWr_CygQFvsVGdT4EaVbA,3154
31
- maqet-0.0.1.2.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
32
- maqet-0.0.1.2.dist-info/top_level.txt,sha256=9J0eHJ7TIdifxVkOxhgWVSyxkKRQhuFcbqUzIjhmgWg,11
33
- maqet-0.0.1.2.dist-info/RECORD,,
30
+ maqet-0.0.1.3.dist-info/METADATA,sha256=lkT0rMHt-c6_DXT-HjQPZFULSEHIzceQqsBMSw24Oo4,3154
31
+ maqet-0.0.1.3.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
32
+ maqet-0.0.1.3.dist-info/top_level.txt,sha256=9J0eHJ7TIdifxVkOxhgWVSyxkKRQhuFcbqUzIjhmgWg,11
33
+ maqet-0.0.1.3.dist-info/RECORD,,