Spaces:
Sleeping
Sleeping
File size: 454 Bytes
fd52f31 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from motor.motor_asyncio import AsyncIOMotorClient
from decouple import config
MONGODB_URL = config('MONGODB_URL')
client = AsyncIOMotorClient(MONGODB_URL)
db = client.podcraft
# Collections
users = db.users
podcasts = db.podcasts
agents = db.agents # New collection for storing agent configurations
workflows = db.workflows # Collection for storing workflow configurations
workflows = db.workflows # Collection for storing workflow configurations |