by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
telekomancer
@telekomancer
do you have an idea ?
Glenn ten Cate
@blabla1337
Hmm
no its really weird
def store_questions(checklist_type, maturity, data):
log("User stored new sprint question list", "MEDIUM", "PASS")
#Store the result of the questionaire if answer was true in checklists_kb
for result in data.get('questions'):
    project_id = result['project_id']
    sprint_id = result['sprint_id']
    question_id = result['question_id']
    if result['result'] == "True":
        checklists = select_checklist_items_by_maturity(maturity, question_id, checklist_type)
        store_question_results(checklists, project_id, sprint_id, checklist_type)
#Also check for the include always marked items so they are taken in account
checklists_always = select_checklist_items_by_maturity_include_always(maturity, checklist_type)
store_question_results_include_always(checklists_always, project_id, sprint_id, checklist_type)
return {'message': 'Sprint successfully created'}
this is the part of the code
this is the line of the error
store_question_results_include_always(checklists_always, project_id, sprint_id, checklist_type)
but as you see we set it before
project_id = result['project_id']
so that means the for loop is not triggered
for result in data.get('questions'):
and that means
Angular is not sending the data object
or incomplete
so its an Angular issue it seems
as all here above it the py API code
so you can have a look at the master branch and check the Angular part
but I wouldn't put to much time in it
as we have replaced all of this in 2 weeks
telekomancer
@telekomancer
i understand i guess that the workaround could be download the new_apicode.py as pass it to docker with -v new_apicode.py:/home/user_skf/..../new_apicode.py, no ?
Glenn ten Cate
@blabla1337
Hmm no
only thing we could fix this version is to find the bug in Angular
and I build a new Docker image
telekomancer
@telekomancer
so ...
i guess that i have 2 options, wait for a new docker image or wait until the new release
and i guess that i have only 1 answer... wait for the new release
no ?
Glenn ten Cate
@blabla1337
Yeah I think that's the best
if I need to work on this I can't work on the new release
telekomancer
@telekomancer
ok
no problem
thanks for your help @blabla1337
Glenn ten Cate
@blabla1337
Alright you're welcome
I'll let you know if the new version is ready to be tested :)
hopefully soon
telekomancer
@telekomancer
ok
no problem
am on chat ;-)
Glenn ten Cate
@blabla1337
Coolio, thanks
telekomancer
@telekomancer
c' ya!
Kkameleon
@Kkameleon
Should we talk about the .git thing ? :)
telekomancer
@telekomancer
hello everybody
i was asking myself, 5 minutes ago, if the api of SKF allow me to ... call it and create, for example 100 "code examples" in a row ?
Glenn ten Cate
@blabla1337
@Kkameleon on our website you mean or you mean the new design and major release of SKF that we are working on?
@telekomancer yeah its not restricted in rate limiting, also normally only the users with edit rights can do it :)
telekomancer
@telekomancer
thanks @blabla1337 the main idea is to save the project on git and any change push it via git, call the api and that's all, CI/CD applied to SKF also. ;-)
Glenn ten Cate
@blabla1337
Hmm check, sounds neat
telekomancer
@telekomancer
let me see if the (skf) api have a proper documentation
nope
Kkameleon
@Kkameleon
@blabla1337 on your website 😁