Removes type hinting, in case that's breaking something.
This commit is contained in:
parent
054bd88760
commit
7ce48e8deb
|
@ -21,10 +21,8 @@ if "TESTING" in os.environ and os.environ["TESTING"] == "true":
|
||||||
|
|
||||||
|
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
""":type: sqlalchemy.orm.SQLAlchemy"""
|
|
||||||
|
|
||||||
session = db.session
|
session = db.session
|
||||||
""":type: sqlalchemy.orm.Session"""
|
|
||||||
|
|
||||||
migrate = Migrate(app, db)
|
migrate = Migrate(app, db)
|
||||||
ma = Marshmallow(app)
|
ma = Marshmallow(app)
|
||||||
|
|
|
@ -133,7 +133,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
|
||||||
/study/{study_id}/workflows:
|
/study/{study_id}/workflows:
|
||||||
get:
|
get:
|
||||||
operationId: api.study.get_study_workflows
|
operationId: api.study.get_study_workflows
|
||||||
|
@ -322,7 +321,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/File"
|
$ref: "#/components/schemas/File"
|
||||||
|
|
||||||
/file/{file_id}:
|
/file/{file_id}:
|
||||||
parameters:
|
parameters:
|
||||||
- name: file_id
|
- name: file_id
|
||||||
|
@ -537,14 +535,12 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
DataModel:
|
DataModel:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
Study:
|
Study:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
|
Loading…
Reference in New Issue