Prefab-classes

Latest version: v0.12.0

Safety actively analyzes 623187 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.12.0

What's Changed
* Remove the AST compiled form of Prefab Classes by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/95
* Add a way to declare prefab classes using slots by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/96
* Fix a structural bug with the internals that caused the globals dictionary passed to exec to be shared between classes.

**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.11.1...v0.12.0

0.11.1

What's Changed
* Check if attributes are in slots before processing defaults. Fixes slots in no default annotated classes. by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/94


**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.11.0...v0.11.1

0.11.0

What's Changed
* Deprecate the compiled form of prefab to make maintenance more manageable by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/84
* Fix the use of names other than 'self' in pre and post init by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/85

**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.10.2...v0.11.0

0.10.2

What's Changed
* Change the metadata name to `prefab-classes` to match the name on PyPI


**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.10.1...v0.10.2

0.10.1

What's Changed
* Add basic stub file for __init__.py to provide autocomplete by DavidCEllis in https://github.com/DavidCEllis/PrefabClasses/pull/80


**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.10.0...v0.10.1

0.10.0

What's Changed
* `prefab_classes` now depends on `ducktools.lazyimporter`
* `prefab_classes_hook` is now `prefab_classes.hook`
* `prefab_compiler`, `is_prefab` and `is_prefab_instance` are now available directly from `prefab_classes`
* Lazy Imports are being implemented to allow easy access to submodule attributes without eagerly importing the modules

**Full Changelog**: https://github.com/DavidCEllis/PrefabClasses/compare/v0.9.6...v0.10.0

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.