7bcfb7504f
- Added SQLAlchemy initialization script for backend setup. - Created SQLAlchemy prompts for generating database models with LLMs. - Introduced Docker Compose configuration for PostgreSQL service. - Added SQL script to enable necessary PostgreSQL extensions.
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"version": "1",
|
|
"metadata": {
|
|
"marimo_version": "0.14.17"
|
|
},
|
|
"cells": [
|
|
{
|
|
"id": "Hbol",
|
|
"code_hash": "1d0db38904205bec4d6f6f6a1f6cec3e",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "MJUe",
|
|
"code_hash": "0df0bfd7ff72ff9c8e46d08b9cafe41f",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<span class=\"markdown prose dark:prose-invert\"><h1 id=\"sqlalchemy-1-inicializacion-del-backend\">SQLAlchemy 1: Inicializaci\u00f3n del backend</h1></span>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "vblA",
|
|
"code_hash": "431dc7f7109c8c3f501ddfb63cd22792",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Aqui vamos a generar la Base y la session de el backend usando SQLAlchemy, que usar\u00e1n todos los objetos que se registren en la bbdd ademas de las capas de arquitecture_layer que hereden nuestras clases</span></span>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "bkHC",
|
|
"code_hash": "1b2dbc3e0e1a520310bb37cab8c2b812",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": [
|
|
{
|
|
"type": "stream",
|
|
"name": "stdout",
|
|
"text": "\u2139\ufe0f /home/lucas/DataProyects/pdf_extraccion/backend/.env ya tiene todas las claves necesarias.\n\u2705 Creado /home/lucas/DataProyects/pdf_extraccion/backend/db/base.py\n\u2705 Creado /home/lucas/DataProyects/pdf_extraccion/backend/db/session.py\n"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lEQa",
|
|
"code_hash": "8a9301f35990da46a5875fb8c2d57351",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": [
|
|
{
|
|
"type": "stream",
|
|
"name": "stdout",
|
|
"text": "\u2705 /home/lucas/DataProyects/Snippets_marimo_noteebooks/utils/ArquitectureLayer/Repo.py \u2192 domains/arquitecture_layer/Repo.py\n\u2705 /home/lucas/DataProyects/Snippets_marimo_noteebooks/utils/ArquitectureLayer/Mapper.py \u2192 domains/arquitecture_layer/Mapper.py\n\u2705 /home/lucas/DataProyects/Snippets_marimo_noteebooks/utils/ArquitectureLayer/Model.py \u2192 domains/arquitecture_layer/Model.py\n\u2705 Creado domains/arquitecture_layer/__init__.py\n"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |