fix imports+
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-02-13 20:52:51 +01:00
parent 9c31bb2611
commit 388ec47078
4 changed files with 5 additions and 5 deletions

View File

@ -18,4 +18,4 @@ services:
environment: environment:
DATABASE_URI: "postgresql://mealsapi:meals@db:5432/mealsdb" DATABASE_URI: "postgresql://mealsapi:meals@db:5432/mealsdb"
ports: ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"

View File

@ -3,8 +3,8 @@ from flask_restful import Resource
from flask import request, current_app, abort from flask import request, current_app, abort
from marshmallow import ValidationError from marshmallow import ValidationError
from ..model import db, Meal from model import db, Meal
from ..schemas import MealSchema from schemas import MealSchema
class MealBaseResource(Resource): class MealBaseResource(Resource):

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from .marshm import ma from .marshm import ma
from ..model import Ingredient from model import Ingredient
class IngredientSchema(ma.ModelSchema): class IngredientSchema(ma.ModelSchema):

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from .marshm import ma from .marshm import ma
from ..model import Meal from model import Meal
from .ingredientschema import IngredientSchema from .ingredientschema import IngredientSchema