diff options
Diffstat (limited to 'notebooks/sqlalchemy/sqlalchemy.ipynb')
| -rw-r--r-- | notebooks/sqlalchemy/sqlalchemy.ipynb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/notebooks/sqlalchemy/sqlalchemy.ipynb b/notebooks/sqlalchemy/sqlalchemy.ipynb index 8bb8333..92b2d56 100644 --- a/notebooks/sqlalchemy/sqlalchemy.ipynb +++ b/notebooks/sqlalchemy/sqlalchemy.ipynb | |||
| @@ -182,9 +182,7 @@ | |||
| 182 | "source": [ | 182 | "source": [ |
| 183 | "from sqlalchemy import Column, Table\n", | 183 | "from sqlalchemy import Column, Table\n", |
| 184 | "from sqlalchemy import DateTime, ForeignKey, Integer, Numeric, String\n", | 184 | "from sqlalchemy import DateTime, ForeignKey, Integer, Numeric, String\n", |
| 185 | "from sqlalchemy.orm import relationship\n", | 185 | "from sqlalchemy.orm import declarative_base, relationship\n", |
| 186 | "\n", | ||
| 187 | "from sqlalchemy.ext.declarative import declarative_base\n", | ||
| 188 | "\n", | 186 | "\n", |
| 189 | "Base = declarative_base()\n", | 187 | "Base = declarative_base()\n", |
| 190 | "\n", | 188 | "\n", |
| @@ -767,7 +765,7 @@ | |||
| 767 | "name": "python", | 765 | "name": "python", |
| 768 | "nbconvert_exporter": "python", | 766 | "nbconvert_exporter": "python", |
| 769 | "pygments_lexer": "ipython3", | 767 | "pygments_lexer": "ipython3", |
| 770 | "version": "3.8.10" | 768 | "version": "3.10.8" |
| 771 | } | 769 | } |
| 772 | }, | 770 | }, |
| 773 | "nbformat": 4, | 771 | "nbformat": 4, |
