HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/nbclient/tests/files/Other Comms.ipynb
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-05-29T11:16:26.365338Z",
     "start_time": "2020-05-29T11:16:26.362047Z"
    }
   },
   "outputs": [],
   "source": [
    "from comm import create_comm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-05-29T11:16:26.377700Z",
     "start_time": "2020-05-29T11:16:26.371603Z"
    }
   },
   "outputs": [],
   "source": [
    "comm = create_comm('this-comm-tests-a-missing-handler', data={'id': 'foo'})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-05-29T11:16:26.584520Z",
     "start_time": "2020-05-29T11:16:26.581213Z"
    }
   },
   "outputs": [],
   "source": [
    "comm.send(data={'id': 'bar'})"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}