This commit is contained in:
Waylon Walker 2024-02-29 15:05:57 -06:00
parent 527ecc4062
commit 85554e2169
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
2 changed files with 3 additions and 10 deletions

View file

@ -27,9 +27,9 @@ classifiers = [
dependencies = [ 'rich', 'sqlmodel', 'typer' ] dependencies = [ 'rich', 'sqlmodel', 'typer' ]
[project.urls] [project.urls]
Documentation = "https://github.com/unknown/sqlmodel-base#readme" Documentation = "https://github.com/waylonwalker/sqlmodel-base#readme"
Issues = "https://github.com/unknown/sqlmodel-base/issues" Issues = "https://github.com/waylonwalker/sqlmodel-base/issues"
Source = "https://github.com/unknown/sqlmodel-base" Source = "https://github.com/waylonwalker/sqlmodel-base"
[tool.hatch.version] [tool.hatch.version]
path = "sqlmodel_base/__about__.py" path = "sqlmodel_base/__about__.py"

View file

@ -127,13 +127,6 @@ def create_heroes():
hero_2 = Hero(name="Spider-Boy", secret_name="Pedro Parqueador").create() hero_2 = Hero(name="Spider-Boy", secret_name="Pedro Parqueador").create()
hero_3 = Hero(name="Rusty-Man", secret_name="Tommy Sharp", age=48).create() hero_3 = Hero(name="Rusty-Man", secret_name="Tommy Sharp", age=48).create()
# with Session(engine) as session:
# session.add(hero_1)
# session.add(hero_2)
# session.add(hero_3)
#
# session.commit()
def page_heroes(): def page_heroes():
next_page = 1 next_page = 1