Skip to content

Commit 994388b

Browse files
committed
skip functions when collecting values for variable sharing
1 parent 2eb67a2 commit 994388b

File tree

1 file changed

+1
-1
lines changed
  • src/Microsoft.DotNet.Interactive.Jupyter/CommandEvents/LanguageHandlers/python

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Interactive.Jupyter/CommandEvents/LanguageHandlers/python/coe_comm_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def handle_control_comm_msg(self, msg):
3434

3535

3636
class CommandEventHandler:
37-
__exclude_types = ["<class 'module'>"]
37+
__exclude_types = ["<class 'module'>", "<class 'builtin_function_or_method'>","<class 'function'>"]
3838

3939

4040
def handle_command_or_event(self, data):

0 commit comments

Comments
 (0)