python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
correct use of class method in django
I had studied class methods in python but never really understood its application in Djnago. My coding life was going well without the use of it. But I came across a situation where class method will ...

Reactoo
Votes: 0
Answers: 0
Is there a difference in calling a decorator e.g @login_required() vs using just @login_required
I've seen code such as
@login_required()
def user_profile(request):
# do stuff here
I've also seen some code written as
@login_required
def user_profile(request):
# do stuff here
Note the mi...
E_K
Votes: 0
Answers: 0
Dynamic task creation using decorators in Airflow 2
I would like to create tasks dynamically in a flow based on the result from another task. Is it somehow possible to do it in the following way ?
I am able to do that by storing data from task in a tem...

Ania
Votes: 0
Answers: 1
Run a function until it first returns True, then do not run it again
I am working on a module which receives a continuous flow of numerical inputs. The goal is to detect the first time the array of inputs goes above a certain pre-set threshold value. In other words, I ...
lazarea
Votes: 0
Answers: 2