Skip to content

Commit 871fb9f

Browse files
author
Rens Dimmendaal
committed
small textual fix
1 parent b19738c commit 871fb9f

File tree

1 file changed

+66
-9
lines changed

1 file changed

+66
-9
lines changed

Diff for: nbs/exploration_transform_with_plum.ipynb

+66-9
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
{
467467
"data": {
468468
"text/plain": [
469-
"{'g': <__main__.Transform at 0x107d675f0>}"
469+
"{'g': <__main__.Transform at 0x10d2ca510>}"
470470
]
471471
},
472472
"execution_count": 14,
@@ -562,7 +562,7 @@
562562
" def encodes(self, x:int): return 'int'\n",
563563
"```\n",
564564
"\n",
565-
"You'll see this implementation causes some state problems down the line.\n",
565+
"**⚠️Question for JeremyYou'll see this implementation causes some state problems down the line.\n",
566566
"It's good to know this is the reason why we used that global state in the first place."
567567
]
568568
},
@@ -897,7 +897,16 @@
897897
"execution_count": 28,
898898
"id": "37bf9b91",
899899
"metadata": {},
900-
"outputs": [],
900+
"outputs": [
901+
{
902+
"name": "stdout",
903+
"output_type": "stream",
904+
"text": [
905+
"INIT SUBLCASS\n",
906+
"INIT SUBLCASS\n"
907+
]
908+
}
909+
],
901910
"source": [
902911
"class Q(Transform):\n",
903912
" def encodes(self, x:float): return x/2\n",
@@ -961,7 +970,15 @@
961970
"execution_count": 31,
962971
"id": "e6e326ec",
963972
"metadata": {},
964-
"outputs": [],
973+
"outputs": [
974+
{
975+
"name": "stdout",
976+
"output_type": "stream",
977+
"text": [
978+
"INIT SUBLCASS\n"
979+
]
980+
}
981+
],
965982
"source": [
966983
"class A(Transform):\n",
967984
" def encodes(self, x:int): return \"BOO!\"\n",
@@ -977,7 +994,15 @@
977994
"execution_count": 32,
978995
"id": "9dabd929",
979996
"metadata": {},
980-
"outputs": [],
997+
"outputs": [
998+
{
999+
"name": "stdout",
1000+
"output_type": "stream",
1001+
"text": [
1002+
"INIT SUBLCASS\n"
1003+
]
1004+
}
1005+
],
9811006
"source": [
9821007
"class A(Transform): pass\n",
9831008
"\n",
@@ -993,7 +1018,15 @@
9931018
"execution_count": 33,
9941019
"id": "47c95dfe",
9951020
"metadata": {},
996-
"outputs": [],
1021+
"outputs": [
1022+
{
1023+
"name": "stdout",
1024+
"output_type": "stream",
1025+
"text": [
1026+
"INIT SUBLCASS\n"
1027+
]
1028+
}
1029+
],
9971030
"source": [
9981031
"class _Tst(Transform): pass \n",
9991032
"\n",
@@ -1019,7 +1052,15 @@
10191052
"execution_count": 35,
10201053
"id": "962bb447",
10211054
"metadata": {},
1022-
"outputs": [],
1055+
"outputs": [
1056+
{
1057+
"name": "stdout",
1058+
"output_type": "stream",
1059+
"text": [
1060+
"INIT SUBLCASS\n"
1061+
]
1062+
}
1063+
],
10231064
"source": [
10241065
"class A(Transform):\n",
10251066
" def encodes(self, x): return 'obj'\n",
@@ -1054,7 +1095,15 @@
10541095
"execution_count": 37,
10551096
"id": "03d9bc0e",
10561097
"metadata": {},
1057-
"outputs": [],
1098+
"outputs": [
1099+
{
1100+
"name": "stdout",
1101+
"output_type": "stream",
1102+
"text": [
1103+
"INIT SUBLCASS\n"
1104+
]
1105+
}
1106+
],
10581107
"source": [
10591108
"class A(Transform): pass\n",
10601109
"\n",
@@ -1075,7 +1124,15 @@
10751124
"execution_count": 38,
10761125
"id": "852cc2ce",
10771126
"metadata": {},
1078-
"outputs": [],
1127+
"outputs": [
1128+
{
1129+
"name": "stdout",
1130+
"output_type": "stream",
1131+
"text": [
1132+
"INIT SUBLCASS\n"
1133+
]
1134+
}
1135+
],
10791136
"source": [
10801137
"class A(Transform):\n",
10811138
" def encodes(self, x:MyClass|float): return x/2\n",

0 commit comments

Comments
 (0)