Skip to content

Commit 51ac37a

Browse files
author
Ganesh K Bhat
committed
[COMMIT] Adding change to accept arguments for functions
1 parent 0f3f8d6 commit 51ac37a

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: Security Vulnerability / Bug report ticket
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the Security vulnerability / bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Security Vulerability**
14+
Describe the security vulnerability.
15+
16+
**Security Vulerability Impact**
17+
Describe the security vulnerability impact.
18+
19+
**Security Vulerability Detection or How To Reproduce**
20+
Describe how the security vulnerability can be detected or reprduced.
21+
22+
Steps to reproduce the behavior:
23+
1. Go to '...'
24+
2. Click on '....'
25+
3. Scroll down to '....'
26+
4. See error
27+
28+
**Expected behavior**
29+
A clear and concise description of what you expected to happen.
30+
31+
**How To Rectify the Security Vulerability Issue**
32+
Describe How To Rectify the Security Vulerability Issue.
33+
34+
Eg: Upgrade package, code section change, feature, changing defaults, etc.
35+
36+
**Screenshots**
37+
If applicable, add screenshots to help explain your problem.
38+
39+
**Desktop (please complete the following information):**
40+
- OS: [e.g. iOS]
41+
- Browser [e.g. chrome, safari]
42+
- Version [e.g. 22]
43+
44+
**Smartphone (please complete the following information):**
45+
- Device: [e.g. iPhone6]
46+
- OS: [e.g. iOS8.1]
47+
- Browser [e.g. stock browser, safari]
48+
- Version [e.g. 22]
49+
50+
**Additional context**
51+
Add any other context about the problem here.

taskcontrol/lib/bases.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ def get_all_tasks(self, tasks, tsk=[]):
302302
tsk = self.get_all_tasks(t, tsk)
303303
return tsk
304304

305+
305306
def start(self, tasks=["1"]):
306307
"""
307308
Start the workflow tasks initantiation using `.start` \n
@@ -311,11 +312,13 @@ def start(self, tasks=["1"]):
311312
"""
312313
result = []
313314

315+
print(tasks)
314316
tsk = self.get_all_tasks(tasks, [])
315317

316318
if len(tsk) > 0:
317319
for tk in tsk:
318320
if type(tsk) == dict:
321+
print(tsk)
319322
return result.append(self.run_task(tk))
320323
elif type(tsk) == list:
321324
for task in tsk:

0 commit comments

Comments
 (0)