Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Smart-building MSE-Lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LSDS
Smart-building MSE-Lab
Commits
9ed50a78
Commit
9ed50a78
authored
8 years ago
by
NizarBouchedakh
Browse files
Options
Downloads
Patches
Plain Diff
change add_nde and remove_node from put to post
parent
c67c055f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
backend.pyc
+0
-0
0 additions, 0 deletions
backend.pyc
configpi.pyc
+0
-0
0 additions, 0 deletions
configpi.pyc
flask-main.py
+4
-4
4 additions, 4 deletions
flask-main.py
with
4 additions
and
4 deletions
backend.pyc
0 → 100644
+
0
−
0
View file @
9ed50a78
File added
This diff is collapsed.
Click to expand it.
configpi.pyc
0 → 100644
+
0
−
0
View file @
9ed50a78
File added
This diff is collapsed.
Click to expand it.
flask-main.py
+
4
−
4
View file @
9ed50a78
...
...
@@ -291,7 +291,7 @@ def nodes():
"""
@api {p
u
t} /nodes/add_node add_node
@api {p
os
t} /nodes/add_node add_node
@apiName add_node
@apiGroup Nodes
...
...
@@ -301,7 +301,7 @@ def nodes():
"""
@app.route
(
'
/nodes/add_node
'
,
methods
=
[
'
P
U
T
'
],
strict_slashes
=
False
)
@app.route
(
'
/nodes/add_node
'
,
methods
=
[
'
P
OS
T
'
],
strict_slashes
=
False
)
def
add_node
():
# passes controller to inclusion mode
return
backend
.
addNode
()
...
...
@@ -309,7 +309,7 @@ def add_node():
"""
@api {p
u
t} /nodes/remove_node remove_node
@api {p
os
t} /nodes/remove_node remove_node
@apiName remove_node
@apiGroup Nodes
...
...
@@ -319,7 +319,7 @@ def add_node():
"""
@app.route
(
'
/nodes/remove_node
'
,
methods
=
[
'
P
U
T
'
],
strict_slashes
=
False
)
@app.route
(
'
/nodes/remove_node
'
,
methods
=
[
'
P
OS
T
'
],
strict_slashes
=
False
)
def
remove_node
():
# passes controller to exclusion mode
return
backend
.
removeNode
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment