Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruwann authored Jan 11, 2025
1 parent 1254da8 commit ee37fe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/sqlalchemy/app.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import logging
from datetime import datetime, timezone

import connexion
import orm
from connexion import FlaskApp, NoContent
from connexion import NoContent


def get_pets(limit, animal_type=None):
Expand Down Expand Up @@ -55,7 +56,7 @@ def delete_pet(pet_id):
}
for id_, pet in pets.items():
put_pet(id_, pet)
app = FlaskApp(__name__, specification_dir="spec")
app = connexion.FlaskApp(__name__, specification_dir="spec")
app.add_api("openapi.yaml")
app.add_api("swagger.yaml")

Expand Down

0 comments on commit ee37fe5

Please sign in to comment.