You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/archive/tutorials/json.ipynb
+3-14Lines changed: 3 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -85,22 +85,11 @@
85
85
},
86
86
{
87
87
"cell_type": "code",
88
-
"execution_count": 3,
88
+
"execution_count": null,
89
89
"id": "4aaf96db-85d9-4e94-a4c3-3558f4cc6671",
90
90
"metadata": {},
91
91
"outputs": [],
92
-
"source": [
93
-
"@schema\n",
94
-
"class Team(dj.Lookup):\n",
95
-
" definition = \"\"\"\n",
96
-
" # A team within a company\n",
97
-
" name: varchar(40) # team name\n",
98
-
" ---\n",
99
-
" car=null: json # A car belonging to a team (null to allow registering first but specifying car later)\n",
100
-
"\n",
101
-
" unique index(car.length:decimal(4, 1)) # Add an index if this key is frequently accessed\n",
102
-
"\"\"\""
103
-
]
92
+
"source": "@schema\nclass Team(dj.Lookup):\n definition = \"\"\"\n # A team within a company\n name: varchar(40) # team name\n ---\n car=null: json # A car belonging to a team (null to allow registering first but specifying car later)\n\n unique index(car.length:decimal(4, 1)) # Add an index if this key is frequently accessed\n\"\"\""
0 commit comments