question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

configure magic conversion is seamless

See original GitHub issue

%%configure magic code conversion is not seamless, for example:

%%configure -f
{"executorMemory": "3072M", "executorCores": 4, "numExecutors":10}

gets transformed to python code & r code

# %%configure -f
{"executorMemory": "3072M", "executorCores": 4, "numExecutors":10}

and gets transformed to scala code

// %%configure -f
{"executorMemory": "3072M", "executorCores": 4, "numExecutors":10}.

I think the conversion should be completely commented similar to SQL magic %%sql.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
mwoutscommented, Aug 30, 2020

Hi @malayhm , the next release (version 1.6.0) will have a new configuration option custom_cell_magics.

For instance, if you add

custom_cell_magics = "configure,local"

to your jupytext.toml file, then all the notebook in that folder and subfolders will recognize configure and local as cell magics, and hence the whole cell will be commented out.

0reactions
malayhmcommented, Aug 31, 2020

Thanks for the update @mwouts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to enable the Encode Magic integration
eFront integrates with the EncodeMagic service to offer seamless, automatic conversions of various file types to a web-friendly format, ensuring that ...
Read more >
Automated Forms Conversion Service - Adobe Tech Blog
Automated Forms Conversion Service: Seamless transition from PDF forms to HTML forms · Save time · Get consistent appearance · Automate addition of ......
Read more >
Web3 Wallet Onboarding & Auth SDKs | Magic
Instant Web3 wallets for your customers. Magic gives developers the tools to make adoption frictionless, secure, and non-custodial. No downloads. No passwords.
Read more >
The beginner's guide to magic links - Postmark
Magic links are a great way to create a smooth login experience for your users. Here's everything you need to know to get...
Read more >
Vector Magic Desktop Edition
Convert images offline and work seamlessly with major graphics software like Illustrator, Corel DRAW, and others via copy-paste and drag-and-drop functionality.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found