-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Feature RequestNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededrefactorUsed for code refactorsUsed for code refactors
Description
It would be good to rewrite conversion.py based on syntax trees with proper parsers for python and javascript. On the python side, that would be the ast module. I'm sure there are similar tools on the JavaScript side.
I think it might also be good to have the conversion system be in a totally separate package that geemap depends on.
Right now, the conversion module only depends on a few things from geemap and only from coreutils: random_string and temp_file_path
Line 23 in 683ac42
| from . import coreutils |
And example of using python's ast module: https://github.com/asottile/pyupgrade
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature RequestNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededrefactorUsed for code refactorsUsed for code refactors