Not able to access the output of libify.exporter(globals()) #6
Replies: 9 comments
|
@ethannakamura1211 Unless you are using Databricks Community, you would not need to copy the JSON from
|
|
Hey man facing the issue, when I do an import mod1 = libify.importer(globals(), config={"key": "IDoG5OWjB0Xxw_ECYzdVkBLyI_wAONLBS7bAL4MHrK4=", "file": "/tmp/tmpu4f3cyxr"}) it returns with a new path?! |
|
Hi @businessglitch, are you using the Databricks Community Edition? |
|
Hmm, i don't think so, using data bricks for a client directly from the Azure portal. In case if it doesn't work on that do you know any other libraries that do that same? |
|
None that I'm aware of. |
|
Whatif someone needs to pass few arguments e.g. libify.importer(globals(), '/path/to/importee1 <need to pass two parameters/values/args>')? is it possible? |
I haven't come across a use case where parameters would need to be specified while importing a module. How are you planning on using these variables? |
|
@vagrantism when i use and when try to use "mod1.something" it says mod1 module not found. could you please tell me what i'm doing wrong? |
|
@mrizwan12, can you check if the file ("tmp/tmpu4f3cyxr") actually exists? |
Uh oh!
There was an error while loading. Please reload this page.
Currently it doesn't seem possible to access the json output of libify.exporter(globals()). The only way to do so is by copying it from the console. Is there a work-around?
All reactions