python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Aggregation function for Counting of Duplicates in a field based on duplicate items in another field
I am using mongoengine as ORM with flask application. The model class is define like
class MyData(db.Document):
task_id = db.StringField(max_length=50, required=True)
url = db.URLField(max_len...
imhans4305
Votes: 0
Answers: 1
Mongo Auto Reconnect Error Continues even after resetting mongod.lock file (MongoEngine Connect)
I am using flask celery and mongo in seperate containers. WHen I start the containers, I am hit with the following error
worker | pymongo.errors.AutoReconnect: connection pool paused
worker ...
imhans4305
Votes: 0
Answers: 1
Connection refused to mongodb in docker container
I am using mongoengine to connect to mongo db from flask application and it gives me the following error message
raise ServerSelectionTimeoutError(
flask | pymongo.errors.ServerSelectionTimeoutErr...
imhans4305
Votes: 0
Answers: 0
What is the most effective validation method on Flask?
First of all, I try to make an Rest-API with Flask MongoEngine. I create a model which is;
class Project(db.Document):
name = db.StringField(validation=validate_project_name)
created_at = db....
kametguler
Votes: 0
Answers: 0