Closed klkvr closed 1 month ago
We need to parse Vyper import directives for caching to work correctly.
This PR implements parser which is able to process imports of format import a.b.c and from a.b.c import d. Relative imports (from ...a.b.c import d) are also supported.
import a.b.c
from a.b.c import d
from ...a.b.c import d
Tested on snekmate codebase.
We need to parse Vyper import directives for caching to work correctly.
This PR implements parser which is able to process imports of format
import a.b.c
andfrom a.b.c import d
. Relative imports (from ...a.b.c import d
) are also supported.Tested on snekmate codebase.