Skip to content

Commit 6e40ece

Browse files
authored
Merge pull request #12 from robocorp/avaissi/no-cache-for-inspect-data
Do not store the do_inspect's data to cache between calls
2 parents 9fa744c + 3e9560f commit 6e40ece

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = robotkernel
3-
version = 10.3.1
3+
version = 10.3.2
44
description = A Jupyter kernel for interactive acceptance-test-driven development with the Robot Framework
55
long_description = file: README.rst, CHANGELOG.rst
66
url = https://github.com/robocorp/robocode-kernel

src/robotkernel/kernel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def do_complete(self, code, cursor_pos):
206206
}
207207

208208
def do_inspect(self, code, cursor_pos, detail_level=0):
209+
# don't cache robot_inspect_data
210+
self.robot_inspect_data = {}
209211
cursor_pos = cursor_pos is None and len(code) or cursor_pos
210212
line, offset = line_at_cursor(code, cursor_pos)
211213
line_cursor = cursor_pos - offset

0 commit comments

Comments
 (0)