-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: enhance CustomComponent class and updates tests #3201
Conversation
Refactored user_id and flow_id in CustomComponent to use properties for better encapsulation and code clarity
…orts Refactored the CustomComponent class to streamline initialization and removed unnecessary import for BaseCallbackHandler
…or field order to improve consistency and clarity
…ser_id for consistency
…mComponent for better code clarity
…ctory_reader.py import and usage
…validation and error reporting in message.py
…compatibility in message.py
…e for consistency in test_custom_component.py
…g and custom fields in test_prompt_component.py
… in pyproject.toml
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 05 Aug 24 18:58 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
Refactored the CustomComponent class to streamline initialization and removed unnecessary imports for better code clarity. Updated the user_id and flow_id parameters to use properties for better encapsulation and code clarity.