import hero_app
This commit is contained in:
parent
c3db85a209
commit
864321a45b
3 changed files with 7 additions and 1 deletions
3
.pyflyby
3
.pyflyby
|
|
@ -19,3 +19,6 @@ from learn_sql_model.models.new import newDelete
|
||||||
from learn_sql_model.models.new import newRead
|
from learn_sql_model.models.new import newRead
|
||||||
from learn_sql_model.models.new import newUpdate
|
from learn_sql_model.models.new import newUpdate
|
||||||
from learn_sql_model.models.pet import Pet
|
from learn_sql_model.models.pet import Pet
|
||||||
|
from learn_sql_model.cli.hero import hero_app
|
||||||
|
from learn_sql_model.api.hero import hero_router
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
|
from learn_sql_model.api.{{modelname.lower()}} import {{modelname.lower()}}_router
|
||||||
|
from learn_sql_model.cli.{{modelname.lower()}} import {{modelname.lower()}}_app
|
||||||
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}
|
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}
|
||||||
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Create
|
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Create
|
||||||
|
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Delete
|
||||||
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Read
|
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Read
|
||||||
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Update
|
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Update
|
||||||
from learn_sql_model.models.{{modelname.lower()}} import {{modelname}}Delete
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ from sqlmodel.pool import StaticPool
|
||||||
from typer.testing import CliRunner
|
from typer.testing import CliRunner
|
||||||
|
|
||||||
from learn_sql_model.api.app import app
|
from learn_sql_model.api.app import app
|
||||||
|
from learn_sql_model.cli.hero import hero_app
|
||||||
from learn_sql_model.config import get_config, get_session
|
from learn_sql_model.config import get_config, get_session
|
||||||
from learn_sql_model.factories.hero import HeroFactory
|
from learn_sql_model.factories.hero import HeroFactory
|
||||||
from learn_sql_model.models.hero import Hero
|
from learn_sql_model.models.hero import Hero
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue