-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py] Fix mypy type annotation issues in action_builder #16207
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to move the import line so the linter doesn't fail.
If you can run ./scripts/format.sh
it will probably do it for you.
Ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
User description
🔗 Related Issues
💥 What does this PR do?
fixed mypy issues in action builder file
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Other
Description
Fixed mypy type checking issues in action builder
Added explicit type annotations for class attributes
Replaced type checking with isinstance() calls
Reorganized imports for better type hint support
Diagram Walkthrough
File Walkthrough
action_builder.py
Fix mypy type checking issues
py/selenium/webdriver/common/actions/action_builder.py
devices
andenc
variablesisinstance()
calls