In the custom hook, there is a cleanup function, if the component is unmounted, then the states won't be updated. Can you tell me why is the if condition in th
I'm not expert at unit test but trying to write unit test for : @KafkaListener(id = "group_id", topics = "topic" ) public AvroObject listen(AvroObject t
I keep running into this error, which occurs at random times. My configuration: Xcode 13.2.1 macOS Monterey 12.2.1 MacBook Pro (16 pouces, 2021) Apple M1 Pro Cu
I have a custom user model and I am trying to deactive the user but it is not saving. There are also no error messages. My model: from django.contrib.auth.model
I am working on developing a python package. I use pip freeze > requirements.txt to add the required package into the requirement.txt file. However, I realiz
I want my discord.py bot to go through a text file and if a user says a word in that file it will delete that message elif msg.content == '***': await m