Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clowdflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Shakour
clowdflows
Commits
c2224871
Commit
c2224871
authored
Nov 20, 2012
by
Janez K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
popravki pri webservice importu
parent
dd17e8f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
services/webservice.py
services/webservice.py
+8
-2
workflows/base/static/base/icons/treeview/d914a910.png
workflows/base/static/base/icons/treeview/d914a910.png
+0
-0
No files found.
services/webservice.py
View file @
c2224871
...
...
@@ -50,13 +50,19 @@ class WebService:
method
[
'name'
]
=
op
[
'name'
]
method
[
'inputs'
]
=
[]
method
[
'outputs'
]
=
[]
input_dict
=
op
[
'input'
].
values
()[
0
]
try
:
input_dict
=
op
[
'input'
].
values
()[
0
]
except
:
input_dict
=
[]
for
i
in
input_dict
:
input
=
{}
input
[
'name'
]
=
i
input
[
'type'
]
=
input_dict
[
i
]
method
[
'inputs'
].
append
(
input
)
output_dict
=
op
[
'output'
].
values
()[
0
]
try
:
output_dict
=
op
[
'output'
].
values
()[
0
]
except
:
output_dict
=
[[]]
if
type
(
output_dict
)
==
type
([]):
output_dict
=
output_dict
[
0
]
for
o
in
output_dict
:
...
...
workflows/base/static/base/icons/treeview/d914a910.png
0 → 100755
View file @
c2224871
2.65 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment