-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: enhance Component initialization and attribute management
- Reorganized the __init__ method to initialize instance-specific attributes before calling the parent class constructor. - Introduced new instance attributes for better management of inputs, outputs, and internal state. - Improved clarity by processing input kwargs and ensuring unique ID assignment for components. - Streamlined the setup process for inputs and outputs, enhancing overall structure and maintainability.
- Loading branch information
1 parent
c589cb4
commit c7d8654
Showing
1 changed file
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters