- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for __setattr__ (0.06 sec)
-
docs_src/sql_databases_peewee/sql_app/database.py
class PeeweeConnectionState(peewee._ConnectionState): def __init__(self, **kwargs): super().__setattr__("_state", db_state) super().__init__(**kwargs) def __setattr__(self, name, value): self._state.get()[name] = value def __getattr__(self, name): return self._state.get()[name] db = peewee.SqliteDatabase(DATABASE_NAME, check_same_thread=False)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 662 bytes - Viewed (0)