MCPcopy Create free account
hub / github.com/VJBots/VJ-File-Store / __init__

Method __init__

plugins/dbusers.py:10–13  ·  view source on GitHub ↗
(self, uri, database_name)

Source from the content-addressed store, hash-verified

8class Database:
9
10 def __init__(self, uri, database_name):
11 self._client = motor.motor_asyncio.AsyncIOMotorClient(uri)
12 self.db = self._client[database_name]
13 self.col = self.db.users
14
15 def new_user(self, id, name):
16 return dict(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected