iPython shell `set_next_input` not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 09:05 AM
I'm running on 11.3 LTS.
Expected Behavior:
Databricks Notebook Behavior (it does nothing):
You can also do `shell.set_next_input("test", replace=True)` to replace the current cell content which also doesn't work on Databricks.
`set_next_input` stores this input in the payload manager which is then stored in the reply after execute in the `payload` key: https://github.com/ipython/ipykernel/blob/main/ipykernel/ipkernel.py#L433-L439
It seems like Databricks is not recognizing the payload in the reply and the information is getting dropped. Happy to help in any way to get this resolved since this feature is important for the work we are doing on Databricks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 07:42 AM
Hey @Kaniz Fatma, thanks for taking the time to reply! I just tried DBR version 11.2 and it also has this issue. Let me know if there is anything else I can do to help.
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)