mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-23 12:58:13 +00:00
gitignore pyrightconfig.json, and run fix_python_docstrings
This commit is contained in:
parent
8ee490c29b
commit
2392c9e2de
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
node_modules
|
node_modules
|
||||||
|
/pyrightconfig.json
|
||||||
|
@ -13,7 +13,6 @@ from spiffworkflow_backend.routes.admin_blueprint.admin_blueprint import admin_b
|
|||||||
from spiffworkflow_backend.routes.api_blueprint import api_blueprint
|
from spiffworkflow_backend.routes.api_blueprint import api_blueprint
|
||||||
from spiffworkflow_backend.routes.process_api_blueprint import process_api_blueprint
|
from spiffworkflow_backend.routes.process_api_blueprint import process_api_blueprint
|
||||||
from spiffworkflow_backend.routes.user_blueprint import user_blueprint
|
from spiffworkflow_backend.routes.user_blueprint import user_blueprint
|
||||||
from spiffworkflow_backend.models.user import UserModel
|
|
||||||
|
|
||||||
|
|
||||||
def create_app() -> flask.app.Flask:
|
def create_app() -> flask.app.Flask:
|
||||||
|
@ -29,6 +29,7 @@ ALLOWED_BPMN_EXTENSIONS = {"bpmn", "dmn"}
|
|||||||
|
|
||||||
@admin_blueprint.route("/token", methods=["GET"])
|
@admin_blueprint.route("/token", methods=["GET"])
|
||||||
def token():
|
def token():
|
||||||
|
"""Token."""
|
||||||
if current_app.env != "development":
|
if current_app.env != "development":
|
||||||
return "Not authorized"
|
return "Not authorized"
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ class Script:
|
|||||||
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
||||||
updating the task data.
|
updating the task data.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def make_closure(subclass, task, workflow_id):
|
def make_closure(subclass, task, workflow_id):
|
||||||
"""Yes - this is black magic.
|
"""Yes - this is black magic.
|
||||||
|
|
||||||
@ -85,7 +84,6 @@ class Script:
|
|||||||
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
||||||
updating the task data.
|
updating the task data.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def make_closure_validate(subclass, task, workflow_id):
|
def make_closure_validate(subclass, task, workflow_id):
|
||||||
"""Make_closure_validate."""
|
"""Make_closure_validate."""
|
||||||
instance = subclass()
|
instance = subclass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user