[py] Fix mypy type annotation issues in action_builder#16207
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
cgoldberg
left a comment
There was a problem hiding this comment.
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. |
|
@cgoldberg / @navin772 , is there anything pending in the PR for merging? Please let me know if its accepted for merge? Thanks. |
|
It is good to go from my side, waiting for Corey to review it once. |
|
ok thanks @navin772 . |
|
Thanks @cgoldberg . |
User description
🔗 Related Issues
#15697
💥 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 issuespy/selenium/webdriver/common/actions/action_builder.py
devicesandencvariablesisinstance()calls