Open YashRL opened 3 months ago
Removed Future Import: Removed the from __future__ import annotations import, as it's unnecessary in Python 3.7 and later.
from __future__ import annotations
Simplified Version Check: Simplified the version check for Python 3.10 or later.
Removed Unused Imports: Removed unused imports to clean up the code.
Simplified Type Annotation: Removed the type annotation for action.type in the format_action function to simplify the code.
action.type
format_action
Improved Readability: Made minor formatting improvements to enhance readability.
Removed Future Import: Removed the
from __future__ import annotations
import, as it's unnecessary in Python 3.7 and later.Simplified Version Check: Simplified the version check for Python 3.10 or later.
Removed Unused Imports: Removed unused imports to clean up the code.
Simplified Type Annotation: Removed the type annotation for
action.type
in theformat_action
function to simplify the code.Improved Readability: Made minor formatting improvements to enhance readability.