-
Notifications
You must be signed in to change notification settings - Fork 1
/
searchindex.js
1 lines (1 loc) · 202 KB
/
searchindex.js
1
Search.setIndex({"titles": ["Changelog", "Contributor Covenant Code of Conduct", "Contribution Guide", "Thanks", "TortoiseCLI", "Connections", "Contrib", "Tortoise-ORM aiohttp integration", "Tortoise-ORM BlackSheep integration", "Tortoise-ORM FastAPI integration", "Linters", "MySQL", "Postgres", "Pydantic serialisation", "Tortoise-ORM Quart integration", "Tortoise-ORM Sanic integration", "Tortoise-ORM Starlette integration", "UnitTest support", "Databases", "Examples", "AIOHTTP Example", "Simple Examples", "BlackSheep Examples", "FastAPI Examples", "Pydantic Examples", "Quart Example", "Sanic Example", "Starlette Example", "Exceptions", "Expressions", "Fields", "Functions & Aggregates", "Getting started", "Tortoise ORM", "Indexes", "Logging", "Manager", "Migration", "Models", "Query API", "Reference", "Roadmap", "Router", "Schema Creation", "Set up", "Signals", "Timezone", "Table Of Contents", "Transactions", "Validators"], "terms": {"unabl": 0, "us": [0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 21, 24, 29, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 49], "manytomanyfield": [0, 21, 24, 30, 32, 33, 39, 40, 47], "onetoonefield": [0, 21, 24, 30, 39, 40, 47], "pass": [0, 5, 17, 21, 28, 30, 32, 38, 39, 40, 44, 47, 49], "primari": [0, 11, 18, 28, 30, 32, 39, 40, 44, 47], "kei": [0, 7, 8, 9, 11, 14, 15, 16, 18, 21, 28, 30, 31, 40, 44, 47], "1783": 0, "sort": [0, 13, 24, 39], "term": [0, 2, 30, 31, 34, 47], "e": [0, 1, 24, 38, 39, 42, 44], "g": [0, 18, 24, 38, 44], "rawsql": [0, 40, 47], "1788": 0, "enum": [0, 21, 30, 39, 45], "quot": 0, "allow": [0, 13, 21, 29, 30, 31, 38, 39, 44, 46], "str": [0, 9, 13, 17, 20, 21, 22, 23, 25, 26, 27, 29, 30, 31, 34, 38, 39, 43, 44, 46], "filter": [0, 19, 22, 23, 24, 29, 30, 31, 32, 33, 36, 38, 40, 41, 44, 47], "1776": 0, "field": [0, 2, 6, 9, 10, 13, 17, 18, 19, 20, 22, 23, 25, 26, 27, 28, 29, 31, 32, 33, 34, 36, 39, 40, 41, 44, 46, 47, 49], "should": [0, 2, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 29, 30, 34, 38, 39, 44, 46, 49], "nullabl": [0, 30, 38, 39, 44], "pydant": [0, 6, 8, 9, 19, 22, 30, 47], "schema": [0, 7, 8, 9, 13, 14, 15, 16, 18, 19, 23, 24, 25, 30, 32, 33, 37, 38, 40, 41, 44, 46, 47], "1778": 0, "ambigu": [0, 38], "column": [0, 11, 13, 24, 30, 31, 37, 38, 39], "name": [0, 9, 11, 12, 13, 17, 18, 20, 21, 22, 23, 24, 26, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 44, 48], "when": [0, 1, 5, 17, 18, 21, 28, 30, 33, 34, 38, 39, 40, 43, 44, 46, 47], "group": [0, 19, 31, 39, 47], "join": [0, 2, 21, 29, 31, 39], "1766": 0, "same": [0, 2, 5, 7, 8, 9, 13, 14, 15, 16, 21, 30, 31, 38, 39, 42, 44], "model": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 28, 29, 30, 31, 32, 33, 34, 36, 39, 40, 41, 42, 43, 44, 45, 47, 49], "return": [0, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49], "pydantic_model_cr": [0, 6, 13, 22, 24, 47], "call": [0, 5, 13, 17, 18, 24, 29, 30, 31, 32, 33, 38, 39, 43, 44, 46], "differ": [0, 1, 18, 30, 33, 34, 38, 46, 47], "argument": [0, 29, 38, 39, 44], "1741": 0, "jsonfield": [0, 30, 31, 39, 40, 47], "add": [0, 8, 9, 11, 13, 21, 24, 30, 31, 32, 35, 37, 38, 39, 40, 41, 47], "option": [0, 4, 5, 9, 11, 13, 17, 21, 29, 30, 31, 34, 37, 38, 39, 40, 43, 44, 47, 48], "gener": [0, 2, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 21, 24, 25, 29, 30, 31, 32, 33, 37, 38, 39, 43, 44, 46], "support": [0, 2, 6, 11, 13, 18, 21, 28, 29, 30, 31, 32, 33, 37, 38, 39, 41, 44, 47], "openapi": [0, 22, 30], "document": [0, 2, 4, 5, 18, 30, 32, 33, 37, 39, 41], "specifi": [0, 2, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 29, 30, 32, 33, 38, 39, 40, 42, 44, 46, 47], "field_typ": [0, 30], "basemodel": [0, 9, 13], "1763": 0, "table_name_gener": [0, 40, 44, 47], "attribut": [0, 30, 31, 39, 47], "tortois": [0, 2, 4, 5, 6, 10, 11, 12, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49], "init": [0, 5, 6, 18, 19, 21, 32, 33, 40, 41, 42, 43, 46, 47], "dynam": [0, 30], "tabl": [0, 17, 21, 29, 30, 31, 33, 38, 39, 43, 44], "1770": 0, "annot": [0, 2, 9, 13, 21, 24, 29, 31, 38, 39, 40, 44, 47], "f": [0, 2, 20, 21, 22, 23, 25, 26, 27, 31, 34, 40, 44, 47, 49], "express": [0, 1, 11, 12, 21, 31, 34, 38, 39, 40, 44, 47], "1761": 0, "1765": 0, "within": [0, 1, 14, 25], "case": [0, 2, 13, 17, 18, 24, 30, 31, 33, 38, 39, 40, 44, 47], "1748": 0, "queryset": [0, 2, 6, 19, 21, 30, 31, 38, 40, 44, 47], "method": [0, 5, 13, 24, 27, 30, 32, 38, 39, 42, 43, 44, 49], "last": [0, 13, 24, 37, 38, 39, 40, 44, 47], "latest": [0, 38, 39, 40, 44, 47], "earliest": [0, 38, 39, 40, 44, 47], "1754": 0, "1756": 0, "old": [0, 5, 24, 25], "link": [0, 21], "one": [0, 2, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 28, 31, 35, 36, 38, 39, 44, 48, 49], "1775": 0, "refactor": 0, "interfac": [0, 2, 5, 18, 36, 38, 47], "valu": [0, 2, 11, 13, 18, 21, 29, 30, 31, 38, 39, 40, 44, 45, 46, 47, 49], "ar": [0, 1, 2, 5, 13, 17, 18, 21, 24, 29, 30, 31, 32, 33, 36, 37, 38, 39, 44, 45, 46, 49], "longer": 0, "valid": [0, 11, 12, 13, 18, 21, 24, 28, 30, 38, 40, 41, 47], "right": [0, 1, 18, 21], "type": [0, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 29, 30, 31, 34, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49], "upon": [0, 2], "load": [0, 10, 17, 30, 38, 44], "from": [0, 1, 5, 9, 13, 14, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 42, 44, 46, 49], "databas": [0, 2, 7, 8, 9, 11, 14, 15, 16, 17, 19, 24, 29, 30, 32, 36, 38, 39, 40, 42, 43, 44, 46, 47], "1750": 0, "privat": [0, 1, 41], "class": [0, 5, 6, 9, 11, 12, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 32, 33, 34, 35, 36, 39, 40, 42, 44, 45, 47, 49], "1751": 0, "unittest": [0, 6, 33, 47], "error": [0, 7, 8, 9, 14, 15, 16, 18, 28, 38, 39, 44, 48], "pydantic2": 0, "1734": 0, "bug": [0, 17, 47], "count": [0, 21, 23, 29, 31, 36, 39, 40, 47], "time": [0, 2, 13, 23, 24, 30, 38, 41, 46], "doe": [0, 2, 5, 17, 24, 28, 29, 30, 38, 39, 43, 44], "match": [0, 17, 32, 39, 44, 49], "anyth": [0, 2], "lead": 0, "an": [0, 1, 2, 4, 8, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 38, 39, 42, 44, 45, 46, 47, 49], "indexerror": 0, "1707": 0, "miss": [0, 18, 24], "timedeltafield": [0, 30, 40, 47], "1462": 0, "1699": 0, "improv": [0, 2, 32, 40, 47], "hint": [0, 39, 40, 47], "1700": 0, "onli": [0, 2, 7, 8, 9, 11, 13, 14, 15, 16, 18, 30, 31, 37, 38, 39, 40, 43, 44, 46, 47, 48], "function": [0, 6, 7, 8, 13, 14, 15, 16, 17, 19, 24, 28, 30, 32, 33, 38, 39, 40, 44, 47, 48, 49], "print": [0, 5, 13, 21, 23, 24, 31, 32, 33, 35, 39], "result": [0, 1, 13, 21, 23, 24, 29, 31, 38, 39, 44], "attributeerror": [0, 39], "i": [0, 1, 2, 5, 8, 9, 10, 11, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 37, 38, 39, 41, 42, 43, 44, 46, 47, 49], "1724": 0, "updat": [0, 2, 5, 18, 21, 22, 29, 30, 31, 35, 38, 39, 40, 42, 44, 47], "pylint": [0, 6, 20, 22, 23, 25, 26, 27, 33, 47], "plugin": [0, 2, 6, 13, 17, 33, 47], "astroid": 0, "version": [0, 1, 2, 4, 22, 40, 47], "1708": 0, "posix": [0, 39], "regex": [0, 49], "postgresql": [0, 2, 31, 33, 39, 40, 46, 47], "mysql": [0, 2, 6, 21, 25, 31, 32, 33, 34, 37, 39, 40, 41, 46, 47], "1714": 0, "app": [0, 4, 5, 7, 8, 9, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 30, 32, 33, 37, 38, 40, 42, 47], "none": [0, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21, 23, 29, 30, 31, 34, 35, 38, 39, 41, 43, 44, 46, 48, 49], "contrib": [0, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 34, 40, 47], "fastapi": [0, 6, 19, 47], "registertortois": [0, 6, 9, 23, 47], "1733": 0, "foreign": [0, 30, 40, 44, 47], "includ": [0, 1, 13, 17, 24, 32, 38, 39], "param": [0, 21, 29, 38, 39, 44], "1430": 0, "sanic": [0, 6, 19, 47], "register_tortois": [0, 6, 7, 8, 9, 14, 15, 16, 20, 22, 25, 26, 27, 47], "caus": 0, "deadlock": 0, "asyncpg": [0, 2, 7, 8, 9, 14, 15, 16, 18, 32, 33, 44], "worker": [0, 25], "1696": 0, "open": [0, 1, 2, 14, 25, 44], "psycopg": [0, 2, 18, 32], "pool": [0, 18, 35, 44], "1697": 0, "bulk_upd": [0, 38, 39, 40, 44, 47], "pk": [0, 17, 18, 21, 23, 29, 30, 31, 36, 38, 40, 44, 47], "id": [0, 13, 17, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 38, 39, 44], "1698": 0, "uuid": [0, 11, 21, 22, 30], "compress": [0, 11, 30], "1687": 0, "comment": [0, 1, 13, 18, 19, 24, 30, 38, 47], "fk": [0, 21, 38, 39], "without": [0, 1, 2, 13, 21, 24, 29, 32, 37, 38, 39, 41, 44], "constraint": [0, 30, 38, 44], "1679": 0, "no_delai": 0, "postgr": [0, 2, 6, 7, 8, 9, 14, 15, 16, 17, 18, 21, 31, 34, 35, 40, 44, 47], "wasn": 0, "t": [0, 2, 13, 17, 18, 21, 24, 29, 30, 32, 33, 37, 38, 39, 42, 43, 44, 45, 48, 49], "do": [0, 1, 2, 13, 18, 21, 24, 28, 29, 30, 32, 38, 39, 44], "1677": 0, "1723": 0, "propag": 0, "_create_db": [0, 9, 23, 44], "paramet": [0, 5, 7, 8, 9, 13, 14, 15, 16, 17, 21, 28, 29, 30, 31, 33, 38, 39, 40, 43, 44, 45, 47, 48, 49], "1676": 0, "objectdoesnotexisterror": [0, 28, 40, 47], "show": [0, 1, 4, 5, 13, 21, 40, 47], "better": [0, 2, 13, 30, 39], "404": 0, "messag": [0, 4, 35, 37, 38], "759": 0, "doesnotexist": [0, 8, 9, 28, 38, 40, 44, 47], "multipleobjectsreturn": [0, 28, 38, 40, 44, 47], "742": 0, "1650": 0, "use_tz": [0, 9, 21, 40, 42, 44, 47], "timezon": [0, 9, 21, 23, 40, 41, 42, 44, 47], "1649": 0, "await": [0, 5, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 31, 32, 33, 36, 38, 39, 42, 44, 49], "1662": 0, "test": [0, 6, 7, 8, 9, 14, 15, 16, 18, 19, 21, 24, 32, 33, 37, 38, 39, 41, 42, 44, 47], "init_memory_sqlit": [0, 6, 17, 21, 47], "1657": 0, "update_or_cr": [0, 38, 40, 44, 47], "1584": 0, "bandit": 0, "check": [0, 2, 13, 24, 30, 33, 39], "1643": 0, "potenti": 0, "race": [0, 1], "condit": [0, 12, 17], "connectionwrapp": [0, 18, 44], "1656": 0, "py312": 0, "datetim": [0, 9, 13, 21, 23, 24, 30, 37, 44, 46], "utcnow": [0, 30], "1661": 0, "reus": 0, "value_list": 0, "queri": [0, 18, 21, 29, 30, 32, 33, 35, 36, 38, 40, 41, 42, 44, 47], "780": 0, "obsolet": 0, "loop": [0, 17, 41, 44], "_selector": 0, "659": 0, "1636": 0, "source_field": [0, 11, 12, 30], "1633": 0, "create_unique_index": [0, 30], "m2m": [0, 32, 39], "default": [0, 2, 4, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21, 23, 24, 29, 30, 31, 32, 34, 36, 37, 38, 39, 41, 42, 43, 44, 46], "true": [0, 5, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 30, 32, 33, 34, 37, 38, 39, 43, 44, 46, 49], "1620": 0, "style": [0, 17, 47], "lifespan": [0, 9, 23], "1371": 0, "__eq__": 0, "q": [0, 21, 38, 39, 40, 44, 47], "more": [0, 4, 11, 18, 21, 28, 29, 30, 32, 37, 38, 39, 44, 47], "easili": [0, 32, 41], "built": [0, 13, 30, 34, 38, 40, 47], "1506": 0, "plaintotsqueri": [0, 6, 12, 47], "1347": 0, "": [0, 1, 2, 9, 13, 18, 24, 29, 30, 33, 35, 38, 39, 43, 44, 46], "keyword": [0, 29, 38], "async": [0, 5, 9, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 32, 33, 38, 39, 43, 44, 48], "1498": 0, "slice": [0, 39], "1341": 0, "datetimefield": [0, 13, 21, 23, 24, 30, 38, 40, 46, 47], "__year": 0, "report": [0, 1, 2], "int": [0, 12, 13, 18, 21, 23, 24, 30, 44, 49], "object": [0, 4, 5, 9, 10, 13, 18, 21, 24, 28, 29, 30, 32, 33, 36, 39, 40, 42, 44, 47], "ha": [0, 2, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 30, 31, 33, 35, 38, 39, 42, 43, 44, 46], "utcoffset": [0, 46], "1575": 0, "custom": [0, 13, 17, 30, 36, 39, 40, 41, 47], "1564": 0, "work": [0, 2, 13, 17, 18, 21, 24, 30, 32, 33, 38, 39, 41], "v2": 0, "1551": 0, "get_annot": 0, "now": [0, 13, 21, 23, 24, 31, 33, 37, 40, 45, 46, 47], "evalu": [0, 13, 21, 24, 38, 39, 44], "scope": [0, 17, 23, 47], "instead": [0, 2, 13, 17, 18, 29, 30, 38, 39, 44, 46, 49], "namespac": [0, 38, 44], "1552": 0, "get_or_cr": [0, 38, 39, 40, 44, 47], "1404": 0, "index_nam": [0, 39], "baseschemagener": [0, 18, 44], "_generate_index_nam": 0, "index": [0, 6, 18, 30, 38, 39, 40, 44, 47], "subqueri": [0, 40, 47], "exist": [0, 2, 5, 18, 28, 30, 33, 38, 39, 40, 43, 44, 47], "1607": 0, "util": [0, 7, 8, 9, 14, 15, 16, 17, 21, 40, 43, 47], "chunk": 0, "iter": [0, 9, 17, 21, 32, 38], "lazili": 0, "lower": [0, 21, 31, 39, 40, 44, 47], "bound": [0, 38, 44], "1602": 0, "renam": [0, 37], "initi": [0, 5, 6, 17, 24, 33, 40, 43, 44, 47], "primary_kei": [0, 11, 12, 13, 17, 20, 21, 22, 23, 24, 25, 26, 27, 30, 32, 33, 38], "db_index": [0, 11, 12, 21, 30, 34], "1621": 0, "_check": 0, "avoid": 0, "collis": 0, "issu": [0, 1, 2, 18, 33], "1559": 0, "1550": 0, "bulk_creat": [0, 38, 39, 40, 44, 47], "1614": 0, "binari": [0, 11, 29, 30], "uuidfield": [0, 6, 11, 21, 22, 30, 38, 40, 47], "1458": 0, "basedbasynccli": [0, 5, 18, 21, 40, 44, 47], "__version__": 0, "connect": [0, 2, 4, 7, 8, 9, 14, 15, 16, 17, 18, 21, 23, 28, 32, 35, 37, 38, 40, 42, 43, 44, 47, 48], "export": [0, 4], "1471": 0, "order": [0, 5, 13, 18, 21, 24, 32, 38, 39, 41, 44], "valueslistqueri": [0, 39, 40, 47], "than": [0, 2, 17, 18, 28, 29, 38, 39, 44, 49], "1492": 0, "1454": 0, "1535": 0, "exclude_readonli": [0, 13, 22], "non": [0, 2, 19, 30, 38, 39, 47], "1590": 0, "blacksheep": [0, 6, 19, 47], "1534": 0, "foreignkeyfield": [0, 13, 21, 24, 30, 32, 33, 39, 40, 47], "on_delet": [0, 21, 24, 30], "no_act": [0, 30], "1393": 0, "1433": [0, 18], "mssql": [0, 40, 47], "server": [0, 14, 18, 19, 25, 32, 33, 44, 47], "1400": 0, "testcas": [0, 6, 17, 47], "python3": [0, 20, 26, 27], "1308": 0, "drop": [0, 18, 37, 44], "x": 0, "python": [0, 2, 8, 18, 23, 24, 29, 30, 38, 41, 44, 46, 47], "config_class": [0, 13], "model_config": [0, 9, 13, 47], "attr": [0, 35, 38], "pydanticmeta": [0, 6, 19, 23, 47], "genat": 0, "develop": [0, 2, 14, 18, 25, 33], "config": [0, 4, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 23, 32, 37, 40, 44, 46, 47], "1048": 0, "1029": 0, "creat": [0, 1, 2, 5, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 47, 49], "sql": [0, 18, 19, 29, 30, 31, 32, 33, 35, 38, 39, 40, 43, 44, 47], "1202": 0, "depend": [0, 2, 14, 17, 39, 46], "resolv": [0, 29, 30, 31, 38, 39, 40, 47], "1246": 0, "ignor": [0, 13, 29, 38, 39, 44], "zero": [0, 30], "limit": [0, 18, 29, 38, 39, 40, 41, 47], "1270": 0, "integ": [0, 13, 18, 30, 37, 38, 44, 49], "1274": 0, "min": [0, 21, 31, 40, 47, 49], "max": [0, 2, 30, 31, 40, 47, 49], "decim": [0, 30, 49], "1291": 0, "meta": [0, 13, 21, 24, 34, 36, 40, 44, 47], "exact": [0, 39, 41], "mixin": [0, 30], "1133": 0, "using_db": [0, 21, 38, 39, 40, 44, 47], "wrong": 0, "posit": [0, 1, 18, 44], "shortcut": 0, "1150": 0, "oracl": [0, 32, 33, 40, 47], "info": [0, 18, 22, 32], "dbq": 0, "string": [0, 2, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 24, 30, 38, 42, 44], "ora": 0, "01435": 0, "while": [0, 5], "1155": 0, "process": [0, 33], "ssl": [0, 40, 47], "querysetsingl": [0, 13, 38, 39, 40, 44, 47], "sqlite": [0, 2, 4, 5, 7, 8, 9, 14, 15, 16, 17, 20, 21, 22, 23, 24, 26, 27, 31, 32, 33, 39, 40, 42, 43, 44, 46, 47], "partial": [0, 18, 24, 28, 38, 39, 44], "1103": 0, "microsoft": [0, 18, 32, 33], "power": 0, "asyncodbc": [0, 18, 32, 33], "which": [0, 1, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 30, 31, 32, 33, 34, 36, 38, 39, 43, 44, 46], "fulli": [0, 13], "770": 0, "1109": 0, "timefield": [0, 46], "timedelta": [0, 30], "conflict": [0, 38, 39, 44], "noth": [0, 18, 44], "1122": 0, "_custom_generated_pk": 0, "set": [0, 1, 2, 4, 5, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 30, 31, 32, 33, 34, 37, 38, 39, 40, 42, 43, 46, 47], "_init_from_db": 0, "633": 0, "backend": [0, 2, 5, 7, 8, 9, 14, 15, 16, 18, 21, 32, 37, 39, 40, 44, 47], "unifi": 0, "robust": 0, "manag": [0, 5, 13, 21, 24, 32, 33, 38, 40, 41, 44, 47, 48], "access": [0, 5, 29, 33, 38, 39], "db": [0, 2, 5, 14, 17, 21, 23, 25, 28, 31, 32, 33, 39, 40, 41, 42, 43, 44, 47, 48], "lazi": [0, 13], "creation": [0, 19, 30, 38, 40, 44, 47], "much": [0, 2, 13], "For": [0, 7, 8, 9, 14, 15, 16, 17, 18, 21, 29, 32, 41, 44, 46], "detail": [0, 1, 4, 5, 9, 11, 18, 27, 30, 37, 38, 47], "out": [0, 2, 29, 32, 33, 41, 44], "thi": [0, 1, 2, 4, 5, 8, 9, 11, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 37, 38, 39, 44, 46, 48, 49], "pr": [0, 2, 33], "1054": 0, "arrayfield": [0, 6, 12, 47], "doesn": [0, 2, 13, 18, 21, 38, 44, 49], "correctli": 0, "update_field": [0, 21, 29, 38, 39, 44], "1046": 0, "null": [0, 11, 12, 21, 23, 24, 30, 31, 38, 39, 49], "smallint": 0, "1086": 0, "relat": [0, 6, 19, 28, 32, 33, 39, 40, 44, 47], "public": [0, 1], "api": [0, 33, 40, 41, 47], "get_connect": [0, 40, 44, 47], "close_connect": [0, 40, 44, 47], "transact": [0, 2, 17, 18, 19, 28, 32, 33, 38, 39, 40, 44, 47], "_get_connect": 0, "been": [0, 5, 38, 39, 43, 44], "mark": [0, 2, 17, 23], "modul": [0, 2, 7, 8, 9, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 30, 32, 33, 37, 38, 44], "part": [0, 2, 5, 13, 17, 21, 29, 30, 32, 39, 43, 44], "1024": [0, 21], "1012": 0, "invalid": [0, 21, 28, 44, 49], "some": [0, 2, 8, 9, 13, 17, 18, 21, 29, 30, 32, 34, 38, 39, 41, 49], "968": 0, "1022": 0, "943": 0, "rand": [0, 31, 40, 47], "random": [0, 17, 25, 31, 40, 47], "944": 0, "ON": [0, 18], "insert": [0, 18, 21, 38, 39, 43, 44], "statement": [0, 13, 18, 29, 31, 38, 39, 44, 48], "428": 0, "986": 0, "mutabl": 0, "969": 0, "move": 0, "aggreg": [0, 18, 38, 39, 40, 44, 47], "py": [0, 2, 4, 6, 19, 47], "query_util": [0, 21, 39, 40, 47], "replac": [0, 9, 13, 17, 18, 35, 41], "rapidjson": 0, "orjson": [0, 30, 32], "asynctest": [0, 17], "isolatedasynciotestcas": [0, 17], "416": 0, "py37": 0, "green": [0, 2, 6, 47], "nose2": [0, 2, 6, 47], "runner": [0, 6, 14, 18, 23, 44, 47], "raw": [0, 18, 29, 30, 38, 39, 40, 44, 47], "924": 0, "in_bulk": [0, 38, 39, 40, 44, 47], "maxvaluevalid": [0, 40, 47, 49], "minvaluevalid": [0, 40, 47, 49], "927": 0, "subclass": [0, 30, 34, 38], "being": [0, 13, 38, 39], "lost": 0, "_clone": 0, "run": [0, 4, 13, 14, 17, 18, 21, 23, 24, 25, 26, 27, 28, 32, 33, 39, 41, 44, 47, 48], "instanc": [0, 1, 5, 13, 17, 21, 29, 30, 31, 32, 33, 38, 39, 44, 46], "844": 0, "except": [0, 5, 8, 9, 13, 17, 18, 21, 23, 24, 27, 30, 39, 40, 47, 49], "handler": [0, 8, 9], "builtin": [0, 31], "json": [0, 7, 8, 9, 13, 14, 15, 16, 23, 24, 26, 27, 30, 31, 32, 37, 38, 39, 44], "respons": [0, 22, 23, 26, 27, 38, 47], "914": 0, "defin": [0, 1, 2, 5, 7, 8, 9, 13, 14, 15, 16, 17, 24, 30, 31, 32, 33, 34, 36, 38, 39, 40, 41, 44, 45, 46, 47], "make": [0, 1, 2, 4, 5, 21, 29, 30, 31, 32, 33, 38, 39, 40, 41, 44, 46, 47], "templat": [0, 21, 28, 40, 47], "928": 0, "neg": [0, 39], "intenumfield": [0, 21, 30, 40, 47], "889": 0, "values_list": [0, 21, 29, 31, 39, 40, 47], "consist": [0, 38, 41], "899": 0, "select_rel": [0, 39, 40, 47], "behaviour": [0, 5, 21], "forward": [0, 30, 41], "825": 0, "nest": [0, 29, 32], "864": 0, "concat": [0, 31, 40, 47], "873": 0, "patch": [0, 22], "use_index": [0, 39, 40, 47], "force_index": [0, 39, 40, 47], "problem": [0, 28], "888": 0, "lift": [0, 3], "prioriti": [0, 47], "883": 0, "forc": [0, 13, 18, 30, 38, 39, 44], "avail": [0, 1, 13, 17, 18, 24, 30, 33, 37, 38, 39, 44], "select": [0, 5, 18, 21, 30, 31, 38, 39, 42, 44, 46], "893": 0, "all": [0, 1, 2, 3, 5, 13, 14, 17, 20, 21, 22, 24, 25, 26, 27, 29, 31, 32, 36, 37, 38, 39, 40, 41, 42, 44, 47, 49], "log": [0, 2, 20, 25, 26, 27, 40, 47], "logger": [0, 35], "root": [0, 2, 13, 21, 24, 25, 37], "879": 0, "db_client": [0, 35], "describ": [0, 4, 5, 30, 37, 38, 39, 40, 44, 47], "_make_queri": 0, "776": 0, "828": 0, "db_constraint": [0, 30], "o2o": 0, "443": 0, "onc": [0, 32, 44], "796": 0, "incorrect": 0, "split": 0, "import": [0, 2, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 47, 49], "rout": [0, 25, 26, 27, 42], "router": [0, 19, 22, 23, 40, 44, 47], "798": 0, "after": [0, 5, 13, 17, 30, 32, 36, 39, 42, 44], "806": 0, "revers": [0, 13, 24, 30, 38, 44], "808": 0, "782": 0, "contain": [0, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 24, 29, 30, 31, 32, 33, 38, 39, 44], "contained_bi": [0, 39], "duplic": [0, 39], "through": [0, 21, 24, 30, 32, 36, 38, 39], "associ": [0, 5], "721": 0, "refresh_from_db": [0, 29, 38, 40, 44, 47], "734": 0, "order_bi": [0, 21, 32, 38, 39, 40, 47], "748": 0, "756": 0, "337": 0, "delet": [0, 18, 21, 22, 30, 38, 39, 40, 41, 42, 44, 47], "697": 0, "backward": [0, 30, 32, 39, 44], "NOT": [0, 29, 38, 39, 44], "700": 0, "select_for_upd": [0, 38, 39, 40, 44, 47], "702": 0, "__search": 0, "full": [0, 11, 12, 29, 39], "text": [0, 4, 11, 12, 18, 21, 23, 30, 31, 37, 39], "search": [0, 6, 33, 38, 39, 44, 47], "679": 0, "__iter__": 0, "can": [0, 2, 4, 5, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 21, 24, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 44, 46, 48, 49], "just": [0, 2, 4, 13, 29, 32, 33, 34, 38, 39, 41, 42, 44], "in_transact": [0, 21, 40, 47, 48], "677": 0, "678": 0, "date": [0, 13, 24, 30, 31, 39], "extract": 0, "nowait": [0, 38, 39, 44], "skip_lock": [0, 38, 39, 44], "compat": [0, 30, 38, 44], "asyncmi": [0, 18, 32, 33], "pypika": [0, 3, 18, 29, 30, 31, 34, 39, 44], "befor": [0, 5, 13, 17, 18, 24, 38, 39], "decod": [0, 30], "623": 0, "batch_siz": [0, 38, 39, 44], "save": [0, 11, 21, 29, 30, 31, 32, 33, 38, 39, 40, 42, 44, 47], "608": 0, "tz": 0, "environ": [0, 1, 4, 7, 8, 9, 14, 15, 16, 17, 18, 23, 39], "variabl": [0, 2, 4, 17, 18, 32, 37, 38, 39, 44], "affect": [0, 18, 44, 46], "global": 0, "models_path": [0, 44], "init_model": [0, 13, 24, 40, 44, 47], "561": 0, "implement": [0, 5, 18, 21, 32, 41, 46, 49], "backward_rel": 0, "536": 0, "overrid": [0, 5, 13, 17, 30, 36, 38], "pydanticmodelcr": 0, "make_n": 0, "typo": 0, "make_na": [0, 40, 46, 47], "537": 0, "549": 0, "care": [0, 31], "upgrad": [0, 40, 47], "see": [0, 4, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 24, 29, 30, 33, 37, 38, 39, 44], "335": 0, "aerich": [0, 17, 37], "cyclic": 0, "558": 0, "508": 0, "475": 0, "twice": 0, "525": 0, "integr": [0, 6, 18, 20, 22, 23, 25, 26, 27, 28, 30, 47], "instal": [0, 2, 7, 8, 9, 14, 15, 16, 17, 18, 30, 44, 47], "530": 0, "inconsist": [0, 33], "oserror": 0, "_get_com": 0, "block": [0, 13], "datefield": [0, 30, 40, 47], "accept": [0, 1, 29, 30, 39], "prefetch": [0, 13, 19, 24, 32, 40, 47], "instruct": [0, 30], "relationalfield": 0, "famili": 0, "sourc": [0, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 28, 29, 30, 31, 33, 38, 39, 43, 44, 45, 46, 47, 48, 49], "distribut": [0, 33], "pars": [0, 18, 27], "provid": [0, 2, 5, 10, 13, 17, 18, 29, 30, 31, 33, 36, 38, 39, 41, 43, 44], "connection_class": 0, "orm": [0, 2, 4, 5, 6, 10, 13, 17, 20, 22, 23, 25, 26, 27, 28, 32, 37, 38, 39, 41, 44, 47], "c": [0, 4, 17, 23, 32, 37], "you": [0, 2, 4, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 23, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 44, 46, 48, 49], "want": [0, 2, 13, 14, 29, 30, 31, 33, 34, 35, 38, 39, 44], "acceler": [0, 41, 47], "pleas": [0, 2, 5, 18, 30, 32, 44], "pip": [0, 32], "accel": [0, 32], "clone": [0, 38, 40, 44, 47], "memori": [0, 2, 4, 5, 7, 8, 9, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 26, 27, 29], "To": [0, 13, 14, 17, 18, 21, 25, 30, 31, 38, 39, 44], "persist": [0, 28, 38, 39, 44], "still": [0, 38, 44], "need": [0, 2, 4, 5, 13, 14, 17, 18, 21, 23, 24, 29, 30, 31, 32, 34, 37, 38, 42, 44], "rais": [0, 5, 7, 8, 9, 14, 15, 16, 17, 21, 23, 24, 27, 28, 29, 30, 38, 39, 40, 43, 44, 46, 47, 49], "paramserror": [0, 28, 38, 39, 40, 44, 47], "In": [0, 1, 10, 13, 17, 18, 36, 38, 39], "newval": 0, "If": [0, 2, 5, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 29, 30, 32, 33, 35, 37, 38, 39, 44, 48], "manual": [0, 13, 19, 24, 33, 38, 47], "automat": [0, 5, 8, 9, 13, 21, 30, 32, 38, 41, 44], "record": [0, 13, 24, 30, 33, 35, 38, 39, 44], "we": [0, 1, 2, 7, 8, 9, 10, 13, 14, 15, 16, 18, 21, 24, 29, 30, 31, 32, 33, 38, 39, 41, 43, 44], "howev": [0, 2, 13, 24, 33, 38], "recommend": [0, 5, 8, 9, 18, 38, 43, 44], "force_cr": [0, 38, 44], "force_upd": [0, 38, 44], "oper": [0, 2, 21, 28, 29, 30, 36, 38, 39, 42, 44], "strongli": 0, "prefer": [0, 2], "possibl": [0, 29, 30, 33, 39], "effect": 0, "level": [0, 1, 5, 18, 20, 21, 25, 26, 27, 39, 44], "convert": [0, 30, 31, 46], "pymysql": 0, "booleanfield": [0, 30, 40, 47], "convent": 0, "window": [0, 2, 32], "thrown": 0, "winerror": 0, "123": 0, "overridden": [0, 30], "subscript": 0, "lookup": [0, 30, 38], "pkval": 0, "keyerror": [0, 27, 28], "bad": [0, 30, 38, 44], "basestr": 0, "handl": [0, 13, 18, 24, 33], "charact": [0, 18, 30], "group_bi": [0, 21, 38, 39, 40, 47], "charenumfield": [0, 21, 30, 40, 47], "get": [0, 2, 5, 13, 17, 18, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 33, 36, 38, 39, 40, 41, 44, 46, 47], "uniqu": [0, 11, 12, 19, 23, 30, 38, 39, 44, 47], "identifi": 0, "leaf": 0, "detect": [0, 30], "minim": 0, "also": [0, 2, 13, 14, 18, 21, 29, 30, 31, 32, 33, 35, 38, 39, 43, 44, 46], "hidden": 0, "exclude_raw_field": 0, "critic": [0, 1, 41], "inform": [0, 1, 30, 35, 38, 39, 44], "have": [0, 1, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 24, 29, 30, 32, 33, 38, 39, 41, 44, 47, 48], "rang": [0, 21, 32, 39], "over": [0, 38], "onetoon": [0, 30, 38, 44], "__contain": 0, "jsonb": 0, "_filter": [0, 21, 31], "regress": 0, "where": [0, 2, 13, 18, 24, 30, 31, 32, 38, 39, 44], "BY": 0, "preliminari": 0, "truncationtestcas": [0, 6, 17, 47], "properli": [0, 13, 44], "clear": [0, 32, 39, 40, 47], "them": [0, 2, 13, 29, 30, 32, 38, 39, 44], "signal": [0, 19, 38, 40, 44, 47], "app_label": [0, 17, 44], "tortoise_test_app": [0, 17], "releas": [0, 44], "everyon": [0, 1], "inject": [0, 33], "starts_with": 0, "ends_with": 0, "insensit": [0, 18, 39], "counterpart": 0, "malform": 0, "fieldnam": 0, "those": [0, 2, 18, 29, 30, 32, 39], "fetch": [0, 5, 13, 21, 24, 28, 32, 39, 40, 44, 47], "protect": [0, 13, 24, 39], "against": [0, 13, 24, 39], "common": [0, 2, 18, 38, 39], "mistak": [0, 33, 39], "ensur": [0, 2, 10, 17, 18, 33, 38, 39, 41, 42, 44], "incompleteinstanceerror": [0, 28, 38, 39, 40, 44, 47], "request": [0, 17, 20, 26, 27, 30, 39, 47], "incomplet": [0, 2, 38, 39, 44], "didn": [0, 39], "indic": [0, 18, 30, 38, 39, 44], "done": [0, 13, 24, 32, 38, 39], "known": [0, 39], "wa": [0, 13, 21, 24, 28, 39, 47], "update_from_dict": [0, 38, 40, 44, 47], "mass": [0, 38, 44], "safe": [0, 21, 30, 33, 41, 43, 44], "dictionari": [0, 4, 7, 8, 9, 13, 14, 15, 16, 30, 38, 39, 44], "url": [0, 2, 17, 18], "encod": [0, 30, 40, 47], "password": [0, 2, 7, 8, 9, 14, 15, 16, 18, 44], "describe_model": [0, 30, 40, 44, 47], "generate_schema": [0, 7, 8, 9, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 32, 33, 38, 40, 43, 44, 47], "quart": [0, 6, 19, 47], "escap": 0, "reserv": [0, 38], "side": [0, 31], "self": [0, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 34, 35, 36, 38, 39, 42, 44, 49], "referenti": [0, 13, 18, 21, 29, 31, 39], "wrap": [0, 29, 48], "forget": 0, "about": [0, 9, 13, 33, 35, 39], "distinct": [0, 17, 21, 31, 32, 39, 40, 47], "var": [0, 17], "IN": 0, "__in": 0, "__not_in": 0, "preced": [0, 39], "cast": [0, 18, 30], "code": [0, 5, 17, 18, 32, 33, 38, 41, 44, 47, 48], "complet": [0, 2, 13, 24, 38, 44], "basic": [0, 2, 6, 9, 18, 19, 47], "element": [0, 13, 24, 39], "requir": [0, 9, 13, 17, 27, 29, 30, 33, 37, 38, 39, 40, 44, 47], "popul": [0, 14, 24, 25, 38, 39, 44], "maxlength": 0, "charfield": [0, 11, 13, 20, 21, 22, 23, 24, 25, 26, 27, 30, 32, 38, 40, 47, 49], "minimum": [0, 18, 38, 44], "maximum": [0, 18, 30], "user": [0, 2, 7, 8, 9, 14, 15, 16, 18, 20, 22, 23, 25, 26, 27, 29, 38, 44], "dict": [0, 7, 8, 9, 13, 14, 15, 16, 17, 18, 21, 24, 29, 30, 31, 37, 38, 39, 44], "exclude_unset": [0, 22], "helper": [0, 13, 17, 24, 32, 33, 40, 44, 47], "base": [0, 2, 6, 8, 9, 13, 17, 28, 38, 39, 40, 41, 44, 45, 47], "starlett": [0, 6, 9, 19, 47], "catch": [0, 13, 24], "proper": [0, 46], "integrityerror": [0, 8, 9, 28, 38, 40, 44, 47], "exclud": [0, 13, 23, 24, 38, 39, 40, 44, 47], "read": [0, 21, 32, 38, 39], "pydanticmodel": [0, 6, 13, 47], "two": [0, 13, 19, 24, 35, 36, 39, 42, 46, 47, 49], "extra": [0, 13, 24, 31, 34, 38, 41, 44], "from_queryset": [0, 13, 22, 24, 47], "list": [0, 2, 5, 6, 17, 18, 19, 21, 23, 29, 30, 37, 38, 39, 44, 47, 49], "format": [0, 2, 7, 8, 9, 11, 13, 14, 15, 16, 21, 30, 32, 35, 37, 38, 39, 44], "expect": [0, 1, 2, 5, 17, 21, 28, 33, 39, 41], "from_queryset_singl": [0, 13, 47], "multipl": [0, 17, 18, 28, 42, 44], "its": [0, 1, 5, 13, 17, 29, 34, 38, 44], "item": [0, 13, 23, 28, 35, 37, 46], "cpython": [0, 32, 33], "docstr": [0, 13, 24, 30, 38, 44], "directli": [0, 2, 14, 17, 18, 21, 38, 39, 43], "definit": [0, 13, 21, 38], "ddl": [0, 18, 30, 44], "descript": [0, 11, 12, 13, 21, 24, 30, 38, 44], "clean": [0, 7, 8, 9, 14, 15, 16, 17, 32, 40, 41, 47], "carri": 0, "explicitli": [0, 13, 21, 23, 38, 39], "table_descript": [0, 21, 38], "first": [0, 4, 21, 24, 29, 30, 31, 32, 33, 37, 38, 39, 40, 44, 47], "line": [0, 2, 17, 18], "becaus": [0, 13], "submit": [0, 23], "short": [0, 47], "63": [0, 22], "char": [0, 30], "size": [0, 1, 13, 18, 24, 30], "usag": [0, 2, 6, 19, 20, 21, 22, 23, 25, 26, 27, 39, 40, 44, 47], "someth": [0, 30], "A": [0, 9, 13, 17, 18, 31, 36, 38, 39, 40, 44, 47, 49], "regular": [0, 13, 21, 31, 32, 39], "max_length": [0, 13, 21, 22, 23, 24, 27, 30, 32, 38, 49], "50": [0, 20, 21, 23, 24, 26], "blip": 0, "look": [0, 2, 8, 9, 13, 17, 18, 30, 32, 38], "n": [0, 21, 23, 31, 37], "nsome": 0, "data_field": [0, 38, 44], "earli": [0, 6, 19, 44, 47], "otherwis": [0, 1], "up": [0, 2, 5, 7, 8, 9, 14, 15, 16, 17, 29, 30, 31, 32, 33, 38, 40, 42, 47], "let": [0, 2, 13, 18, 24, 38], "sai": 0, "your": [0, 2, 10, 17, 18, 29, 30, 32, 33, 35, 37, 38, 39, 44, 46, 48], "ddef": 0, "And": [0, 13, 17, 18, 29, 31, 37, 39, 46, 47], "go": 0, "relationship": [0, 13, 21, 24, 30, 32, 33, 38, 44], "so": [0, 2, 5, 13, 14, 18, 24, 30, 31, 32, 33, 38, 39, 43, 44], "introspect": 0, "comprehens": [0, 33, 41], "serialis": [0, 6, 8, 9, 24, 47], "nativ": [0, 2, 18, 30, 46], "build": [0, 2, 4, 8, 10, 13, 29, 33, 39, 41], "data": [0, 8, 9, 13, 18, 21, 23, 24, 28, 29, 31, 33, 38, 39, 40, 41, 44, 47], "callabl": [0, 6, 17, 19, 30, 38, 44, 45, 47, 48, 49], "At": [0, 13], "stage": [0, 13], "deserialis": [0, 13], "mode": [0, 11, 18, 21], "301": 0, "number": [0, 17, 18, 31, 39, 44, 49], "offset": [0, 18, 39, 40, 41, 47], "306": 0, "308": 0, "abil": [0, 29, 41], "suppli": 0, "flag": [0, 31, 49], "312": 0, "sinc": [0, 10, 13, 18, 38], "start_transact": 0, "broken": 0, "pypi": [0, 2], "backport": 0, "branch": 0, "311": 0, "compil": [0, 32], "ani": [0, 1, 2, 5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 24, 28, 29, 30, 31, 38, 39, 44], "get_or_non": [0, 36, 38, 39, 40, 44, 47], "classmethod": [0, 13, 38, 43, 44], "wai": [0, 2, 9, 13, 36, 38, 41, 42], "298": 0, "supppli": 0, "to_field": [0, 21, 30], "remot": [0, 38, 44], "287": 0, "atom": [0, 21, 29, 40, 47, 48], "294": 0, "appli": [0, 1, 29, 30, 31, 33, 38, 39, 43, 44], "post": [0, 1, 20, 22, 23, 27], "manytomani": [0, 30, 38, 44], "preserv": [0, 18, 21, 31], "correct": [0, 1, 2], "between": [0, 21, 30, 32, 33, 38, 39, 44], "syntax": [0, 35, 37], "bump": 0, "cater": 0, "newer": 0, "282": 0, "alia": [0, 5, 30, 31, 38, 39, 44], "both": [0, 1, 13, 24, 38], "referenc": [0, 38], "differenti": 0, "textfield": [0, 11, 17, 21, 24, 30, 33, 34, 38, 40, 47], "honour": [0, 13, 24, 41], "un": 0, "boolean": [0, 9, 30, 44], "fals": [0, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 21, 25, 29, 30, 31, 37, 38, 39, 42, 44, 49], "won": [0, 2, 38], "touch": 0, "row": [0, 18, 38, 39, 44], "intern": [0, 39], "db_connect": 0, "execute_queri": [0, 5, 18, 21, 40, 44, 47], "rows_affect": 0, "syntact": 0, "sugar": 0, "binaryfield": [0, 30, 40, 47], "store": [0, 11, 18, 30, 37, 39, 46], "byte": [0, 11, 30], "longtext": 0, "larger": [0, 18], "64kb": 0, "de": [0, 41], "guarante": [0, 17], "One": [0, 14, 24, 30, 31, 38, 40, 47], "disabl": [0, 1, 18, 20, 22, 23, 25, 26, 27], "related_nam": [0, 13, 21, 24, 30, 32, 38], "autonumb": [0, 18, 44], "mainten": [0, 2], "There": [0, 13, 36, 38, 39, 43, 44, 45, 46, 49], "most": [0, 2, 21, 39], "accur": [0, 30], "auto": [0, 2, 11, 13, 17, 24, 30], "own": [0, 2, 17, 30, 35, 38, 44], "dialect": [0, 17, 18, 21, 30, 44], "significantli": 0, "simplifi": 0, "decimalfield": [0, 18, 21, 30, 38, 40, 47], "behav": [0, 10], "like": [0, 4, 13, 18, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 44], "256": 0, "whether": [0, 30, 38, 39, 44, 49], "charset": [0, 18], "261": 0, "driver": [0, 2, 18, 30, 32, 41, 44], "uri": 0, "don": [0, 2, 13, 17, 18, 24, 30, 33, 38, 39, 43, 44], "254": 0, "emit": 0, "runtimewarn": 0, "context": [0, 5, 9, 13, 14, 18, 21, 25, 44, 48], "255": [0, 21, 30, 32, 38], "It": [0, 13, 14, 17, 18, 24, 29, 30, 33, 38, 39, 44], "direct": [0, 30, 38], "event": [0, 1, 5, 7, 8, 9, 13, 14, 15, 16, 17, 21, 24, 29, 32, 38, 39, 44], "onetoonerel": [0, 21, 24, 39, 40, 47], "cascad": [0, 21, 24, 30], "address": [0, 1, 2, 17, 21, 24, 33], "concurr": [0, 23, 33], "send": [0, 21, 45], "sequenc": [0, 18, 39, 44], "enabl": [0, 31], "enforc": [0, 18, 47], "The": [0, 1, 2, 5, 13, 17, 18, 21, 23, 24, 28, 29, 30, 31, 32, 39, 40, 42, 43, 46, 47, 49], "auto_now_add": [0, 13, 21, 23, 24, 30, 38], "unique_togeth": [0, 38, 44], "constrain": 0, "prevent": [0, 13, 38], "assign": [0, 38], "auto_now": [0, 21, 23, 30, 38], "anymor": 0, "OR": [0, 29, 30, 40, 47], "ing": 0, "blank": [0, 30], "240": 0, "benefit": [0, 13], "come": 0, "Not": [0, 24, 32], "minsiz": [0, 18], "maxsiz": [0, 18], "mani": [0, 18, 29, 30, 33, 38, 40, 44, 47], "small": [0, 29, 30, 44], "perform": [0, 2, 29, 32, 33, 38, 39, 41, 44], "tweak": [0, 2], "overhead": 0, "reduc": [0, 2], "bulk": [0, 18, 38, 39, 44], "speedup": 0, "prepar": 0, "lru": 0, "cach": 0, "signific": [0, 30], "2x": 0, "deseri": [0, 41], "faster": [0, 2, 17, 41], "optim": [0, 30, 38, 39, 44], "less": [0, 2, 49], "copi": [0, 5, 38, 44], "slight": 0, "kwarg": [0, 11, 12, 18, 29, 30, 38, 39, 44], "simultan": 0, "map": [0, 9, 13, 17, 33, 38, 39, 44], "constructor": 0, "silent": [0, 39], "bring": 0, "due": [0, 13, 24, 30, 32], "how": [0, 4, 5, 10, 13, 21, 24, 30, 34, 37, 38, 39, 44, 47], "aiocontextvar": 0, "comparison": [0, 39], "confus": 0, "specif": [0, 1, 2, 9, 11, 12, 13, 18, 38, 39, 40, 44, 47, 49], "regard": [0, 1, 29, 33], "restor": [0, 5], "inherit": [0, 34, 40, 47, 49], "abstract": [0, 38, 44, 49], "determinist": 0, "place": [0, 2, 33], "current": [0, 5, 13, 17, 18, 29, 30, 33, 35, 37, 38, 39, 41, 44, 46], "autocomplet": [0, 38], "effort": [0, 2], "section": [0, 17, 37, 39], "editor": [0, 2, 38], "pypy3": 0, "static": [0, 2, 9, 30], "analysi": [0, 2], "trim": [0, 21, 31, 39, 40, 47], "length": [0, 2, 13, 21, 24, 30, 31, 39, 40, 47, 49], "coalesc": [0, 21, 31, 39, 40, 47], "upper": [0, 21, 31, 39, 40, 47], "insid": [0, 7, 8, 9, 14, 15, 16, 48], "properti": [0, 5, 13, 30, 38, 41, 44], "abl": [0, 14, 30, 38], "long": [0, 30, 47], "via": [0, 1, 13, 17, 18, 24, 38], "prefetch_rel": [0, 21, 32, 38, 39, 40, 47], "compound": [0, 38], "chanc": 0, "hash": 0, "algorithm": 0, "had": 0, "veri": [0, 2, 9, 30, 39], "high": [0, 18, 44], "revert": 0, "super": [0, 30, 31, 34, 36], "__init__": [0, 30, 31, 34, 35], "initialis": [0, 13, 17, 24, 32, 33, 44], "_fieldmeta": [0, 30], "1st": 0, "would": [0, 5, 13, 18, 21, 30, 38, 39, 44], "foreignkei": [0, 30, 38, 39, 44], "2nd": 0, "know": [0, 13], "thei": [0, 1, 13, 29, 30, 33, 38, 39, 43, 44, 45], "take": [0, 1, 29, 30, 39, 49], "unsaf": 0, "did": [0, 33], "declar": [0, 21, 23, 39], "195": 0, "iexact": [0, 39], "modifi": [0, 5, 21, 38, 39], "name__iexact": 0, "minor": 0, "rfk": 0, "sampl": 0, "construct": [0, 1, 39], "reduct": 0, "instanti": 0, "nullalbl": 0, "unicod": 0, "system": [0, 8, 9, 18], "180": 0, "to_db_valu": [0, 30], "fetch_rel": [0, 21, 38, 39, 40, 44, 47], "pre": [0, 13, 18, 24, 44], "parametr": [0, 18, 33, 41, 44], "suscept": 0, "simpl": [0, 2, 5, 13, 19, 24, 29, 30, 32, 33, 38, 41, 42, 44, 47], "7x": 0, "bigintfield": [0, 30, 38, 40, 47, 49], "smallintfield": [0, 30, 40, 47, 49], "gen": 0, "top": [0, 4], "discoveri": 0, "either": [0, 2, 17, 18, 38, 46], "credenti": [0, 5, 7, 8, 9, 14, 15, 16, 18, 21, 44], "utf8mb4": [0, 18], "increas": [0, 33], "reach": 0, "end": [0, 13, 29, 33, 38, 39, 44], "life": 0, "applic": [0, 8, 9, 16, 20, 22, 27, 33, 43, 44], "discontinu": 0, "next": [0, 13, 38], "major": [0, 38], "along": 0, "hook": [0, 7, 14, 15], "163": 0, "well": [0, 29, 30, 33, 38, 39], "truncat": [0, 17], "157": 0, "obj": [0, 13, 17, 39], "state": [0, 5, 23], "leak": [0, 5, 8, 9], "could": [0, 1, 13, 38, 39, 44], "168": 0, "rework": 0, "re": [0, 18, 49], "relations_recirs": 0, "turn": 0, "lot": [0, 38], "cleanup": 0, "unix": [0, 18], "domain": [0, 18], "socket": [0, 18], "__models__": [0, 40, 44, 47], "mechan": 0, "yourapp": 0, "wherev": [0, 44], "rather": [0, 2, 38, 44], "find": [0, 18, 29, 38, 39, 44], "path": [0, 4, 7, 8, 9, 14, 15, 16, 17, 18, 23, 42, 44], "larg": [0, 30], "effici": [0, 38, 39, 44], "manipul": 0, "30": [0, 23], "regist": [0, 7, 8, 9, 14, 15, 16, 18, 38, 44, 45], "refer": [0, 6, 13, 21, 24, 29, 32, 47], "configurationerror": [0, 5, 7, 8, 9, 14, 15, 16, 28, 30, 38, 40, 43, 44, 47], "help": [0, 2, 4, 29, 30, 37, 38], "togeth": [0, 38, 44], "124": 0, "leverag": [0, 38], "accident": 0, "doubl": [0, 17, 30, 38, 39], "143": 0, "mai": [0, 1, 8, 9, 17, 23, 32, 38, 39, 44], "intfield": [0, 13, 17, 20, 21, 23, 24, 25, 26, 27, 30, 32, 33, 36, 38, 40, 44, 47, 49], "throw": [0, 18, 38, 44], "awai": [0, 33, 38, 44], "email": [0, 38, 44], "notabl": 0, "big": [0, 29, 30], "That": [0, 17, 21, 38], "whichev": [0, 38], "nomin": [0, 38], "etc": [0, 2, 18, 31, 38, 44], "singl": [0, 7, 8, 13, 14, 15, 16, 17, 21, 30, 38, 39, 44], "composit": [0, 38], "must": [0, 17, 30, 37, 38, 39, 44], "checksum": [0, 38], "guid": [0, 38, 47], "retri": 0, "broader": 0, "failur": [0, 17], "reformat": 0, "black": 0, "120": 0, "121": 0, "isol": [0, 17], "reconnect": 0, "happen": [0, 13, 21, 24, 38, 44], "109": 0, "114": 0, "113": 0, "115": 0, "116": 0, "attempt": [0, 5, 28, 33, 38, 44], "sever": [0, 32, 39], "conveni": [0, 32, 38, 41, 44], "actual": [0, 2, 18, 29, 30, 38, 39], "_queri": 0, "fail": [0, 5, 21, 28, 38, 43, 44, 49], "cap": 0, "workaround": [0, 18, 39], "1000000": 0, "capabl": [0, 17, 40, 44, 47], "skip": [0, 2, 6, 17, 30, 47], "condition": [0, 17], "requirecap": [0, 6, 17, 47], "def": [0, 13, 17, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 38, 42, 44, 49], "test_run_sqlite_onli": [0, 17], "per": [0, 11, 30, 31], "plan": [0, 39], "around": [0, 18, 30, 39], "futur": [0, 23, 44], "hack": 0, "explain": [0, 39, 40, 47], "represent": [0, 1, 24, 30], "contextvar": [0, 5], "autocommit": [0, 21], "db_url": [0, 7, 8, 9, 14, 15, 16, 17, 20, 21, 22, 23, 24, 25, 26, 27, 32, 33, 40, 44, 47], "negat": [0, 29, 40, 47], "numer": [0, 30], "speed": [0, 30], "smaller": 0, "linter": [0, 2, 6, 47], "pick": [0, 2], "easier": [0, 2], "transform": [0, 31], "62": 0, "recurs": [0, 13, 19, 47], "rel": [0, 2, 33], "macro": 0, "minimis": 0, "syncronis": 0, "aiosqlit": [0, 18, 32, 33], "purpos": [0, 30, 44], "execute_script": [0, 18, 40, 44, 47], "run_async": [0, 17, 21, 24, 32, 33, 44], "script": [0, 18, 32, 33, 44], "decor": [0, 17, 23, 48], "separ": [0, 1, 2, 17, 18, 21, 39, 49], "multidb": 0, "label": [0, 17, 44], "single_connect": 0, "mutat": [0, 29], "discov": [0, 7, 8, 9, 13, 14, 15, 16, 17, 32, 43, 44], "here": [0, 2, 13, 17, 18, 21, 24, 30, 32, 33, 38, 39, 41, 43, 44, 49], "file": [0, 7, 8, 9, 10, 14, 15, 16, 17, 18, 21, 32, 33, 37, 39, 44, 47], "sqlite3": [0, 5, 18, 21, 31, 32, 33, 44], "implicit": 0, "framework": [0, 2, 8, 13, 21, 32, 33, 41], "overhaul": 0, "keep": [0, 2, 29, 31, 33, 39, 44], "final": [0, 6, 17, 21, 29, 33, 47], "tear": [0, 7, 8, 9, 14, 15, 16, 33], "down": [0, 7, 8, 9, 14, 15, 16, 33], "further": [0, 1, 38, 39, 41], "clarifi": [0, 1], "mariadb": [0, 33, 40, 47], "No": 0, "assert": [0, 17, 23], "formalis": 0, "__slots__": 0, "easi": [0, 33, 38], "tupl": [0, 18, 23, 29, 38, 39, 44], "incompat": 0, "promot": 0, "standard": [0, 13, 17, 18, 33, 39, 41, 47], "floatfield": [0, 21, 30, 40, 47, 49], "tournament": [0, 13, 21, 24, 29, 30, 32, 33, 38, 39], "tournament__nam": [0, 21, 39], "participants__nam": [0, 21], "mang": 0, "func": 0, "immut": 0, "client": [0, 21, 23, 32, 39, 40, 43, 44, 47], "sqlitecli": 0, "db_name": [0, 18], "create_connect": [0, 18, 40, 44, 47], "events__name__in": [0, 21, 32], "events__participants__nam": [0, 21, 32], "interest": [1, 38, 39], "foster": 1, "welcom": [1, 2], "maintain": [1, 38], "particip": [1, 21, 24, 32, 38, 39], "project": [1, 10, 33, 38, 47], "commun": 1, "harass": 1, "free": 1, "experi": 1, "regardless": [1, 2, 29], "ag": 1, "bodi": [1, 27], "ethnic": 1, "gender": 1, "ident": [1, 21], "nation": 1, "person": 1, "appear": [1, 30], "religion": 1, "sexual": 1, "orient": 1, "exampl": [1, 2, 4, 5, 13, 17, 18, 29, 30, 31, 32, 34, 36, 37, 38, 39, 47, 49], "behavior": [1, 35, 36, 46], "contribut": [1, 33, 47], "inclus": 1, "languag": 1, "Being": 1, "respect": [1, 2], "viewpoint": 1, "gracefulli": 1, "focus": 1, "what": [1, 2, 13, 21, 29, 30, 38, 39, 46], "best": [1, 2, 23], "empathi": 1, "toward": 1, "other": [1, 2, 21, 29, 32, 33, 34, 38, 47], "member": [1, 21], "unaccept": 1, "imageri": 1, "unwelcom": 1, "attent": 1, "advanc": [1, 18], "troll": 1, "insult": 1, "derogatori": 1, "polit": 1, "attack": [1, 33], "publish": 1, "physic": 1, "electron": 1, "explicit": [1, 2, 13, 14, 38], "permiss": [1, 44], "reason": [1, 17], "consid": [1, 21, 29, 38, 41], "inappropri": 1, "profession": 1, "appropri": [1, 32, 44, 46], "fair": 1, "action": [1, 21, 30], "remov": [1, 5, 13, 32, 39, 40, 44, 47], "edit": 1, "reject": 1, "commit": [1, 21], "wiki": 1, "align": 1, "ban": 1, "temporarili": 1, "perman": 1, "deem": 1, "threaten": 1, "offens": 1, "harm": 1, "space": 1, "individu": 1, "repres": [1, 13, 29, 30, 31, 32], "offici": [1, 18], "mail": 1, "social": 1, "media": 1, "account": 1, "act": [1, 39], "appoint": 1, "onlin": 1, "offlin": 1, "abus": 1, "contact": 1, "team": [1, 2, 13, 21, 24, 32, 38, 39], "andrei": [1, 3], "bondar": [1, 3], "ru": 1, "complaint": 1, "review": 1, "investig": 1, "necessari": [1, 38, 44], "circumst": 1, "oblig": 1, "confidenti": 1, "incid": 1, "polici": 1, "who": [1, 38], "follow": [1, 2, 10, 13, 17, 18, 24, 30, 32, 33, 34, 35, 38, 39], "good": [1, 18, 38], "faith": 1, "face": 1, "temporari": 1, "repercuss": 1, "determin": [1, 13, 30, 46], "leadership": 1, "adapt": 1, "1": [1, 2, 6, 17, 18, 19, 21, 22, 23, 25, 29, 31, 32, 36, 37, 38, 39, 44, 45, 47], "4": [1, 2, 6, 17, 18, 19, 21, 33, 45, 47], "http": [1, 2, 3, 4, 11, 23, 30, 33, 35, 37, 46], "org": [1, 35, 46], "straightforwardli": [2, 33], "volunt": 2, "encourag": 2, "pitch": 2, "contributor": [2, 47], "coven": [2, 47], "conduct": [2, 47], "isn": [2, 38, 39, 42, 44], "pull": [2, 29], "chang": [2, 14, 30, 33, 37, 38, 39, 41, 47], "continu": 2, "wip": 2, "each": [2, 17, 18, 21, 31, 33, 38, 39, 44], "chatroom": 2, "gitter": 2, "makefil": 2, "start": [2, 13, 14, 25, 33, 38, 39, 40, 47], "target": [2, 18, 44], "dev": [2, 7, 8, 9, 11, 14, 15, 16, 30], "dep": 2, "sane": 2, "lint": 2, "violat": 2, "doc": [2, 13, 22, 24, 29, 46, 47], "directori": 2, "peopl": 2, "believ": 2, "hide": 2, "As": [2, 24, 39, 44], "settl": 2, "concis": 2, "often": [2, 10, 31, 32], "too": [2, 32, 39], "eas": [2, 33, 41], "Of": [2, 41], "everyth": [2, 18], "optimis": 2, "repeat": [2, 30, 33], "benchmark": 2, "measur": 2, "try": [2, 5, 13, 21, 23, 24, 27, 30, 31], "autom": 2, "obviou": 2, "agre": 2, "pep8": 2, "100": [2, 13, 21, 24, 49], "alwai": [2, 17, 30, 38, 44, 46], "clearli": [2, 33], "concaten": [2, 33], "word": 2, "some_purpos": 2, "somepurpos": 2, "mind": [2, 5, 33], "3": [2, 6, 19, 21, 29, 31, 33, 38, 39, 45, 47], "8": [2, 11, 23, 29, 30, 33, 47], "yet": [2, 33], "atm": 2, "wsl": 2, "tortoise_postgres_pass": 2, "tortoise_mysql_pass": 2, "env": [2, 17, 46], "quick": [2, 40, 47], "coverag": 2, "test_sqlit": 2, "test_postgres_asyncpg": 2, "test_postgres_psycopg": 2, "test_mysql_myisam": 2, "myisam": 2, "storag": [2, 5], "engin": [2, 5, 7, 8, 9, 14, 15, 16, 18, 21, 44], "test_mysql": 2, "testal": 2, "innodb": 2, "testmodel": [2, 17], "though": [2, 18], "hardcod": 2, "usual": [2, 13, 17, 39], "under": 2, "testfil": 2, "peek": 2, "hood": 2, "hang": 2, "debug": [2, 18, 20, 25, 26, 27, 35, 39], "vv": 2, "d": [2, 13, 21, 31, 35], "mean": [2, 30, 31, 38], "verbos": [2, 18, 39], "output": [2, 39, 44], "captur": 2, "stdout": [2, 35], "tend": 2, "slow": [2, 17], "redund": 2, "risk": 2, "www": 2, "tocker": 2, "ca": 2, "2013": 2, "11": [2, 21, 47], "04": 2, "durabl": 2, "html": [2, 46], "abondar": 3, "nickola": 3, "grigoriadi": 3, "grigi": 3, "etzelwu": 3, "alexand": 3, "lyon": 3, "arlyon": 3, "florimond": 3, "manca": 3, "florimondmanca": 3, "vitali": 3, "rebkavet": 3, "revimi": 3, "shlomi": 3, "balulu": 3, "shaloba": 3, "klaa": 3, "nebuhr": 3, "firstklaa": 3, "harsha": 3, "narayana": 3, "harshanarayana": 3, "terra": 3, "brown": 3, "superloach": 3, "nguy\u1ec5n": 3, "h\u1ed3ng": 3, "qu\u00e2n": 3, "hongquan": 3, "mateusz": 3, "bocian": 3, "mrstork": 3, "vladimir": 3, "urushev": 3, "pilat": 3, "adam": 3, "wallner": 3, "wallneradam": 3, "zolt\u00e1n": 3, "szeredi": 3, "zoliszeredi": 3, "rebecca": 3, "klauser": 3, "svms1": 3, "sina": 3, "sohangir": 3, "sinaso": 3, "weim": 3, "dong": 3, "dongweim": 3, "aenterpris": 3, "jinlong": 3, "peng": 3, "long2ic": 3, "sang": [3, 21], "heon": [3, 21], "jeon": 3, "lntuition": 3, "jong": 3, "yeop": 3, "park": 3, "pjongi": 3, "sm0k": 3, "lev": 3, "gorodetskii": 3, "droserasprout": 3, "hao": 3, "gong": 3, "dongfangtianyu": 3, "gao": 3, "priestch": 3, "mykola": 3, "solodukha": 3, "trdex": 3, "seo": 3, "jiyeon": 3, "jiyeonseo": 3, "blake": 3, "watter": 3, "blakewatt": 3, "alexei": 3, "tylindu": 3, "mirrorrim": 3, "rodrigo": 3, "oliveira": 3, "allrod5": 3, "snksynthesi": 3, "alex": 3, "sinichkin": 3, "alwxsin": 3, "yollei": 3, "weiliang": 3, "li": 3, "kigawa": 3, "bogdan": 3, "evstratenko": 3, "evstratbg": 3, "mike": 3, "ryan": 3, "devsetgo": 3, "eugen": 3, "dubovskoi": 3, "drjackild": 3, "l\u01b0\u01a1ng": 3, "quang": 3, "m\u1ea1nh": 3, "lqmanh": 3, "mykyta": 3, "holubakha": 3, "hummer12007": 3, "tiago": 3, "barrionuevo": 3, "tiabogar": 3, "isaqu": 3, "alv": 3, "isaquealv": 3, "vinai": 3, "karanam": 3, "vinayinvic": 3, "aleksandr": 3, "rozum": 3, "rozumalex": 3, "mojix": 3, "coder": 3, "mojixcod": 3, "paul": 3, "serov": 3, "thakryptex": 3, "stanislav": 3, "zmiev": 3, "ovsyanka83": 3, "waket": 3, "zheng": 3, "waketzheng": 3, "yuval": 3, "ben": 3, "ari": 3, "yuvalbenari": 3, "stephan": 3, "klein": 3, "privatwolk": 3, "wizzygeek": 3, "ivan": 3, "pakeev": 3, "ipakeev": 3, "abdeldjalil": 3, "hezouat": 3, "h": [3, 4, 35, 37], "andrea": 3, "magist\u00e0": 3, "vlakiu": 3, "daniel": 3, "szuc": 3, "quasar6x": 3, "rui": 3, "catarino": 3, "ruitcatarino": 3, "lanc": 3, "moe": 3, "lancemo": 3, "huge": 3, "github": [3, 4, 33, 37], "com": [3, 4, 11, 30, 33, 37], "kayak": 3, "heavi": 3, "cli": [4, 14], "tool": [4, 29], "click": 4, "ptpython": 4, "23": [4, 13, 47], "59": 4, "38": 4, "command": [4, 14, 17, 18, 25, 37, 41], "arg": [4, 28, 29, 31, 37, 38, 39, 44], "v": [4, 37], "exit": [4, 37, 44], "tortoiseorm": 4, "tortoise_orm": [4, 37], "assum": [4, 5, 18, 30, 39, 46], "default_connect": [4, 5, 7, 8, 9, 14, 15, 16, 18, 21, 37, 42, 44], "Then": [4, 35, 38], "Or": [4, 17, 18, 30, 32, 33], "underli": 5, "alias": 5, "below": [5, 17, 39], "snippet": [5, 29], "singleton": 5, "connectionhandl": [5, 40, 47], "serv": 5, "entrypoint": 5, "configur": [5, 7, 8, 9, 13, 14, 15, 16, 17, 18, 24, 28, 33, 35, 38, 42, 44], "file_path": [5, 21], "__main__": [5, 7, 8, 9, 13, 14, 15, 16, 17, 20, 21, 24, 25, 26, 27, 42, 44], "conn": [5, 21], "operationalerror": [5, 13, 21, 28, 29, 38, 39, 40, 44, 47], "pattern": [5, 49], "live": 5, "until": [5, 38, 39, 44], "lifetim": 5, "runtim": [5, 35], "riski": 5, "demonstr": [5, 21, 24], "practic": 5, "close_al": [5, 40, 44, 47], "discard": [5, 40, 47], "close": [5, 18, 23, 35, 40, 44, 47], "retain": 5, "db_config": [5, 40, 47], "dbconfigtyp": 5, "conn_alia": 5, "given": [5, 28, 30, 38, 39, 43, 44, 45, 46, 49], "sure": [5, 30, 39], "els": [5, 18, 23, 24, 29, 30, 38, 44], "dangl": 5, "low": [5, 18, 44], "reset": [5, 17, 30, 40, 47], "token": [5, 21], "previou": 5, "addit": [5, 38, 39], "correspond": [5, 9, 13, 18, 21, 30, 39], "typic": [5, 18, 38, 44], "obtain": [5, 39], "conn_obj": 5, "new": [5, 13, 17, 20, 21, 24, 25, 26, 31, 32, 33, 38, 39, 44, 47], "therefor": 5, "origin": [5, 42], "tutori": [6, 8, 9, 19, 41, 47], "2": [6, 17, 19, 21, 29, 31, 32, 36, 38, 39, 45, 47, 49], "creator": [6, 24, 47], "fieldmap": [6, 13, 47], "pydantic_queryset_cr": [6, 13, 24, 47], "pydanticlistmodel": [6, 13, 47], "isolatedtestcas": [6, 17, 47], "simpletestcas": [6, 17, 47], "skiptest": [6, 17, 47], "env_initi": [6, 17, 47], "expectedfailur": [6, 17, 47], "getdbconfig": [6, 17, 47], "skipif": [6, 17, 47], "skipunless": [6, 17, 47], "httpnotfounderror": [6, 9, 47], "aiohttp": [6, 19, 47], "fulltextindex": [6, 11, 34, 47], "spatialindex": [6, 11, 34, 47], "geometryfield": [6, 11, 30, 34, 47], "searchcriterion": [6, 11, 12, 47], "bloomindex": [6, 12, 34, 47], "brinindex": [6, 12, 47], "ginindex": [6, 12, 34, 47], "gistindex": [6, 12, 47], "hashindex": [6, 12, 47], "spgistindex": [6, 12, 47], "tsvectorfield": [6, 12, 30, 47], "totsvector": [6, 12, 47], "totsqueri": [6, 12, 47], "lightweight": [7, 8, 9, 14, 15, 16], "startup": [7, 8, 9, 14, 15, 16, 23], "teardown": [7, 8, 14, 15, 16, 17, 23], "config_fil": [7, 8, 9, 14, 15, 16, 44], "on_startup": 7, "on_shutdown": 7, "webserv": [7, 15], "host": [7, 8, 9, 14, 15, 16, 18, 44], "localhost": [7, 8, 9, 14, 15, 16, 44], "port": [7, 8, 9, 14, 15, 16, 18, 20, 25, 26, 44], "5432": [7, 8, 9, 14, 15, 16, 17, 18, 21, 44], "qwerty123": [7, 8, 9, 14, 15, 16, 44], "yml": [7, 8, 9, 14, 15, 16, 44], "pyyaml": [7, 8, 9, 14, 15, 16, 44], "abov": [7, 8, 9, 13, 14, 15, 16, 29, 32, 35, 36, 44], "list_of_modul": [7, 8, 9, 14, 15, 16, 17, 44], "immedi": [7, 8, 9, 14, 15, 16, 32], "asynchron": 8, "web": [8, 20], "add_exception_handl": [8, 9, 22, 23], "shutdown": [8, 9, 16], "product": [8, 9, 18], "model_computed_field": [9, 13, 47], "classvar": [9, 13], "computedfieldinfo": [9, 13], "comput": [9, 13, 19, 23, 31, 47], "configdict": [9, 13], "conform": [9, 13], "model_field": [9, 13, 47], "fieldinfo": [9, 13], "metadata": [9, 13, 38, 44], "__fields__": [9, 13], "v1": [9, 13, 41], "utc": [9, 21, 23, 42, 44, 46], "abstractasynccontextmanag": 9, "union": [9, 17, 18, 22, 30, 44], "moduletyp": 9, "bool": [9, 11, 21, 23, 30, 31, 38, 44, 46], "awar": [9, 44, 46, 47], "close_orm": [9, 47], "init_orm": [9, 47], "metaclass": 10, "understand": [10, 39], "enhanc": [10, 41, 47], "pylintrc": 10, "parser_nam": [11, 34], "binary_compress": [11, 30], "uuid4": [11, 30], "6": [11, 13, 21, 30, 46, 47], "note": [11, 14, 18, 21, 24, 30], "featur": [11, 18, 30, 41, 47], "blog": [11, 30], "archiv": [11, 30], "0": [11, 17, 18, 21, 22, 23, 25, 29, 30, 32, 36, 37, 38, 39, 41, 44, 47, 49], "expr": [11, 12], "element_typ": 12, "to_tsvector": 12, "to_tsqueri": 12, "plainto_tsqueri": 12, "introduc": [13, 24], "model_dump": [13, 22, 23, 24], "model_dump_json": [13, 23, 24], "created_at": [13, 23, 24, 31, 38], "tournament_pydant": [13, 24], "titl": [13, 22, 23], "simpli": [13, 29, 34], "tourpi": [13, 24], "from_tortoise_orm": [13, 22, 23, 24, 47], "content": 13, "2020": [13, 39], "20": [13, 23, 25, 27, 38, 47], "28": 13, "9": [13, 18, 33, 47], "346808": 13, "03": [13, 47], "01t20": 13, "09": 13, "tournament_pydantic_list": [13, 24], "arrai": 13, "ref": 13, "anoth": [13, 24, 30, 33, 36, 39, 46, 49], "53": 13, "39": 13, "776504": 13, "776848": 13, "776211": 13, "02t06": 13, "alphabet": 13, "_creator": 13, "our": [13, 41, 47], "oh": [13, 49], "again": [13, 29], "aha": 13, "event_pydant": [13, 24], "allof": 13, "back": [13, 21, 24, 40, 42, 47], "later": [13, 30], "02t07": 13, "27": 13, "731656": 13, "732492": 13, "eventpi": [13, 24], "calcul": 13, "tell": [13, 39], "reverserel": [13, 21, 24, 38, 39, 40, 47], "name_length": [13, 24], "len": [13, 21, 24, 38], "events_num": [13, 24], "novaluesfetch": [13, 21, 24, 28, 40, 47], "timestamp": [13, 21, 24, 46], "unpack": 13, "firstli": 13, "secondli": 13, "decid": 13, "thirli": 13, "ad": [13, 30, 38, 39, 44, 47], "alreadi": [13, 18, 32, 39, 43, 44], "serial": [13, 21, 24, 30, 32, 41], "henc": [13, 24, 33], "num": 13, "14": [13, 47], "pk_field": [13, 38, 44], "cl": [13, 44], "allow_cycl": [13, 24], "sort_alphabet": 13, "meta_overrid": 13, "off": [13, 18, 21, 30, 31], "cycl": [13, 24], "backtrack": 13, "subset": [13, 38, 44], "readonli": 13, "belong": 13, "put": [13, 22, 42], "naiv": [13, 46], "mere": 13, "singular": 13, "pydanticundefin": 13, "serializ": [13, 30, 38, 44], "typing_extens": [13, 38, 39, 44], "rootmodelroottyp": 13, "probabl": 13, "sync": [13, 17, 21, 38], "from_orm": 13, "yourself": [13, 32, 33, 35, 38], "asyncio": [13, 17, 18, 23, 25, 32, 33, 41, 44], "o": [13, 17, 23, 33], "dure": 13, "from_attribut": 13, "launch": 14, "point": [14, 18, 21, 30, 33], "servic": [14, 21, 32, 33], "asgi": 14, "quart_app": [14, 25], "main": [14, 19, 32, 44, 47], "shell": [14, 25, 40, 47], "before_serv": 14, "after_serv": 14, "before_server_start": 15, "after_server_stop": 15, "assist": 17, "unit": 17, "testsometh": 17, "test_someth": 17, "test_something_async": 17, "test_skip": 17, "setup": 17, "b": 17, "With": [17, 38], "someapp": 17, "driven": 17, "On": [17, 21, 38, 39, 44], "tortoise_test_db": [17, 23], "tmp": [17, 21, 42], "127": [17, 18, 21, 25, 37], "test_": 17, "give": [17, 32, 38], "absolut": 17, "tortoise_test_modul": [17, 47], "comma": [17, 49], "furthermor": 17, "pytest": [17, 23], "5": [17, 18, 21, 39, 47], "stop": [17, 39], "conftest": 17, "fixtur": [17, 23, 41], "session": 17, "autous": 17, "initialize_test": 17, "addfin": 17, "least": 17, "testdb": 17, "methodnam": 17, "runtest": 17, "perfect": [17, 18], "randomis": 17, "destroi": 17, "everi": [17, 32, 36, 38, 44], "obvious": 17, "fresh": 17, "Will": [17, 18, 30, 38, 39, 43, 44], "signatur": 17, "assertlistsortequ": [17, 47], "list1": 17, "list2": 17, "msg": [17, 39], "ellipsi": 17, "sorted_kei": 17, "asyncsetup": [17, 47], "asyncteardown": [17, 47], "rollback": [17, 21, 37, 48], "finish": 17, "fast": 17, "slower": 17, "test_item": 17, "success": [17, 37], "unexpect": 17, "factori": 17, "p": [17, 24], "coroutin": 17, "mymodel": 17, "__name__": [17, 20, 21, 24, 25, 26, 27, 44], "connection_nam": [17, 18, 40, 44, 47, 48], "testsqlit": 17, "retriev": [17, 18, 42], "uncondition": 17, "unless": [17, 21, 38, 46], "aiomysql": 18, "form": [18, 30], "db_type": 18, "usernam": [18, 22, 23, 27, 38, 44], "param1": 18, "param2": 18, "special": [18, 29, 38, 39, 44, 47], "urllib": 18, "quote_plu": 18, "kx": 18, "jj5": 18, "25jj5": 18, "2fg": 18, "db_file": 18, "three": 18, "somedb": 18, "myuser": 18, "mypass": 18, "3306": [18, 21, 25, 37], "odbc": 18, "primarili": 18, "daemon": 18, "requires_limit": 18, "inline_com": 18, "supports_transact": 18, "support_for_upd": 18, "support_index_hint": 18, "support_update_limit_order_bi": 18, "defici": 18, "extern": [18, 44], "render": 18, "FOR": [18, 38, 39, 44], "embed": 18, "local": [18, 46], "logic": [18, 29, 46], "datatyp": [18, 38, 44], "although": [18, 21], "emul": [18, 21, 30], "precis": 18, "float": [18, 30, 49], "similarli": 18, "pragma": 18, "journal_mod": 18, "wal": 18, "journal": 18, "journal_size_limit": 18, "16384": 18, "foreign_kei": 18, "network": 18, "max_queri": 18, "50000": 18, "max_inactive_connection_lifetim": 18, "300": 18, "durat": 18, "inact": 18, "gone": [18, 25], "stale": 18, "sign": [18, 30], "connect_timeout": 18, "wait": [18, 44], "echo": 18, "odbcinst": 18, "ini": [18, 37], "locat": [18, 37], "j": 18, "unixodbc": 18, "10": [18, 21, 29, 38, 39, 47], "pool_recycl": 18, "recycl": 18, "timeout": 18, "second": [18, 21, 24, 39], "varchar": [18, 30], "russian": 18, "chines": 18, "nls_lang": 18, "utf8": 18, "american_america": 18, "cert": 18, "structur": [18, 24, 30, 47], "parser": [18, 34], "complex": [18, 21, 32, 33, 40, 47], "ctx": 18, "create_default_context": 18, "check_hostnam": 18, "verify_mod": 18, "cert_non": 18, "moo": [18, 21], "54321": 18, "fetch_insert": [18, 44], "mostli": [18, 44], "query_class": [18, 40, 44, 47], "executor_class": [18, 40, 44, 47], "baseexecutor": [18, 44], "executor": [18, 23, 44], "schema_gener": [18, 40, 44, 47], "acquire_connect": [18, 40, 44, 47], "acquir": [18, 44], "t_conn": [18, 44, 48], "poolconnectionwrapp": [18, 44], "with_db": [18, 44], "establish": [18, 30, 44], "db_creat": [18, 40, 44, 47], "db_delet": [18, 40, 44, 47], "execute_insert": [18, 40, 44, 47], "execut": [18, 21, 35, 38, 39, 44], "execute_mani": [18, 40, 44, 47], "resultset": [18, 39, 44], "execute_query_dict": [18, 21, 40, 44, 47], "verbatim": [18, 44], "semicolon": [18, 44], "By": [19, 39, 47], "enumer": [19, 30, 45, 47], "test_api": [19, 47], "__str__": [20, 21, 22, 25, 26, 27, 32, 38], "e0401": [20, 22, 23, 25, 26, 27], "e0611": [20, 22, 23, 25, 26, 27], "basicconfig": [20, 25, 26, 27], "list_al": [20, 25, 26, 27], "json_respons": 20, "add_us": [20, 25, 26, 27], "add_rout": 20, "run_app": 20, "5000": [20, 25, 26], "flat": [21, 39], "foreignkeyrel": [21, 24, 38, 39, 40, 47], "manytomanyrel": [21, 24, 30, 38, 39, 40, 47], "event_team": [21, 24, 32, 38], "tournament_with_filt": [21, 39], "tournament_with_filtered_to_attr": 21, "to_attr": [21, 39], "to_attr_events_first": 21, "to_attr_events_second": 21, "saved_ev": 21, "non_existent_t": 21, "bound_to_fal": 21, "sum": [21, 31, 40, 47], "desc": [21, 31, 39], "great": [21, 29, 49], "tournament_id": [21, 38], "append": [21, 32, 38, 39], "events_count": [21, 39], "events_count__gt": [21, 39], "events_count_with_filt": 21, "events_count_with_filter__gt": 21, "lowest_team_id": 21, "participants__id": 21, "tournament_test_id": 21, "tournament__id": 21, "clean_descript": 21, "trimmed_nam": 21, "name_len": 21, "name_len__gt": 21, "name_lo": 21, "avg": [21, 31, 40, 47], "author": 21, "book": 21, "rate": 21, "a1": 21, "author1": 21, "a2": 21, "author2": 21, "ret": 21, "author_id": 21, "count__gt": 21, "45": 21, "sum__gt": 21, "avg__gt": 21, "author__nam": 21, "get_schema_sql": [21, 40, 43, 47], "prize": [21, 38], "max_digit": [21, 30, 38], "decimal_plac": [21, 30, 38], "nmysql": 21, "npostgresql": 21, "disclaim": 21, "db_rout": 21, "example1": 21, "second_cli": 21, "second_tourna": 21, "event_first": 21, "event_second": 21, "team_first": 21, "team_second": 21, "id__in": [21, 39], "participants__not": 21, "events__tournament_id": 21, "events__nam": 21, "name__icontain": [21, 39], "con": [21, 39], "events__participants__name__startswith": 21, "fir": 21, "id__icontain": 21, "citi": [21, 24], "64": [21, 24, 30], "street": [21, 24], "128": [21, 23, 24, 30], "ondelet": [21, 24, 30, 40, 47], "santa": [21, 24], "monica": [21, 24], "ocean": [21, 24], "fetch_for_list": [21, 38, 40, 44, 47], "events__tournament__id": 21, "prod": [21, 32], "event_reload1": 21, "event_reload2": 21, "especi": 21, "school": 21, "student": 21, "princip": 21, "school1": 21, "student1": 21, "jeon1": 21, "school_id": 21, "student_school": 21, "school__nam": 21, "jeon2": 21, "school_with_filt": 21, "school_without_filt": 21, "school2": 21, "2048": 21, "students__nam": 21, "fetched_princip": 21, "jeon3": 21, "fetched_school": 21, "parent": [21, 23], "node": [21, 29], "children": [21, 29, 40, 47], "foreignfield": [21, 38], "employe": [21, 24], "foreignkeynullablerel": [21, 24, 39, 40, 47], "team_memb": [21, 24], "talks_to": [21, 24], "gets_talked_to": [21, 24], "full_hierarchy__async_for": 21, "demand": 21, "val": [21, 35], "full_hierarchy__fetch_rel": 21, "loos": [21, 24], "_1": [21, 24], "h1": [21, 24], "_2": [21, 24], "_1_1": [21, 24], "h2": [21, 24], "_1_1_1": [21, 24], "h3": [21, 24], "_2_1": [21, 24], "_2_2": [21, 24], "third": [21, 24], "root2": 21, "loose2": 21, "intenum": [21, 30], "python_program": 21, "database_design": 21, "system_administr": 21, "currenc": 21, "huf": 21, "eur": 21, "usd": 21, "enumfield": [21, 30], "obj0": 21, "valueerror": [21, 30, 38, 39, 44, 46], "xxx": 21, "post_delet": [21, 40, 45, 47], "post_sav": [21, 40, 45, 47], "pre_delet": [21, 40, 45, 47], "pre_sav": [21, 40, 45, 47], "signal_pre_sav": 21, "sender": [21, 40, 45, 47], "signal_post_sav": 21, "signal_pre_delet": 21, "signal_post_delet": 21, "signal_sav": 21, "normal": [21, 30, 38, 39], "INTO": 21, "foo": [21, 38, 42, 44], "bar": 21, "tconn": 21, "roll": 21, "sheep": 21, "entri": [21, 31], "write": [21, 29, 32, 33, 38, 42, 49], "db_for_read": [21, 42], "slave": [21, 42], "db_for_writ": [21, 42], "master": [21, 42], "uvicorn": [22, 23, 27], "reload": [22, 23], "userpydanticout": 22, "userout": 22, "userpydanticin": 22, "userin": 22, "v3": 22, "openapihandl": 22, "no_cont": 22, "ok": 22, "bind_app": 22, "users_list": 22, "users_cr": 22, "users_patch": 22, "users_put": 22, "users_delet": 22, "family_nam": 23, "categori": [23, 29], "misc": 23, "password_hash": 23, "modified_at": [23, 38], "full_nam": 23, "strip": 23, "mypi": 23, "disallow": 23, "untyp": 23, "multiprocess": 23, "processpoolexecutor": 23, "contextlib": 23, "asynccontextmanag": 23, "pathlib": 23, "asyncgener": 23, "anyio": 23, "pytz": 23, "asgi_lifespan": 23, "lifespanmanag": 23, "httpx": 23, "asgitransport": 23, "asynccli": 23, "memory_sqlit": 23, "json_load": 23, "register_orm": 23, "main_custom_timezon": 23, "app_east": 23, "user_pydant": 23, "importerror": 23, "cwd": 23, "__file__": 23, "dirpath": 23, "relative_to": 23, "nexport": 23, "pythonpath": 23, "clientmanagertyp": 23, "anyio_backend": 23, "client_manag": 23, "base_url": 23, "kw": 23, "transport": 23, "yield": 23, "client_east": 23, "usertest": 23, "create_us": 23, "async_cli": 23, "admin": 23, "status_cod": [23, 27], "200": 23, "user_id": 23, "user_obj": 23, "user_list": 23, "utc_now": 23, "isinst": 23, "testus": 23, "test_create_us": 23, "nosec": [23, 25], "test_user_list": 23, "testusereast": 23, "asia": 23, "shanghai": 23, "delta_hour": 23, "test_create_user_east": 23, "verifi": 23, "zone": [23, 46], "asia_tz": 23, "asia_now": 23, "astimezon": 23, "hour": [23, 39], "utc_tz": 23, "24": [23, 47], "query_without_app": 23, "id__gt": 23, "test_query_without_app": 23, "set_start_method": 23, "spawn": 23, "max_work": 23, "users_rout": 23, "generate_config": 23, "lifespan_test": 23, "getenv": 23, "app_modul": 23, "connection_label": 23, "_drop_databas": 23, "getattr": 23, "_": [23, 27, 35, 37, 47], "include_rout": 23, "prefix": [23, 39], "onetoonenullablerel": [24, 39, 40, 47], "event_pydantic_list": 24, "team_pydant": 24, "schema_json": 24, "indent": 24, "tournament2": 24, "empti": [24, 32, 43, 44], "event2": 24, "testlast": 24, "event3": 24, "test2": 24, "somewher": 24, "lane": 24, "team1": 24, "onesi": 24, "team2": 24, "shirt": 24, "team3": 24, "altern": 24, "pl": 24, "address__event_id__isnul": 24, "event_tooearli": 24, "nrelat": 24, "present": [24, 38, 44], "team_siz": 24, "not_annot": 24, "never": [24, 28, 36, 38, 39, 44], "notimplementederror": 24, "max_recurs": 24, "employee_pydant": 24, "iso8601": 24, "tournament_pydantic_earli": 24, "statu": [25, 27, 36], "choic": [25, 37], "jsonifi": 25, "status": 25, "gather": 25, "add_work": 25, "jsondecodeerror": 27, "httpexcept": 27, "jsonrespons": 27, "http_201_creat": 27, "http_400_bad_request": 27, "payload": 27, "cannot": 27, "baseormexcept": [28, 40, 47], "dbconnectionerror": [28, 40, 47], "connectionerror": 28, "occur": [28, 33, 48], "notexistormultipl": [28, 40, 47], "fielderror": [28, 39, 40, 47], "exactli": [28, 38, 39], "pk_name": 28, "pk_val": 28, "transactionmanagementerror": [28, 38, 40, 44, 47], "unsupportederror": [28, 40, 47], "validationerror": [28, 30, 40, 47, 49], "sometim": [29, 39], "complic": 29, "AND": [29, 38, 40, 44, 47], "luckili": 29, "spice": 29, "thing": [29, 47], "These": [29, 30], "extrem": [29, 32], "versatil": 29, "invert": 29, "combin": [29, 39], "multilay": 29, "bitwis": 29, "unfamiliar": 29, "found_ev": 29, "equival": [29, 38, 44], "join_typ": [29, 40, 47], "omit": [29, 46], "nop": 29, "claus": [29, 38], "not_third_ev": 29, "compos": [29, 33], "inner": [29, 30], "encapsul": 29, "__and__": [29, 40, 47], "__invert__": [29, 40, 47], "__or__": [29, 40, 47], "sub": [29, 41], "made": 29, "filterinfodict": 29, "resolve_context": [29, 31], "chain": [29, 38], "track": [29, 31, 33, 39], "virtual": [29, 30, 31, 38, 39], "querymodifi": 29, "balanc": 29, "award": 29, "refresh": [29, 38, 44], "idp": 29, "t1": 29, "classic": 29, "THEN": 29, "criterion": 29, "intmodel": 29, "intnum__gt": 29, "intnum__lt": 29, "middl": 29, "autogener": 30, "itself": [30, 39], "reliabl": 30, "has_db_field": 30, "skip_to_python_if_n": 30, "convers": [30, 38, 44], "allows_gener": 30, "function_cast": 30, "sql_type": 30, "generated_sql": 30, "to_python_valu": 30, "_db__": 30, "sql_dialect": 30, "_db_sqlite": 30, "40": [30, 38], "sqltype": 30, "jsonschema": 30, "db_column": 30, "raw_field": 30, "db_field_typ": 30, "python_typ": 30, "coerc": 30, "get_db_field_typ": 30, "get_for_dialect": 30, "metacod": 30, "hasattr": 30, "_saved_in_db": 30, "NO": 30, "restrict": [30, 38], "set_default": 30, "set_nul": 30, "strenum": [30, 40, 47], "bit": 30, "enum_typ": 30, "warn": 30, "equal": [30, 36, 39], "multilin": 30, "pair": 30, "exclus": 30, "opt": 30, "neither": 30, "ONE": 30, "digit": 30, "32": 30, "lambda": [30, 44], "compliant": 30, "friendli": 30, "leav": 30, "16": [30, 47], "model_nam": [30, 32], "foreignkeyfieldinst": [30, 39], "control": [30, 35], "almost": [30, 33], "certainli": 30, "forward_kei": 30, "backward_kei": 30, "onetoonefieldinst": [30, 39], "arbitrari": [30, 41], "wrapper": 30, "extens": 30, "issubclass": 30, "_enum_typ": 30, "superclass": 30, "natur": [30, 38], "somemodel": [31, 38], "clean_desc": 31, "default_valu": 31, "whitespac": 31, "edg": 31, "field_nam": [31, 38, 39, 44], "blob": 31, "constant": 31, "Be": [31, 39], "another_field_nam": 31, "constant_text": 31, "seed": 31, "entir": [31, 33, 38, 39, 44], "sens": [31, 39], "largest": [31, 33], "smallest": 31, "averag": 31, "database_func": [31, 40, 47], "populate_field_object": [31, 40, 47], "resolveresult": 31, "is_distinct": 31, "truncmonth": 31, "jsonextract": 31, "customfunct": 31, "date_format": 31, "dt_format": 31, "task": 31, "y": [31, 35], "m": [31, 35], "suitabl": 31, "pupikafunct": 31, "jsonset": 31, "pypikajsonset": 31, "json_set": 31, "data_default": 31, "apart": 32, "librari": [32, 44, 46], "serd": 32, "uvloop": 32, "shown": 32, "ciso8601": 32, "lack": 32, "linux": 32, "entiti": [32, 33, 39], "haven": 32, "pretti": 32, "debugg": 32, "interpret": [32, 44], "app_nam": 32, "shouldn": [32, 44], "mayb": [32, 44], "quit": 32, "straightforward": 32, "packag": 32, "kind": 32, "preemptiv": 32, "selected_ev": 32, "depth": [32, 39], "events__tourna": [32, 39], "littl": [32, 38], "mapper": 33, "inspir": [33, 46], "django": [33, 38, 46], "admir": 33, "excel": 33, "popular": 33, "engrav": 33, "design": [33, 46], "young": [33, 38], "break": [33, 38, 47], "changelog": [33, 47], "breakag": 33, "tracker": 33, "matur": [33, 41], "unfortun": 33, "oppos": 33, "paradigm": 33, "technologi": 33, "synchron": 33, "world": [33, 39], "migrat": [33, 40, 41, 47], "wish": 33, "switch": 33, "compar": 33, "trade": 33, "poni": 33, "even": [33, 49], "builder": [33, 41], "slightli": [33, 41], "idea": 33, "rule": [33, 39], "wors": 33, "central": 33, "immun": 33, "tour": 33, "name__contain": 33, "btree": 34, "full_text": 34, "geometri": 34, "ngram": 34, "found": [34, 38, 39, 44], "index_typ": 34, "fulltext": 34, "WITH": 34, "postgresindex": 34, "postgresqlindex": 34, "bloom": 34, "fmt": 35, "formatt": 35, "asctim": 35, "lineno": 35, "levelnam": 35, "datefmt": 35, "sh": 35, "streamhandl": 35, "sy": 35, "setlevel": 35, "setformatt": 35, "logger_db_cli": 35, "getlogg": 35, "addhandl": 35, "logger_tortois": 35, "color": 35, "pygment": 35, "highlight": 35, "termin": 35, "terminalformatt": 35, "lexer": 35, "postgreslex": 35, "terminal_formatt": 35, "pygmentsformatt": 35, "logrecord": 35, "slq": 35, "own_record": 35, "__dict__": 35, "startswith": [35, 39], "getmessag": 35, "formattim": 35, "rstrip": 35, "statusmanag": 36, "get_queryset": 36, "managermodel": 36, "all_object": 36, "compli": 36, "m1": 36, "m2": 36, "assertequ": 36, "assertisnon": 36, "assertisnotnon": 36, "123456": 37, "other_model": 37, "drop_column": 37, "1_202029051520102929_drop_column": 37, "filenam": 37, "version_num": 37, "guess": 37, "ask": 37, "old_column": 37, "new_column": 37, "mysql8": 37, "accomplish": 38, "deriv": 38, "abstracttourna": 38, "repetit": 38, "timestampmixin": 38, "namemixin": 38, "myabstractbasemodel": 38, "usermodel": 38, "first_nam": 38, "rolemodel": 38, "role": 38, "But": 38, "habit": 38, "custom_t": [38, 44], "field_a": [38, 44], "field_b": [38, 44], "fine": 38, "field_c": 38, "field_d": 38, "field_": 38, "receiv": 38, "score": 38, "custommanag": 38, "got": 38, "u": 38, "liter": [38, 39], "fkname": 38, "_id": 38, "the_tourna": 38, "underscor": [38, 39], "__": 38, "__gt": 38, "foreignfk": 38, "veryforeignfield": 38, "isnul": [38, 39], "__isnul": 38, "_id__isnul": 38, "eventlen": 38, "someev": 38, "firstev": 38, "participantlen": 38, "someparticip": 38, "firstparticip": 38, "widespread": 38, "variou": 38, "few": 38, "ignore_conflict": [38, 39, 44], "on_conflict": [38, 39, 44], "bulkcreatequeri": [38, 39, 40, 44, 47], "name1": [38, 44], "name2": [38, 44], "bulkupdatequeri": [38, 39, 40, 44, 47], "fix": [38, 44, 47], "qualifi": [38, 44], "fk_field": [38, 44], "backward_fk_field": [38, 44], "TO": [38, 44], "o2o_field": [38, 44], "backward_o2o_field": [38, 44], "m2m_field": [38, 39, 44], "ed": [38, 44], "existsqueri": [38, 39, 40, 44, 47], "instance_list": [38, 44], "unspecifi": [38, 44], "id_list": [38, 39, 44], "rawsqlqueri": [38, 39, 40, 44, 47], "register_listen": [38, 40, 44, 47], "listen": [38, 44], "lock": [38, 39, 44], "approach": 39, "predefin": 39, "__getitem__": [39, 40, 47], "step": 39, "greater": [39, 49], "whole": 39, "essenti": 39, "op": 39, "typeerror": 39, "manner": 39, "matter": [39, 46], "meet": [39, 49], "countqueri": [39, 40, 47], "deletequeri": [39, 40, 47], "ascend": 39, "unknown": 39, "whose": 39, "meant": 39, "interact": [39, 40, 47], "vari": 39, "greatli": 39, "events__tournament__nam": 39, "index_list": 39, "scan": 39, "expens": 39, "recent": 39, "descend": 39, "fields_for_select": 39, "resolve_filt": [39, 40, 47], "resolve_ord": [39, 40, 47], "params_inlin": 39, "placehold": 39, "inlin": 39, "updatequeri": [39, 40, 47], "_db": 39, "name_in_dict": 39, "valuesqueri": [39, 40, 47], "fields_": 39, "scalar": 39, "q_object": 39, "custom_filt": 39, "fieldselectqueri": [39, 40, 47], "update_kwarg": 39, "raise_does_not_exist": 39, "fields_for_select_list": 39, "hit": 39, "scenario": 39, "name__startswith": 39, "fifa": 39, "junior": 39, "cup": 39, "events__id__in": 39, "event__participants__name__icontain": 39, "tournament_list": 39, "events__particip": 39, "produc": 39, "crucial": 39, "tournament_nam": 39, "clean_nam": 39, "name_upp": 39, "name_low": 39, "desc_clean": 39, "remote_model": 39, "relation_field": 39, "from_field": 39, "participant_1": 39, "participant_2": 39, "desir": 39, "not_in": 39, "gte": 39, "gt": 39, "lte": 39, "lt": 39, "not_isnul": 39, "substr": 39, "icontain": 39, "istartswith": 39, "endswith": 39, "iendswith": 39, "datepart": 39, "year": 39, "quarter": 39, "month": 39, "week": 39, "dai": 39, "minut": 39, "microsecond": 39, "created_at__year": 39, "created_at__month": 39, "12": [39, 47], "created_at__dai": 39, "jsonmodel": 39, "msg2": 39, "data__contain": 39, "data__contained_bi": 39, "breed": 39, "labrador": 39, "owner": 39, "bobi": 39, "other_pet": 39, "fishi": 39, "obj1": 39, "data__filt": 39, "obj2": 39, "owner__nam": 39, "obj3": 39, "owner__other_pets__0__nam": 39, "obj4": 39, "breed__not": 39, "obj5": 39, "owner__name__isnul": 39, "obj6": 39, "owner__last__not_isnul": 39, "postgres_posix_regex": 39, "regexp": 39, "certain": 39, "achiev": 39, "view": 39, "attach": 39, "specialis": 39, "resolve_for_queryset": [39, 40, 47], "certif": [40, 47], "extend": [40, 47], "introduct": [40, 47], "get_default_timezon": [40, 46, 47], "get_timezon": [40, 46, 47], "get_use_tz": [40, 46, 47], "is_awar": [40, 46, 47], "is_naiv": [40, 46, 47], "localtim": [40, 46, 47], "make_awar": [40, 46, 47], "generate_schema_for_cli": [40, 43, 47], "downgrad": [40, 47], "histori": [40, 47], "head": [40, 47], "commaseparatedintegerlistvalid": [40, 47, 49], "maxlengthvalid": [40, 47, 49], "minlengthvalid": [40, 47, 49], "numericvalid": [40, 47, 49], "regexvalid": [40, 47, 49], "__call__": [40, 47, 49], "validate_ipv46_address": [40, 47, 49], "validate_ipv4_address": [40, 47, 49], "validate_ipv6_address": [40, 47, 49], "tortoisecli": [40, 47], "goal": 41, "ship": 41, "mvp": 41, "somewhat": 41, "involv": 41, "particular": 41, "possibli": 41, "mysqlclient": 41, "cython": 41, "expand": 41, "inspect": 41, "cross": 41, "solut": 41, "cockroachdb": 41, "firebird": 41, "hypothesi": 41, "strategi": 41, "becom": 41, "facto": 41, "easiest": 42, "scheme": 42, "remain": 42, "sticki": 42, "fall": 42, "pop": 42, "accord": [43, 44], "workflow": [43, 44], "said": 44, "cleanli": 44, "die": 44, "deprec": [44, 47], "my_app": 44, "router1": 44, "router2": 44, "tri": 44, "lowercas": 44, "prefix_": 44, "_init_rel": 44, "four": 45, "dbm": 46, "timestamptz": 46, "timetz": 46, "tzinfo": 46, "concept": 46, "is_dst": 46, "why": 47, "familiar": 47, "pluggabl": 47, "22": 47, "21": 47, "7": 47, "2024": 47, "08": 47, "17": 47, "07": 47, "18": 47, "06": 47, "01": 47, "05": 47, "25": 47, "19": 47, "15": 47, "13": 47, "secur": 47, "bugfix": 47, "retract": 47, "older": 47, "roadmap": 47, "mid": 47, "pledg": 47, "chat": 47, "guidelin": 47, "suit": 47, "thank": 47, "transactioncontext": 48, "criteria": 49, "validatormodel": 49, "abc": 49, "ccc": 49, "abcd": 49, "allow_neg": 49, "max_valu": 49, "min_length": 49, "min_valu": 49, "ipv4address": 49, "ipv6address": 49, "evennumbervalid": 49, "validate_even_numb": 49}, "objects": {"": [[44, 0, 0, 1, "tortoise", ""]], "tortoise": [[44, 1, 1, 0, "BaseDBAsyncClient", "Base class for containing a DB connection."], [44, 1, 1, 0, "Model", "Base class for all Tortoise ORM Models."], [44, 1, 1, 0, "Tortoise", "Close all connections cleanly."], [5, 0, 0, 1, "connection", ""], [28, 0, 0, 1, "exceptions", ""], [29, 0, 0, 1, "expressions", ""], [31, 0, 0, 1, "functions", ""], [38, 0, 0, 1, "models", ""], [39, 0, 0, 1, "queryset", ""], [45, 0, 0, 1, "signals", ""], [46, 0, 0, 1, "timezone", ""], [48, 0, 0, 1, "transactions", ""], [43, 0, 0, 1, "utils", ""], [49, 0, 0, 1, "validators", ""]], "tortoise.BaseDBAsyncClient": [[44, 2, 1, 0, "acquire_connection", "Acquires a connection from the pool. Will return the current context connection if already in a transaction."], [44, 3, 1, "id0", "capabilities", "Contains the connection capabilities"], [44, 2, 1, 0, "close", "Closes the DB connection."], [44, 2, 1, 0, "create_connection", "Establish a DB connection."], [44, 2, 1, 0, "db_create", "Created the database in the server. Typically only called by the test runner."], [44, 2, 1, 0, "db_delete", "Delete the database from the Server. Typically only called by the test runner."], [44, 2, 1, 0, "execute_insert", "Executes a RAW SQL insert statement, with provided parameters."], [44, 2, 1, 0, "execute_many", "Executes a RAW bulk insert statement, like execute_insert, but returns no data."], [44, 2, 1, 0, "execute_query", "Executes a RAW SQL query statement, and returns the resultset."], [44, 2, 1, 0, "execute_query_dict", "Executes a RAW SQL query statement, and returns the resultset as a list of dicts."], [44, 2, 1, 0, "execute_script", "Executes a RAW SQL script with multiple statements, and returns nothing."], [44, 3, 1, "id2", "executor_class", "alias of BaseExecutor"], [44, 3, 1, "id3", "query_class", "alias of Query"], [44, 3, 1, "id4", "schema_generator", "alias of BaseSchemaGenerator"]], "tortoise.BaseDBAsyncClient.create_connection": [[44, 4, 2, 0, "with_db", "If True, then select the DB to use, else use default. Use case for this is to create/drop a database."]], "tortoise.BaseDBAsyncClient.execute_insert": [[44, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [44, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.BaseDBAsyncClient.execute_many": [[44, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [44, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.BaseDBAsyncClient.execute_query": [[44, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [44, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.BaseDBAsyncClient.execute_query_dict": [[44, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [44, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.BaseDBAsyncClient.execute_script": [[44, 4, 2, 0, "query", "The SQL string, which will be passed on verbatim. Semicolons is supported here."]], "tortoise.Model": [[44, 1, 1, 0, "Meta", "The Meta class is used to configure metadata for the Model."], [44, 2, 1, 0, "all", "Returns the complete QuerySet."], [44, 2, 1, 0, "annotate", "Annotates the result set with extra Functions/Aggregations/Expressions."], [44, 2, 1, 0, "bulk_create", "Bulk insert operation:"], [44, 2, 1, 0, "bulk_update", "Update the given fields in each of the given objects in the database. This method efficiently updates the given fields on the provided model instances, generally with one query."], [44, 2, 1, 0, "clone", "Create a new clone of the object that when you do a .save() will create a new record."], [44, 2, 1, 0, "create", "Create a record in the DB and returns the object."], [44, 2, 1, 0, "delete", "Deletes the current model object."], [44, 2, 1, 0, "describe", "Describes the given list of models or ALL registered models."], [44, 2, 1, 0, "earliest", "Generates a QuerySet with the filter applied that returns the first record."], [44, 2, 1, 0, "exclude", "Generates a QuerySet with the exclude applied."], [44, 2, 1, 0, "exists", "Return True/False whether record exists with the provided filter parameters."], [44, 2, 1, 0, "fetch_for_list", "Fetches related models for provided list of Model objects."], [44, 2, 1, 0, "fetch_related", "Fetch related fields."], [44, 2, 1, 0, "filter", "Generates a QuerySet with the filter applied."], [44, 2, 1, 0, "first", "Generates a QuerySet that returns the first record."], [44, 2, 1, 0, "get", "Fetches a single record for a Model type using the provided filter parameters."], [44, 2, 1, 0, "get_or_create", "Fetches the object if exists (filtering on the provided parameters), else creates an instance with any unspecified parameters as default values."], [44, 2, 1, 0, "get_or_none", "Fetches a single record for a Model type using the provided filter parameters or None."], [44, 2, 1, 0, "in_bulk", "Return a dictionary mapping each of the given IDs to the object with that ID. If id_list isn't provided, evaluate the entire QuerySet."], [44, 2, 1, 0, "last", "Generates a QuerySet that returns the last record."], [44, 2, 1, 0, "latest", "Generates a QuerySet with the filter applied that returns the last record."], [44, 5, 1, 0, "pk", "Alias to the models Primary Key. Can be used as a field name when doing filtering e.g. .filter(pk=...) etc..."], [44, 2, 1, 0, "raw", "Executes a RAW SQL and returns the result"], [44, 2, 1, 0, "refresh_from_db", "Refresh latest data from db. When this method is called without arguments all db fields of the model are updated to the values currently present in the database."], [44, 2, 1, 0, "register_listener", "Register listener to current model class for special Signal."], [44, 2, 1, 0, "save", "Creates/Updates the current model object."], [44, 2, 1, 0, "select_for_update", "Make QuerySet select for update."], [44, 2, 1, 0, "update_from_dict", "Updates the current model with the provided dict. This can allow mass-updating a model from a dict, also ensuring that datatype conversions happen."], [44, 2, 1, 0, "update_or_create", "A convenience method for updating an object with the given kwargs, creating a new one if necessary."]], "tortoise.Model.annotate": [[44, 4, 2, 0, "kwargs", "Parameter name and the Function/Aggregation to annotate with."]], "tortoise.Model.bulk_create": [[44, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [44, 4, 2, 0, "ignore_conflicts", "Ignore conflicts when inserting"], [44, 4, 2, 0, "objects", "List of objects to bulk create"], [44, 4, 2, 0, "on_conflict", "On conflict index name"], [44, 4, 2, 0, "update_fields", "Update fields when conflicts"], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.bulk_update": [[44, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [44, 4, 2, 0, "fields", "The fields to update"], [44, 4, 2, 0, "objects", "List of objects to bulk create"], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.create": [[44, 4, 2, 0, "kwargs", "Model parameters."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.delete": [[44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.describe": [[44, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.Model.exclude": [[44, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [44, 4, 2, 0, "kwargs", "Simple filter constraints."]], "tortoise.Model.exists": [[44, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [44, 4, 2, 0, "kwargs", "Simple filter constraints."], [44, 4, 2, 0, "using_db", "The specific DB connection to use."]], "tortoise.Model.fetch_for_list": [[44, 4, 2, 0, "args", "Relation names to fetch."], [44, 4, 2, 0, "instance_list", "List of Model objects to fetch relations for."], [44, 4, 2, 0, "using_db", "DO NOT USE"]], "tortoise.Model.fetch_related": [[44, 4, 2, 0, "args", "The related fields that should be fetched."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.filter": [[44, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [44, 4, 2, 0, "kwargs", "Simple filter constraints."]], "tortoise.Model.get": [[44, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [44, 4, 2, 0, "kwargs", "Simple filter constraints."], [44, 4, 2, 0, "using_db", "The DB connection to use"]], "tortoise.Model.get_or_create": [[44, 4, 2, 0, "defaults", "Default values to be added to a created instance if it can't be fetched."], [44, 4, 2, 0, "kwargs", "Query parameters."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.get_or_none": [[44, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [44, 4, 2, 0, "kwargs", "Simple filter constraints."], [44, 4, 2, 0, "using_db", "The specific DB connection to use."]], "tortoise.Model.in_bulk": [[44, 4, 2, 0, "field_name", "Must be a unique field"], [44, 4, 2, 0, "id_list", "A list of field values"], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.raw": [[44, 4, 2, 0, "sql", "The raw sql."], [44, 4, 2, 0, "using_db", "The specific DB connection to use"]], "tortoise.Model.refresh_from_db": [[44, 4, 2, 0, "fields", "The special fields that to be refreshed."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound."]], "tortoise.Model.register_listener": [[44, 4, 2, 0, "listener", "callable listener"], [44, 4, 2, 0, "signal", "one of tortoise.signals.Signals"]], "tortoise.Model.save": [[44, 4, 2, 0, "force_create", "Forces creation of the record"], [44, 4, 2, 0, "force_update", "Forces updating of the record"], [44, 4, 2, 0, "update_fields", "If provided, it should be a tuple/list of fields by name."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Model.update_from_dict": [[44, 4, 2, 0, "data", "The parameters you want to update in a dict format"]], "tortoise.Model.update_or_create": [[44, 4, 2, 0, "defaults", "Default values used to update the object."], [44, 4, 2, 0, "kwargs", "Query parameters."], [44, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.Tortoise": [[44, 3, 1, 0, "apps", ""], [44, 2, 1, 0, "close_connections", "Close all connections cleanly."], [44, 2, 1, 0, "describe_model", "Describes the given list of models or ALL registered models."], [44, 2, 1, 0, "describe_models", "Describes the given list of models or ALL registered models."], [44, 2, 1, 0, "generate_schemas", "Generate schemas according to models provided to .init() method. Will fail if schemas already exists, so it's not recommended to be used as part of application workflow"], [44, 2, 1, 0, "get_connection", "Returns the connection by name."], [44, 2, 1, 0, "init", "Sets up Tortoise-ORM."], [44, 2, 1, 0, "init_models", "Early initialisation of Tortoise ORM Models."], [44, 3, 1, 0, "table_name_generator", ""]], "tortoise.Tortoise.describe_model": [[44, 4, 2, 0, "model", "The Model to describe"], [44, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.Tortoise.describe_models": [[44, 4, 2, 0, "models", "List of models to describe, if not provided then describes ALL registered models"], [44, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.Tortoise.generate_schemas": [[44, 4, 2, 0, "safe", "When set to true, creates the table only when it does not already exist."]], "tortoise.Tortoise.init": [[44, 4, 2, 0, "_create_db", "If True tries to create database for specified connections, could be used for testing purposes."], [44, 4, 2, 0, "config", "Dict containing config:"], [44, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [44, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [44, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."], [44, 4, 2, 0, "routers", "A list of db routers str path or module."], [44, 4, 2, 0, "table_name_generator", "A callable that generates table names. The model class will be passed as its argument. If not provided, Tortoise will use the lowercase model name as the table name. Example: lambda cls: f\"prefix_{cls.__name__.lower()}\""], [44, 4, 2, 0, "timezone", "Timezone to use, default is UTC."], [44, 4, 2, 0, "use_tz", "A boolean that specifies if datetime will be timezone-aware by default or not."]], "tortoise.Tortoise.init_models": [[44, 4, 2, 0, "_init_relations", "Whether to init relations or not"], [44, 4, 2, 0, "app_label", "The app label, e.g. 'models'"], [44, 4, 2, 0, "models_paths", "Models paths to initialise"]], "tortoise.backends.base": [[18, 0, 0, 1, "client", ""]], "tortoise.backends.base.client": [[18, 1, 1, 0, "BaseDBAsyncClient", "Base class for containing a DB connection."], [18, 1, 1, 0, "Capabilities", "DB Client Capabilities indicates the supported feature-set, and is also used to note common workarounds to deficiencies."]], "tortoise.backends.base.client.BaseDBAsyncClient": [[18, 2, 1, 0, "acquire_connection", "Acquires a connection from the pool. Will return the current context connection if already in a transaction."], [18, 3, 1, 0, "capabilities", "Contains the connection capabilities"], [18, 2, 1, 0, "close", "Closes the DB connection."], [18, 2, 1, 0, "create_connection", "Establish a DB connection."], [18, 2, 1, 0, "db_create", "Created the database in the server. Typically only called by the test runner."], [18, 2, 1, 0, "db_delete", "Delete the database from the Server. Typically only called by the test runner."], [18, 2, 1, 0, "execute_insert", "Executes a RAW SQL insert statement, with provided parameters."], [18, 2, 1, 0, "execute_many", "Executes a RAW bulk insert statement, like execute_insert, but returns no data."], [18, 2, 1, 0, "execute_query", "Executes a RAW SQL query statement, and returns the resultset."], [18, 2, 1, 0, "execute_query_dict", "Executes a RAW SQL query statement, and returns the resultset as a list of dicts."], [18, 2, 1, 0, "execute_script", "Executes a RAW SQL script with multiple statements, and returns nothing."], [18, 3, 1, 0, "executor_class", "The executor dialect class (high level dialect)"], [18, 3, 1, 0, "query_class", "The PyPika Query dialect (low level dialect)"], [18, 3, 1, 0, "schema_generator", "The DDL schema generator"]], "tortoise.backends.base.client.BaseDBAsyncClient.create_connection": [[18, 4, 2, 0, "with_db", "If True, then select the DB to use, else use default. Use case for this is to create/drop a database."]], "tortoise.backends.base.client.BaseDBAsyncClient.execute_insert": [[18, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [18, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.backends.base.client.BaseDBAsyncClient.execute_many": [[18, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [18, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.backends.base.client.BaseDBAsyncClient.execute_query": [[18, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [18, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.backends.base.client.BaseDBAsyncClient.execute_query_dict": [[18, 4, 2, 0, "query", "The SQL string, pre-parametrized for the target DB dialect."], [18, 4, 2, 0, "values", "A sequence of positional DB parameters."]], "tortoise.backends.base.client.BaseDBAsyncClient.execute_script": [[18, 4, 2, 0, "query", "The SQL string, which will be passed on verbatim. Semicolons is supported here."]], "tortoise.backends.base.client.Capabilities.__init__": [[18, 4, 2, 0, "daemon", "Is the DB an external Daemon we connect to?"], [18, 4, 2, 0, "dialect", "Dialect name of the DB Client driver."], [18, 4, 2, 0, "inline_comment", "Indicates that comments should be rendered in line with the DDL statement, and not as a separate statement."], [18, 4, 2, 0, "requires_limit", "Indicates that this DB requires a LIMIT statement for an OFFSET statement to work."], [18, 4, 2, 0, "support_for_update", "Indicates that this DB supports SELECT ... FOR UPDATE SQL statement."], [18, 4, 2, 0, "support_index_hint", "Support force index or use index."], [18, 4, 2, 0, "support_update_limit_order_by", "support update/delete with limit and order by."], [18, 4, 2, 0, "supports_transactions", "Indicates that this DB supports transactions."]], "tortoise.connection": [[5, 1, 1, 0, "ConnectionHandler", "Returns a list of connection objects from the storage in the current context."]], "tortoise.connection.ConnectionHandler": [[5, 2, 1, 0, "all", "Returns a list of connection objects from the storage in the current context."], [5, 2, 1, 0, "close_all", "Closes all connections in the storage in the current context."], [5, 5, 1, 0, "db_config", "Return the DB config."], [5, 2, 1, 0, "discard", "Discards the given alias from the storage in the current context."], [5, 2, 1, 0, "get", "Return the connection object for the given alias, creating it if needed."], [5, 2, 1, 0, "reset", "Reset the underlying storage to the previous context state."], [5, 2, 1, 0, "set", "Sets the given alias to the provided connection object."]], "tortoise.connection.ConnectionHandler.close_all": [[5, 4, 2, 0, "discard", "If False, all connection objects are closed but retained in the storage."]], "tortoise.connection.ConnectionHandler.discard": [[5, 4, 2, 0, "conn_alias", "The alias for which the connection object should be discarded."]], "tortoise.connection.ConnectionHandler.get": [[5, 4, 2, 0, "conn_alias", "The alias for which the connection has to be fetched"]], "tortoise.connection.ConnectionHandler.reset": [[5, 4, 2, 0, "token", "The token corresponding to the context to which the storage state has to be reset. Typically, this token is obtained by calling the set method of this class."]], "tortoise.connection.ConnectionHandler.set": [[5, 4, 2, 0, "conn_alias", "The alias to set the connection for."], [5, 4, 2, 0, "conn_obj", "The connection object that needs to be set for this alias."]], "tortoise.contrib": [[7, 0, 0, 1, "aiohttp", ""], [8, 0, 0, 1, "blacksheep", ""], [9, 0, 0, 1, "fastapi", ""], [14, 0, 0, 1, "quart", ""], [15, 0, 0, 1, "sanic", ""], [16, 0, 0, 1, "starlette", ""], [17, 0, 0, 1, "test", ""]], "tortoise.contrib.aiohttp": [[7, 6, 1, 0, "register_tortoise", "Registers on_startup and on_shutdown hooks to set-up and tear-down Tortoise-ORM inside a Aiohttp webserver."]], "tortoise.contrib.aiohttp.register_tortoise": [[7, 4, 2, 0, "app", "Aiohttp app."], [7, 4, 2, 0, "config", "Dict containing config:"], [7, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [7, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [7, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [7, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.blacksheep": [[8, 6, 1, 0, "register_tortoise", "Registers startup and shutdown events to set-up and tear-down Tortoise-ORM inside a BlackSheep application."]], "tortoise.contrib.blacksheep.register_tortoise": [[8, 4, 2, 0, "add_exception_handlers", "True to add some automatic exception handlers for DoesNotExist & IntegrityError. This is not recommended for production systems as it may leak data."], [8, 4, 2, 0, "app", "BlackSheep app."], [8, 4, 2, 0, "config", "Dict containing config:"], [8, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [8, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [8, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [8, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.fastapi": [[9, 1, 1, 0, "HTTPNotFoundError", "Bases: BaseModel"], [9, 1, 1, 0, "RegisterTortoise", "Bases: AbstractAsyncContextManager"], [9, 6, 1, 0, "register_tortoise", "Registers startup and shutdown events to set-up and tear-down Tortoise-ORM inside a FastAPI application."]], "tortoise.contrib.fastapi.HTTPNotFoundError": [[9, 3, 1, 0, "detail", ""], [9, 3, 1, 0, "model_computed_fields", "A dictionary of computed field names and their corresponding ComputedFieldInfo objects."], [9, 3, 1, 0, "model_config", "Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]."], [9, 3, 1, 0, "model_fields", "Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects."]], "tortoise.contrib.fastapi.RegisterTortoise.__init__": [[9, 4, 2, 0, "add_exception_handlers", "True to add some automatic exception handlers for DoesNotExist & IntegrityError. This is not recommended for production systems as it may leak data."], [9, 4, 2, 0, "app", "FastAPI app."], [9, 4, 2, 0, "config", "Dict containing config:"], [9, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [9, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [9, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [9, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."], [9, 4, 2, 0, "timezone", "Timezone to use, default is UTC."], [9, 4, 2, 0, "use_tz", "A boolean that specifies if datetime will be timezone-aware by default or not."]], "tortoise.contrib.fastapi.RegisterTortoise": [[9, 2, 1, 0, "close_orm", "None"], [9, 2, 1, 0, "init_orm", "None"]], "tortoise.contrib.fastapi.register_tortoise": [[9, 4, 2, 0, "add_exception_handlers", "True to add some automatic exception handlers for DoesNotExist & IntegrityError. This is not recommended for production systems as it may leak data."], [9, 4, 2, 0, "app", "FastAPI app."], [9, 4, 2, 0, "config", "Dict containing config:"], [9, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [9, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [9, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [9, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.mysql": [[30, 0, 0, 1, "fields", ""]], "tortoise.contrib.mysql.fields": [[30, 1, 1, 0, "GeometryField", ""], [30, 1, 1, 0, "UUIDField", "UUID Field"]], "tortoise.contrib.mysql.fields.UUIDField": [[30, 2, 1, 0, "to_db_value", "Converts from the Python type to the DB type."], [30, 2, 1, 0, "to_python_value", "Converts from the DB type to the Python type."]], "tortoise.contrib.mysql.fields.UUIDField.to_db_value": [[30, 4, 2, 0, "instance", "Model class or Model instance provided to look up."], [30, 4, 2, 0, "value", "Current python value in model."]], "tortoise.contrib.mysql.fields.UUIDField.to_python_value": [[30, 4, 2, 0, "value", "Value from DB"]], "tortoise.contrib.mysql.functions": [[31, 1, 1, 0, "Rand", "Generate random number, with optional seed."]], "tortoise.contrib.mysql.indexes": [[11, 1, 1, 0, "FullTextIndex", ""], [11, 1, 1, 0, "SpatialIndex", ""]], "tortoise.contrib.mysql.search": [[11, 1, 1, 0, "SearchCriterion", "Only support for CharField, TextField with full search indexes."]], "tortoise.contrib.postgres": [[30, 0, 0, 1, "fields", ""]], "tortoise.contrib.postgres.fields": [[12, 1, 1, 0, "ArrayField", ""], [30, 1, 1, 0, "TSVectorField", ""]], "tortoise.contrib.postgres.functions": [[12, 1, 1, 0, "PlainToTsQuery", "plainto_tsquery function"], [31, 1, 1, 0, "Random", "Generate random number."], [12, 1, 1, 0, "ToTsQuery", "to_tsquery function"], [12, 1, 1, 0, "ToTsVector", "to to_tsvector function"]], "tortoise.contrib.postgres.indexes": [[12, 1, 1, 0, "BloomIndex", ""], [12, 1, 1, 0, "BrinIndex", ""], [12, 1, 1, 0, "GinIndex", ""], [12, 1, 1, 0, "GistIndex", ""], [12, 1, 1, 0, "HashIndex", ""], [12, 1, 1, 0, "SpGistIndex", ""]], "tortoise.contrib.postgres.search": [[12, 1, 1, 0, "SearchCriterion", ""]], "tortoise.contrib.pydantic": [[13, 0, 0, 1, "base", ""], [13, 0, 0, 1, "creator", ""]], "tortoise.contrib.pydantic.base": [[13, 1, 1, 0, "PydanticListModel", "Pydantic BaseModel for List of Tortoise Models"], [13, 1, 1, 0, "PydanticModel", "Pydantic BaseModel for Tortoise objects."]], "tortoise.contrib.pydantic.base.PydanticListModel": [[13, 2, 1, 0, "from_queryset", "Returns a serializable pydantic model instance that contains a list of models, from the provided queryset."], [13, 3, 1, 0, "model_computed_fields", "A dictionary of computed field names and their corresponding ComputedFieldInfo objects."], [13, 3, 1, 0, "model_config", "Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]."], [13, 3, 1, 0, "model_fields", "Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects."]], "tortoise.contrib.pydantic.base.PydanticListModel.from_queryset": [[13, 4, 2, 0, "queryset", "a queryset on the model this PydanticListModel is based on."]], "tortoise.contrib.pydantic.base.PydanticModel": [[13, 2, 1, 0, "from_queryset", "Returns a serializable pydantic model instance that contains a list of models, from the provided queryset."], [13, 2, 1, 0, "from_queryset_single", "Returns a serializable pydantic model instance for a single model from the provided queryset."], [13, 2, 1, 0, "from_tortoise_orm", "Returns a serializable pydantic model instance built from the provided model instance."], [13, 3, 1, 0, "model_computed_fields", "A dictionary of computed field names and their corresponding ComputedFieldInfo objects."], [13, 3, 1, 0, "model_config", "Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]."], [13, 3, 1, 0, "model_fields", "Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects."]], "tortoise.contrib.pydantic.base.PydanticModel.from_queryset": [[13, 4, 2, 0, "queryset", "a queryset on the model this PydanticModel is based on."]], "tortoise.contrib.pydantic.base.PydanticModel.from_queryset_single": [[13, 4, 2, 0, "queryset", "a queryset on the model this PydanticModel is based on."]], "tortoise.contrib.pydantic.base.PydanticModel.from_tortoise_orm": [[13, 4, 2, 0, "obj", "The Model instance you want serialized."]], "tortoise.contrib.pydantic.creator": [[13, 1, 1, 0, "FieldMap", ""], [13, 6, 1, 0, "pydantic_model_creator", "Function to build Pydantic Model off Tortoise Model."], [13, 6, 1, 0, "pydantic_queryset_creator", "Function to build a Pydantic Model list off Tortoise Model."]], "tortoise.contrib.pydantic.creator.pydantic_model_creator": [[13, 4, 2, 0, "allow_cycles", "Do we allow any cycles in the generated model? This is only useful for recursive/self-referential models."], [13, 4, 2, 0, "cls", "The Tortoise Model"], [13, 4, 2, 0, "computed", "Extra computed fields to include from the provided model."], [13, 4, 2, 0, "exclude", "Extra fields to exclude from the provided model."], [13, 4, 2, 0, "exclude_readonly", "Build a subset model that excludes any readonly fields"], [13, 4, 2, 0, "include", "Extra fields to include from the provided model."], [13, 4, 2, 0, "meta_override", "A PydanticMeta class to override model's values."], [13, 4, 2, 0, "model_config", "A custom config to use as pydantic config."], [13, 4, 2, 0, "module", "The name of the module that the model belongs to."], [13, 4, 2, 0, "name", "Specify a custom name explicitly, instead of a generated name."], [13, 4, 2, 0, "optional", "Extra optional fields for the provided model."], [13, 4, 2, 0, "sort_alphabetically", "Sort the parameters alphabetically instead of Field-definition order."], [13, 4, 2, 0, "validators", "A dictionary of methods that validate fields."]], "tortoise.contrib.pydantic.creator.pydantic_queryset_creator": [[13, 4, 2, 0, "allow_cycles", "Do we allow any cycles in the generated model? This is only useful for recursive/self-referential models."], [13, 4, 2, 0, "cls", "The Tortoise Model to put in a list."], [13, 4, 2, 0, "computed", "Extra computed fields to include from the provided model."], [13, 4, 2, 0, "exclude", "Extra fields to exclude from the provided model."], [13, 4, 2, 0, "include", "Extra fields to include from the provided model."], [13, 4, 2, 0, "name", "Specify a custom name explicitly, instead of a generated name."], [13, 4, 2, 0, "sort_alphabetically", "Sort the parameters alphabetically instead of Field-definition order."]], "tortoise.contrib.quart": [[14, 6, 1, 0, "register_tortoise", "Registers before_serving and after_serving hooks to set-up and tear-down Tortoise-ORM inside a Quart service. It also registers a CLI command generate_schemas that will generate the schemas."]], "tortoise.contrib.quart.register_tortoise": [[14, 4, 2, 0, "app", "Quart app."], [14, 4, 2, 0, "config", "Dict containing config:"], [14, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [14, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [14, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [14, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.sanic": [[15, 6, 1, 0, "register_tortoise", "Registers before_server_start and after_server_stop hooks to set-up and tear-down Tortoise-ORM inside a Sanic webserver."]], "tortoise.contrib.sanic.register_tortoise": [[15, 4, 2, 0, "app", "Sanic app."], [15, 4, 2, 0, "config", "Dict containing config:"], [15, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [15, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [15, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [15, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.sqlite.functions": [[31, 1, 1, 0, "Random", "Generate random number."]], "tortoise.contrib.starlette": [[16, 6, 1, 0, "register_tortoise", "Registers startup and shutdown events to set-up and tear-down Tortoise-ORM inside a Starlette application."]], "tortoise.contrib.starlette.register_tortoise": [[16, 4, 2, 0, "app", "Starlette app."], [16, 4, 2, 0, "config", "Dict containing config:"], [16, 4, 2, 0, "config_file", "Path to .json or .yml (if PyYAML installed) file containing config with same format as above."], [16, 4, 2, 0, "db_url", "Use a DB_URL string. See db_url"], [16, 4, 2, 0, "generate_schemas", "True to generate schema immediately. Only useful for dev environments or SQLite :memory: databases"], [16, 4, 2, 0, "modules", "Dictionary of key: [list_of_modules] that defined \"apps\" and modules that should be discovered for models."]], "tortoise.contrib.test": [[17, 1, 1, 0, "IsolatedTestCase", "Bases: SimpleTestCase"], [17, 1, 1, 0, "SimpleTestCase", "Bases: IsolatedAsyncioTestCase"], [17, 7, 1, 0, "SkipTest", "Bases: Exception"], [17, 1, 1, 0, "TestCase", "Bases: TruncationTestCase"], [17, 1, 1, 0, "TruncationTestCase", "Bases: SimpleTestCase"], [17, 6, 1, 0, "env_initializer", "Calls initializer() with parameters mapped from environment variables."], [17, 6, 1, 0, "expectedFailure", "Mark test as expecting failure."], [17, 6, 1, 0, "finalizer", "Cleans up the DB after testing. Must be called as part of the test environment teardown."], [17, 6, 1, 0, "getDBConfig", "DB Config factory, for use in testing."], [17, 6, 1, 0, "init_memory_sqlite", "For single file style to run code with memory sqlite"], [17, 6, 1, 0, "initializer", "Sets up the DB for testing. Must be called as part of test environment setup."], [17, 6, 1, 0, "requireCapability", "Skip a test if the required capabilities are not matched."], [17, 6, 1, 0, "skip", "Unconditionally skip a test."], [17, 6, 1, 0, "skipIf", "Skip a test if the condition is true."], [17, 6, 1, 0, "skipUnless", "Skip a test unless the condition is true."]], "tortoise.contrib.test.IsolatedTestCase": [[17, 3, 1, 0, "tortoise_test_modules", ""]], "tortoise.contrib.test.SimpleTestCase": [[17, 2, 1, 0, "assertListSortEqual", "None"], [17, 2, 1, 0, "asyncSetUp", "None"], [17, 2, 1, 0, "asyncTearDown", "None"]], "tortoise.contrib.test.TestCase": [[17, 2, 1, 0, "asyncSetUp", "None"], [17, 2, 1, 0, "asyncTearDown", "None"]], "tortoise.contrib.test.getDBConfig": [[17, 4, 2, 0, "app_label", "Label of the app (must be distinct for multiple apps)."], [17, 4, 2, 0, "modules", "List of modules to look for models in."]], "tortoise.contrib.test.init_memory_sqlite": [[17, 4, 2, 0, "models", "list_of_modules that should be discovered for models, default to ['__main__']."]], "tortoise.contrib.test.initializer": [[17, 4, 2, 0, "app_label", "The name of the APP to initialise the modules in, defaults to \"models\""], [17, 4, 2, 0, "db_url", "The db_url, defaults to sqlite://:memory."], [17, 4, 2, 0, "loop", "Optional event loop."], [17, 4, 2, 0, "modules", "List of modules to look for models in."]], "tortoise.contrib.test.requireCapability": [[17, 4, 2, 0, "conditions", "capability tests which must all pass for the test to run."], [17, 4, 2, 0, "connection_name", "name of the connection to retrieve capabilities from."]], "tortoise.exceptions": [[28, 7, 1, 0, "BaseORMException", "Bases: Exception"], [28, 7, 1, 0, "ConfigurationError", "Bases: BaseORMException"], [28, 7, 1, 0, "DBConnectionError", "Bases: BaseORMException, ConnectionError"], [28, 7, 1, 0, "DoesNotExist", "Bases: NotExistOrMultiple"], [28, 7, 1, 0, "FieldError", "Bases: BaseORMException"], [28, 7, 1, 0, "IncompleteInstanceError", "Bases: OperationalError"], [28, 7, 1, 0, "IntegrityError", "Bases: OperationalError"], [28, 7, 1, 0, "MultipleObjectsReturned", "Bases: NotExistOrMultiple"], [28, 7, 1, 0, "NoValuesFetched", "Bases: OperationalError"], [28, 7, 1, 0, "NotExistOrMultiple", "Bases: OperationalError"], [28, 7, 1, 0, "ObjectDoesNotExistError", "Bases: OperationalError, KeyError"], [28, 7, 1, 0, "OperationalError", "Bases: BaseORMException"], [28, 7, 1, 0, "ParamsError", "Bases: BaseORMException"], [28, 7, 1, 0, "TransactionManagementError", "Bases: BaseORMException"], [28, 7, 1, 0, "UnSupportedError", "Bases: BaseORMException"], [28, 7, 1, 0, "ValidationError", "Bases: BaseORMException"]], "tortoise.exceptions.DoesNotExist": [[28, 3, 1, 0, "TEMPLATE", ""]], "tortoise.exceptions.MultipleObjectsReturned": [[28, 3, 1, 0, "TEMPLATE", ""]], "tortoise.exceptions.NotExistOrMultiple": [[28, 3, 1, 0, "TEMPLATE", ""]], "tortoise.expressions": [[29, 1, 1, 0, "Case", "Case expression."], [29, 1, 1, 0, "Q", "Q Expression container. Q Expressions are a useful tool to compose a query from many small parts."], [29, 1, 1, 0, "When", "When expression."]], "tortoise.expressions.Case.__init__": [[29, 4, 2, 0, "args", "When objects"], [29, 4, 2, 0, "default", "value for 'CASE WHEN ... THEN ... ELSE <default> END'"]], "tortoise.expressions.Q": [[29, 3, 1, 0, "AND", ""], [29, 3, 1, 0, "OR", ""], [29, 2, 1, 0, "__and__", "Returns a binary AND of Q objects, use AND operator."], [29, 2, 1, 0, "__invert__", "Returns a negated instance of the Q object, use ~ operator."], [29, 2, 1, 0, "__or__", "Returns a binary OR of Q objects, use OR operator."], [29, 3, 1, 0, "children", "Contains the sub-Q's that this Q is made up of"], [29, 3, 1, 0, "filters", "Contains the filters applied to this Q"], [29, 3, 1, 0, "join_type", "Specifies if this Q does an AND or OR on its children"], [29, 2, 1, 0, "negate", "Negates the current Q object. (mutation)"], [29, 2, 1, 0, "resolve", "Resolves the logical Q chain into the parts of a SQL statement."]], "tortoise.expressions.Q.__init__": [[29, 4, 2, 0, "args", "Inner Q expressions that you want to wrap."], [29, 4, 2, 0, "join_type", "Is the join an AND or OR join type?"], [29, 4, 2, 0, "kwargs", "Filter statements that this Q object should encapsulate."]], "tortoise.expressions.When.__init__": [[29, 4, 2, 0, "args", "Q objects"], [29, 4, 2, 0, "kwargs", "keyword criterion like filter"], [29, 4, 2, 0, "negate", "false (default)"], [29, 4, 2, 0, "then", "value for criterion"]], "tortoise.fields": [[30, 0, 0, 1, "base", ""], [30, 0, 0, 1, "data", ""], [30, 0, 0, 1, "relational", ""]], "tortoise.fields.base": [[30, 1, 1, 0, "Field", "Base Field type."], [30, 1, 1, 0, "OnDelete", "An enumeration."], [30, 1, 1, 0, "StrEnum", "An enumeration."]], "tortoise.fields.base.Field": [[30, 3, 1, 0, "GENERATED_SQL", "The SQL that instructs the DB to auto-generate this field. Required if allows_generated is True."], [30, 3, 1, 0, "SQL_TYPE", "The SQL type as a string that the DB will use."], [30, 3, 1, 0, "allows_generated", "Is this field able to be DB-generated?"], [30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."], [30, 2, 1, 0, "describe", "Describes the field."], [30, 3, 1, 0, "field_type", "The Python type the field is. If adding a type as a mixin, _FieldMeta will automatically set this to that."], [30, 3, 1, 0, "function_cast", "A casting term that we need to apply in case the DB needs emulation help."], [30, 2, 1, 0, "get_db_field_types", "Returns the DB types for this field."], [30, 2, 1, 0, "get_for_dialect", "Returns a field by dialect override."], [30, 3, 1, 0, "has_db_field", "Does this field have a direct corresponding DB column? Or is the field virtualized?"], [30, 3, 1, 0, "indexable", "Is the field indexable? Set to False if this field can't be indexed reliably."], [30, 5, 1, 0, "required", "Returns True if the field is required to be provided."], [30, 3, 1, 0, "skip_to_python_if_native", "If the DB driver natively supports this Python type, should we skip it? This is for optimization purposes only, where we don't need to force type conversion between Python and the DB."], [30, 2, 1, 0, "to_db_value", "Converts from the Python type to the DB type."], [30, 2, 1, 0, "to_python_value", "Converts from the DB type to the Python type."], [30, 2, 1, 0, "validate", "Validate whether given value is valid"]], "tortoise.fields.base.Field.__init__": [[30, 4, 2, 0, "db_index", "Should this field be indexed by itself?"], [30, 4, 2, 0, "default", "A default value for the field if not specified on Model creation. This can also be a callable for dynamic defaults in which case we will call it. The default value will not be part of the schema."], [30, 4, 2, 0, "description", "Field description. Will also appear in Tortoise.describe_model() and as DB comments in the generated DDL."], [30, 4, 2, 0, "generated", "Is this field DB-generated?"], [30, 4, 2, 0, "null", "Is this field nullable?"], [30, 4, 2, 0, "primary_key", "Is this field a Primary Key? Can only have a single such field on the Model, and if none is specified it will autogenerate a default primary key called id."], [30, 4, 2, 0, "source_field", "Provide a source_field name if the DB column name needs to be something specific instead of generated off the field name."], [30, 4, 2, 0, "unique", "Is this field unique?"], [30, 4, 2, 0, "validators", "Validators for this field."]], "tortoise.fields.base.Field.describe": [[30, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.fields.base.Field.get_for_dialect": [[30, 4, 2, 0, "dialect", "The requested SQL Dialect."], [30, 4, 2, 0, "key", "The attribute/method name."]], "tortoise.fields.base.Field.to_db_value": [[30, 4, 2, 0, "instance", "Model class or Model instance provided to look up."], [30, 4, 2, 0, "value", "Current python value in model."]], "tortoise.fields.base.Field.to_python_value": [[30, 4, 2, 0, "value", "Value from DB"]], "tortoise.fields.base.Field.validate": [[30, 4, 2, 0, "value", "Value to be validation"]], "tortoise.fields.base.OnDelete": [[30, 3, 1, 0, "CASCADE", ""], [30, 3, 1, 0, "NO_ACTION", ""], [30, 3, 1, 0, "RESTRICT", ""], [30, 3, 1, 0, "SET_DEFAULT", ""], [30, 3, 1, 0, "SET_NULL", ""]], "tortoise.fields.data": [[30, 1, 1, 0, "BigIntField", "Big integer field. (64-bit signed)"], [30, 1, 1, 0, "BinaryField", "Binary field."], [30, 1, 1, 0, "BooleanField", "Boolean field."], [30, 6, 1, 0, "CharEnumField", "Char Enum Field"], [30, 1, 1, 0, "CharField", "Character field."], [30, 1, 1, 0, "DateField", "Date field."], [30, 1, 1, 0, "DatetimeField", "Datetime field."], [30, 1, 1, 0, "DecimalField", "Accurate decimal field."], [30, 1, 1, 0, "FloatField", "Float (double) field."], [30, 6, 1, 0, "IntEnumField", "Enum Field"], [30, 1, 1, 0, "IntField", "Integer field. (32-bit signed)"], [30, 1, 1, 0, "JSONField", "JSON field."], [30, 1, 1, 0, "SmallIntField", "Small integer field. (16-bit signed)"], [30, 1, 1, 0, "TextField", "Large Text field."], [30, 1, 1, 0, "TimeDeltaField", "A field for storing time differences."], [30, 1, 1, 0, "UUIDField", "UUID Field"]], "tortoise.fields.data.BigIntField": [[30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."]], "tortoise.fields.data.BinaryField": [[30, 3, 1, 0, "field_type", "alias of bytes"]], "tortoise.fields.data.BooleanField": [[30, 3, 1, 0, "field_type", "alias of bool"]], "tortoise.fields.data.CharField": [[30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."], [30, 3, 1, 0, "field_type", "alias of str"]], "tortoise.fields.data.DateField": [[30, 3, 1, 0, "field_type", "alias of date"]], "tortoise.fields.data.DatetimeField": [[30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."], [30, 2, 1, 0, "describe", "Describes the field."], [30, 3, 1, 0, "field_type", "alias of datetime"]], "tortoise.fields.data.DatetimeField.describe": [[30, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.fields.data.DecimalField": [[30, 3, 1, 0, "field_type", "alias of Decimal"]], "tortoise.fields.data.FloatField": [[30, 3, 1, 0, "field_type", "alias of float"]], "tortoise.fields.data.IntField": [[30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."], [30, 3, 1, 0, "field_type", "alias of int"]], "tortoise.fields.data.SmallIntField": [[30, 5, 1, 0, "constraints", "Returns a dict with constraints defined in the Pydantic/JSONSchema format."]], "tortoise.fields.data.TextField": [[30, 3, 1, 0, "field_type", "alias of str"]], "tortoise.fields.data.TimeDeltaField": [[30, 3, 1, 0, "field_type", "alias of timedelta"]], "tortoise.fields.data.UUIDField": [[30, 3, 1, 0, "field_type", "alias of UUID"]], "tortoise.fields.relational": [[30, 6, 1, 0, "ForeignKeyField", "ForeignKey relation field."], [39, 8, 1, 0, "ForeignKeyNullableRelation", "Type hint for the result of accessing the ForeignKeyField() field in the model when obtained model can be nullable."], [39, 8, 1, 0, "ForeignKeyRelation", "Type hint for the result of accessing the ForeignKeyField() field in the model."], [30, 6, 1, 0, "ManyToManyField", "ManyToMany relation field."], [39, 1, 1, 0, "ManyToManyRelation", "Many-to-many relation container for ManyToManyField()."], [30, 6, 1, 0, "OneToOneField", "OneToOne relation field."], [39, 8, 1, 0, "OneToOneNullableRelation", "Type hint for the result of accessing the OneToOneField() field in the model when obtained model can be nullable."], [39, 8, 1, 0, "OneToOneRelation", "Type hint for the result of accessing the OneToOneField() field in the model."], [39, 1, 1, 0, "ReverseRelation", "Relation container for ForeignKeyField()."]], "tortoise.fields.relational.ManyToManyRelation": [[39, 2, 1, 0, "add", "Adds one or more of instances to the relation."], [39, 2, 1, 0, "all", "Returns a QuerySet with all related elements."], [39, 2, 1, 0, "clear", "Clears ALL relations."], [39, 2, 1, 0, "filter", "Returns a QuerySet with related elements filtered by args/kwargs."], [39, 2, 1, 0, "limit", "Returns a QuerySet with at most \u00ablimit\u00bb related elements."], [39, 2, 1, 0, "offset", "Returns a QuerySet with all related elements offset by \u00aboffset\u00bb."], [39, 2, 1, 0, "order_by", "Returns a QuerySet related elements in order."], [39, 2, 1, 0, "remove", "Removes one or more of instances from the relation."]], "tortoise.fields.relational.ReverseRelation": [[39, 2, 1, 0, "all", "Returns a QuerySet with all related elements."], [39, 2, 1, 0, "filter", "Returns a QuerySet with related elements filtered by args/kwargs."], [39, 2, 1, 0, "limit", "Returns a QuerySet with at most \u00ablimit\u00bb related elements."], [39, 2, 1, 0, "offset", "Returns a QuerySet with all related elements offset by \u00aboffset\u00bb."], [39, 2, 1, 0, "order_by", "Returns a QuerySet related elements in order."]], "tortoise.functions": [[31, 1, 1, 0, "Aggregate", "Base for SQL Aggregates."], [31, 1, 1, 0, "Avg", "Returns average (mean) of all values in the column."], [31, 1, 1, 0, "Coalesce", "Provides a default value if field is null."], [31, 1, 1, 0, "Concat", "Concate field or constant text. Be care, DB like sqlite3 has no support for CONCAT."], [31, 1, 1, 0, "Count", "Counts the no of entries for that column."], [31, 1, 1, 0, "Function", "Function/Aggregate base."], [31, 1, 1, 0, "Length", "Returns length of text/blob."], [31, 1, 1, 0, "Lower", "Converts text to lower case."], [31, 1, 1, 0, "Max", "Returns largest value in the column."], [31, 1, 1, 0, "Min", "Returns smallest value in the column."], [31, 1, 1, 0, "Sum", "Adds up all the values for that column."], [31, 1, 1, 0, "Trim", "Trims whitespace off edges of text."], [31, 1, 1, 0, "Upper", "Converts text to upper case."]], "tortoise.functions.Aggregate.__init__": [[31, 4, 2, 0, "default_values", "Extra parameters to the function."], [31, 4, 2, 0, "field", "Field name"]], "tortoise.functions.Function.__init__": [[31, 4, 2, 0, "default_values", "Extra parameters to the function."], [31, 4, 2, 0, "field", "Field name"]], "tortoise.functions.Function": [[31, 3, 1, 0, "database_func", "The pypika function this represents."], [31, 3, 1, 0, "populate_field_object", "Enable populate_field_object where we want to try and preserve the field type."], [31, 2, 1, 0, "resolve", "Used to resolve the Function statement for SQL generation."]], "tortoise.models": [[38, 1, 1, 0, "Model", "Base class for all Tortoise ORM Models."]], "tortoise.models.Model": [[38, 1, 1, "id0", "Meta", "The Meta class is used to configure metadata for the Model."], [38, 2, 1, 0, "all", "Returns the complete QuerySet."], [38, 2, 1, 0, "annotate", "Annotates the result set with extra Functions/Aggregations/Expressions."], [38, 2, 1, 0, "bulk_create", "Bulk insert operation:"], [38, 2, 1, 0, "bulk_update", "Update the given fields in each of the given objects in the database. This method efficiently updates the given fields on the provided model instances, generally with one query."], [38, 2, 1, 0, "clone", "Create a new clone of the object that when you do a .save() will create a new record."], [38, 2, 1, 0, "create", "Create a record in the DB and returns the object."], [38, 2, 1, 0, "delete", "Deletes the current model object."], [38, 2, 1, 0, "describe", "Describes the given list of models or ALL registered models."], [38, 2, 1, 0, "earliest", "Generates a QuerySet with the filter applied that returns the first record."], [38, 2, 1, 0, "exclude", "Generates a QuerySet with the exclude applied."], [38, 2, 1, 0, "exists", "Return True/False whether record exists with the provided filter parameters."], [38, 2, 1, 0, "fetch_for_list", "Fetches related models for provided list of Model objects."], [38, 2, 1, 0, "fetch_related", "Fetch related fields."], [38, 2, 1, 0, "filter", "Generates a QuerySet with the filter applied."], [38, 2, 1, 0, "first", "Generates a QuerySet that returns the first record."], [38, 2, 1, 0, "get", "Fetches a single record for a Model type using the provided filter parameters."], [38, 2, 1, 0, "get_or_create", "Fetches the object if exists (filtering on the provided parameters), else creates an instance with any unspecified parameters as default values."], [38, 2, 1, 0, "get_or_none", "Fetches a single record for a Model type using the provided filter parameters or None."], [38, 2, 1, 0, "in_bulk", "Return a dictionary mapping each of the given IDs to the object with that ID. If id_list isn't provided, evaluate the entire QuerySet."], [38, 2, 1, 0, "last", "Generates a QuerySet that returns the last record."], [38, 2, 1, 0, "latest", "Generates a QuerySet with the filter applied that returns the last record."], [38, 5, 1, 0, "pk", "Alias to the models Primary Key. Can be used as a field name when doing filtering e.g. .filter(pk=...) etc..."], [38, 2, 1, 0, "raw", "Executes a RAW SQL and returns the result"], [38, 2, 1, 0, "refresh_from_db", "Refresh latest data from db. When this method is called without arguments all db fields of the model are updated to the values currently present in the database."], [38, 2, 1, 0, "register_listener", "Register listener to current model class for special Signal."], [38, 2, 1, 0, "save", "Creates/Updates the current model object."], [38, 2, 1, 0, "select_for_update", "Make QuerySet select for update."], [38, 2, 1, 0, "update_from_dict", "Updates the current model with the provided dict. This can allow mass-updating a model from a dict, also ensuring that datatype conversions happen."], [38, 2, 1, 0, "update_or_create", "A convenience method for updating an object with the given kwargs, creating a new one if necessary."]], "tortoise.models.Model.Meta": [[38, 3, 1, 0, "abstract", "Set to True to indicate this is an abstract class"], [38, 3, 1, 0, "indexes", "Specify indexes to set up compound non-unique indexes for sets of columns."], [38, 3, 1, 0, "manager", "Specify manager to override the default manager. It should be instance of tortoise.manager.Manager or subclass."], [38, 3, 1, 0, "ordering", "Specify ordering to set up default ordering for given model. It should be iterable of strings formatted in same way as .order_by(...) receives. If query is built with GROUP_BY clause using .annotate(...) default ordering is not applied."], [38, 3, 1, 0, "schema", "Set this to configure a schema name, where table exists"], [38, 3, 1, 0, "table", "Set this to configure a manual table name, instead of a generated one"], [38, 3, 1, 0, "table_description", "Set this to generate a comment message for the table being created for the current model"], [38, 3, 1, 0, "unique_together", "Specify unique_together to set up compound unique indexes for sets of columns."]], "tortoise.models.Model.annotate": [[38, 4, 2, 0, "kwargs", "Parameter name and the Function/Aggregation to annotate with."]], "tortoise.models.Model.bulk_create": [[38, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [38, 4, 2, 0, "ignore_conflicts", "Ignore conflicts when inserting"], [38, 4, 2, 0, "objects", "List of objects to bulk create"], [38, 4, 2, 0, "on_conflict", "On conflict index name"], [38, 4, 2, 0, "update_fields", "Update fields when conflicts"], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.bulk_update": [[38, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [38, 4, 2, 0, "fields", "The fields to update"], [38, 4, 2, 0, "objects", "List of objects to bulk create"], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.create": [[38, 4, 2, 0, "kwargs", "Model parameters."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.delete": [[38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.describe": [[38, 4, 2, 0, "serializable", "False if you want raw python objects, True for JSON-serializable data. (Defaults to True)"]], "tortoise.models.Model.exclude": [[38, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [38, 4, 2, 0, "kwargs", "Simple filter constraints."]], "tortoise.models.Model.exists": [[38, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [38, 4, 2, 0, "kwargs", "Simple filter constraints."], [38, 4, 2, 0, "using_db", "The specific DB connection to use."]], "tortoise.models.Model.fetch_for_list": [[38, 4, 2, 0, "args", "Relation names to fetch."], [38, 4, 2, 0, "instance_list", "List of Model objects to fetch relations for."], [38, 4, 2, 0, "using_db", "DO NOT USE"]], "tortoise.models.Model.fetch_related": [[38, 4, 2, 0, "args", "The related fields that should be fetched."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.filter": [[38, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [38, 4, 2, 0, "kwargs", "Simple filter constraints."]], "tortoise.models.Model.get": [[38, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [38, 4, 2, 0, "kwargs", "Simple filter constraints."], [38, 4, 2, 0, "using_db", "The DB connection to use"]], "tortoise.models.Model.get_or_create": [[38, 4, 2, 0, "defaults", "Default values to be added to a created instance if it can't be fetched."], [38, 4, 2, 0, "kwargs", "Query parameters."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.get_or_none": [[38, 4, 2, 0, "args", "Q functions containing constraints. Will be AND'ed."], [38, 4, 2, 0, "kwargs", "Simple filter constraints."], [38, 4, 2, 0, "using_db", "The specific DB connection to use."]], "tortoise.models.Model.in_bulk": [[38, 4, 2, 0, "field_name", "Must be a unique field"], [38, 4, 2, 0, "id_list", "A list of field values"], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.raw": [[38, 4, 2, 0, "sql", "The raw sql."], [38, 4, 2, 0, "using_db", "The specific DB connection to use"]], "tortoise.models.Model.refresh_from_db": [[38, 4, 2, 0, "fields", "The special fields that to be refreshed."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound."]], "tortoise.models.Model.register_listener": [[38, 4, 2, 0, "listener", "callable listener"], [38, 4, 2, 0, "signal", "one of tortoise.signals.Signals"]], "tortoise.models.Model.save": [[38, 4, 2, 0, "force_create", "Forces creation of the record"], [38, 4, 2, 0, "force_update", "Forces updating of the record"], [38, 4, 2, 0, "update_fields", "If provided, it should be a tuple/list of fields by name."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.models.Model.update_from_dict": [[38, 4, 2, 0, "data", "The parameters you want to update in a dict format"]], "tortoise.models.Model.update_or_create": [[38, 4, 2, 0, "defaults", "Default values used to update the object."], [38, 4, 2, 0, "kwargs", "Query parameters."], [38, 4, 2, 0, "using_db", "Specific DB connection to use instead of default bound"]], "tortoise.query_utils": [[39, 1, 1, 0, "Prefetch", "Prefetcher container. One would directly use this when wanting to attach a custom QuerySet for specialised prefetching."]], "tortoise.query_utils.Prefetch.__init__": [[39, 4, 2, 0, "queryset", "Custom QuerySet to use for prefetching."], [39, 4, 2, 0, "relation", "Related field name."], [39, 4, 2, 0, "to_attr", "Sets the result of the prefetch operation to a custom attribute."]], "tortoise.query_utils.Prefetch": [[39, 2, 1, 0, "resolve_for_queryset", "Called internally to generate prefetching query."]], "tortoise.query_utils.Prefetch.resolve_for_queryset": [[39, 4, 2, 0, "queryset", "Custom QuerySet to use for prefetching."]], "tortoise.queryset": [[39, 1, 1, 0, "BulkCreateQuery", "Returns the SQL query that will be executed. By default, it will return the query with placeholders, but if you set params_inline=True, it will inline the parameters."], [39, 1, 1, 0, "BulkUpdateQuery", "Returns the SQL query that will be executed. By default, it will return the query with placeholders, but if you set params_inline=True, it will inline the parameters."], [39, 1, 1, 0, "CountQuery", ""], [39, 1, 1, 0, "DeleteQuery", ""], [39, 1, 1, 0, "ExistsQuery", ""], [39, 1, 1, 0, "FieldSelectQuery", ""], [39, 1, 1, 0, "QuerySet", "Query offset and limit for Queryset."], [39, 1, 1, 0, "QuerySetSingle", "Awaiting on this will resolve a single instance of the Model object, and not a sequence."], [39, 1, 1, 0, "RawSQLQuery", ""], [39, 1, 1, 0, "UpdateQuery", ""], [39, 1, 1, 0, "ValuesListQuery", ""], [39, 1, 1, 0, "ValuesQuery", ""]], "tortoise.queryset.BulkCreateQuery": [[39, 2, 1, 0, "sql", "Returns the SQL query that will be executed. By default, it will return the query with placeholders, but if you set params_inline=True, it will inline the parameters."]], "tortoise.queryset.BulkCreateQuery.sql": [[39, 4, 2, 0, "params_inline", "Whether to inline the parameters"]], "tortoise.queryset.BulkUpdateQuery": [[39, 2, 1, 0, "sql", "Returns the SQL query that will be executed. By default, it will return the query with placeholders, but if you set params_inline=True, it will inline the parameters."]], "tortoise.queryset.BulkUpdateQuery.sql": [[39, 4, 2, 0, "params_inline", "Whether to inline the parameters"]], "tortoise.queryset.QuerySet": [[39, 2, 1, 0, "__getitem__", "Query offset and limit for Queryset."], [39, 2, 1, 0, "all", "Return the whole QuerySet. Essentially a no-op except as the only operation."], [39, 2, 1, 0, "annotate", "Annotate result with aggregation or function result."], [39, 2, 1, 0, "bulk_create", "This method inserts the provided list of objects into the database in an efficient manner (generally only 1 query, no matter how many objects there are)."], [39, 2, 1, 0, "bulk_update", "Update the given fields in each of the given objects in the database."], [39, 2, 1, 0, "count", "Return count of objects in queryset instead of objects."], [39, 2, 1, 0, "delete", "Delete all objects in QuerySet."], [39, 2, 1, 0, "distinct", "Make QuerySet distinct."], [39, 2, 1, 0, "earliest", "Returns the earliest object by ordering ascending on the specified field."], [39, 2, 1, 0, "exclude", "Same as .filter(), but with appends all args with NOT"], [39, 2, 1, 0, "exists", "Return True/False whether queryset exists."], [39, 2, 1, 0, "explain", "Fetch and return information about the query execution plan."], [39, 2, 1, 0, "filter", "Filters QuerySet by given kwargs. You can filter by related objects like this:"], [39, 2, 1, 0, "first", "Limit queryset to one object and return one object instead of list."], [39, 2, 1, 0, "force_index", "The FORCE INDEX hint acts like USE INDEX (index_list), with the addition that a table scan is assumed to be very expensive."], [39, 2, 1, 0, "get", "Fetch exactly one object matching the parameters."], [39, 2, 1, 0, "get_or_none", "Fetch exactly one object matching the parameters."], [39, 2, 1, 0, "group_by", "Make QuerySet returns list of dict or tuple with group by."], [39, 2, 1, 0, "in_bulk", "Return a dictionary mapping each of the given IDs to the object with that ID. If id_list isn't provided, evaluate the entire QuerySet."], [39, 2, 1, 0, "last", "Limit queryset to one object and return the last object instead of list."], [39, 2, 1, 0, "latest", "Returns the most recent object by ordering descending on the providers fields."], [39, 2, 1, 0, "limit", "Limits QuerySet to given length."], [39, 2, 1, 0, "offset", "Query offset for QuerySet."], [39, 2, 1, 0, "only", "Fetch ONLY the specified fields to create a partial model."], [39, 2, 1, 0, "order_by", "Accept args to filter by in format like this:"], [39, 2, 1, 0, "prefetch_related", "Like .fetch_related() on instance, but works on all objects in QuerySet."], [39, 2, 1, 0, "raw", "Return the QuerySet from raw SQL"], [39, 2, 1, 0, "resolve_filters", "Builds the common filters for a QuerySet."], [39, 2, 1, 0, "resolve_ordering", "Applies standard ordering to QuerySet."], [39, 2, 1, 0, "select_for_update", "Make QuerySet select for update."], [39, 2, 1, 0, "select_related", "Return a new QuerySet instance that will select related objects."], [39, 2, 1, 0, "sql", "Returns the SQL query that will be executed. By default, it will return the query with placeholders, but if you set params_inline=True, it will inline the parameters."], [39, 2, 1, 0, "update", "Update all objects in QuerySet with given kwargs."], [39, 2, 1, 0, "use_index", "The USE INDEX (index_list) hint tells MySQL to use only one of the named indexes to find rows in the table."], [39, 2, 1, 0, "using_db", "Executes query in provided db client. Useful for transactions workaround."], [39, 2, 1, 0, "values", "Make QuerySet return dicts instead of objects."], [39, 2, 1, 0, "values_list", "Make QuerySet returns list of tuples for given args instead of objects."]], "tortoise.queryset.QuerySet.bulk_create": [[39, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [39, 4, 2, 0, "ignore_conflicts", "Ignore conflicts when inserting"], [39, 4, 2, 0, "objects", "List of objects to bulk create"], [39, 4, 2, 0, "on_conflict", "On conflict index name"], [39, 4, 2, 0, "update_fields", "Update fields when conflicts"]], "tortoise.queryset.QuerySet.bulk_update": [[39, 4, 2, 0, "batch_size", "How many objects are created in a single query"], [39, 4, 2, 0, "fields", "The fields to update"], [39, 4, 2, 0, "objects", "List of objects to bulk create"]], "tortoise.queryset.QuerySet.in_bulk": [[39, 4, 2, 0, "field_name", "Must be a unique field"], [39, 4, 2, 0, "id_list", "A list of field values"]], "tortoise.queryset.QuerySet.resolve_ordering": [[39, 4, 2, 0, "annotations", "Annotations that may be ordered on"], [39, 4, 2, 0, "model", "The Model this queryset is based on."], [39, 4, 2, 0, "orderings", "What columns/order to order by"], [39, 4, 2, 0, "table", "pypika.Table to keep track of the virtual SQL table (to allow self referential joins)"]], "tortoise.queryset.QuerySet.sql": [[39, 4, 2, 0, "params_inline", "Whether to inline the parameters"]], "tortoise.signals": [[45, 1, 1, 0, "Signals", "Bases: Enum"], [45, 6, 1, 0, "post_delete", "Register given models post_delete signal."], [45, 6, 1, 0, "post_save", "Register given models post_save signal."], [45, 6, 1, 0, "pre_delete", "Register given models pre_delete signal."], [45, 6, 1, 0, "pre_save", "Register given models pre_save signal."]], "tortoise.signals.Signals": [[45, 3, 1, 0, "post_delete", ""], [45, 3, 1, 0, "post_save", ""], [45, 3, 1, 0, "pre_delete", ""], [45, 3, 1, 0, "pre_save", ""]], "tortoise.signals.post_delete": [[45, 4, 2, 0, "senders", "Model class"]], "tortoise.signals.post_save": [[45, 4, 2, 0, "senders", "Model class"]], "tortoise.signals.pre_delete": [[45, 4, 2, 0, "senders", "Model class"]], "tortoise.signals.pre_save": [[45, 4, 2, 0, "senders", "Model class"]], "tortoise.timezone": [[46, 6, 1, 0, "get_default_timezone", "Return the default time zone as a tzinfo instance."], [46, 6, 1, 0, "get_timezone", "Get timezone from env set in Tortoise config."], [46, 6, 1, 0, "get_use_tz", "Get use_tz from env set in Tortoise config."], [46, 6, 1, 0, "is_aware", "Determine if a given datetime.datetime or datetime.time is aware."], [46, 6, 1, 0, "is_naive", "Determine if a given datetime.datetime or datetime.time is naive."], [46, 6, 1, 0, "localtime", "Convert an aware datetime.datetime to local time."], [46, 6, 1, 0, "make_aware", "Make a naive datetime.datetime in a given time zone aware."], [46, 6, 1, 0, "make_naive", "Make an aware datetime.datetime naive in a given time zone."], [46, 6, 1, 0, "now", "Return an aware datetime.datetime, depending on use_tz and timezone."]], "tortoise.transactions": [[48, 6, 1, 0, "atomic", "Transaction decorator."], [48, 6, 1, 0, "in_transaction", "Transaction context manager."]], "tortoise.transactions.atomic": [[48, 4, 2, 0, "connection_name", "name of connection to run with, optional if you have only one db connection"]], "tortoise.transactions.in_transaction": [[48, 4, 2, 0, "connection_name", "name of connection to run with, optional if you have only one db connection"]], "tortoise.utils": [[43, 6, 1, 0, "generate_schema_for_client", "Generates and applies the SQL schema directly to the given client."], [43, 6, 1, 0, "get_schema_sql", "Generates the SQL schema for the given client."]], "tortoise.utils.generate_schema_for_client": [[43, 4, 2, 0, "client", "The DB client to generate Schema SQL for"], [43, 4, 2, 0, "safe", "When set to true, creates the table only when it does not already exist."]], "tortoise.utils.get_schema_sql": [[43, 4, 2, 0, "client", "The DB client to generate Schema SQL for"], [43, 4, 2, 0, "safe", "When set to true, creates the table only when it does not already exist."]], "tortoise.validators": [[49, 1, 1, 0, "CommaSeparatedIntegerListValidator", "A validator to validate whether the given value is valid comma separated integer list or not."], [49, 1, 1, 0, "MaxLengthValidator", "A validator to validate the length of given value whether greater than max_length or not."], [49, 1, 1, 0, "MaxValueValidator", "Max value validator for FloatField, IntField, SmallIntField, BigIntField"], [49, 1, 1, 0, "MinLengthValidator", "A validator to validate the length of given value whether less than min_length or not."], [49, 1, 1, 0, "MinValueValidator", "Min value validator for FloatField, IntField, SmallIntField, BigIntField"], [49, 1, 1, 0, "NumericValidator", "types = (<class 'int'>, <class 'float'>, <class 'decimal.Decimal'>)"], [49, 1, 1, 0, "RegexValidator", "A validator to validate the given value whether match regex or not."], [49, 1, 1, 0, "Validator", "All specific validators should implement this method."], [49, 6, 1, 0, "validate_ipv46_address", "A validator to validate whether the given value is valid IPv4Address or IPv6Address or not."], [49, 6, 1, 0, "validate_ipv4_address", "A validator to validate whether the given value is valid IPv4Address or not."], [49, 6, 1, 0, "validate_ipv6_address", "A validator to validate whether the given value is valid IPv6Address or not."]], "tortoise.validators.NumericValidator": [[49, 3, 1, 0, "types", ""]], "tortoise.validators.Validator": [[49, 2, 1, 0, "__call__", "All specific validators should implement this method."]], "tortoise.validators.Validator.__call__": [[49, 4, 2, 0, "value", "The given value to be validated."]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:parameter", "5": "py:property", "6": "py:function", "7": "py:exception", "8": "py:data"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "parameter", "Python parameter"], "5": ["py", "property", "Python property"], "6": ["py", "function", "Python function"], "7": ["py", "exception", "Python exception"], "8": ["py", "data", "Python data"]}, "titleterms": {"changelog": 0, "0": 0, "22": 0, "1": [0, 13, 24], "fix": 0, "ad": 0, "chang": 0, "21": 0, "7": 0, "_": 0, "2024": 0, "10": 0, "14": 0, "6": 0, "08": 0, "17": 0, "5": 0, "07": 0, "18": 0, "4": [0, 13, 24], "03": 0, "3": [0, 13, 24], "06": 0, "01": 0, "2": [0, 13, 24], "05": 0, "25": 0, "24": 0, "23": 0, "break": 0, "20": 0, "19": 0, "deprec": 0, "remov": 0, "8": 0, "16": 0, "15": 0, "13": 0, "12": 0, "11": 0, "9": 0, "warn": [0, 44], "secur": 0, "other": 0, "caution": [0, 18], "new": 0, "featur": [0, 2, 33], "bugfix": 0, "enhanc": 0, "doc": 0, "exampl": [0, 7, 8, 9, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 44], "retract": 0, "note": [0, 5, 13, 17, 29, 32, 33, 38, 39, 44], "older": 0, "contributor": [1, 3], "coven": 1, "code": [1, 2], "conduct": 1, "our": 1, "pledg": 1, "standard": 1, "respons": 1, "scope": 1, "enforc": 1, "attribut": 1, "contribut": 2, "guid": 2, "file": 2, "bug": 2, "request": 2, "have": 2, "chat": 2, "project": 2, "structur": 2, "guidelin": 2, "prioriti": 2, "style": 2, "run": 2, "test": [2, 17, 23], "differ": 2, "type": [2, 38], "thing": 2, "awar": 2, "when": [2, 29], "suit": 2, "thank": 3, "special": 3, "tortoisecli": 4, "quick": [4, 37], "start": [4, 32, 37], "usag": [4, 10, 13, 14, 17, 24, 30, 34, 36, 37, 38, 42, 49], "interact": 4, "shell": 4, "connect": 5, "import": [5, 44], "api": [5, 39], "refer": [5, 7, 8, 9, 14, 15, 16, 17, 30, 38, 40, 44, 46], "contrib": 6, "tortois": [7, 8, 9, 14, 15, 16, 33], "orm": [7, 8, 9, 14, 15, 16, 33], "aiohttp": [7, 20], "integr": [7, 8, 9, 14, 15, 16], "blacksheep": [8, 22], "fastapi": [9, 23], "linter": 10, "pylint": 10, "plugin": 10, "mysql": [11, 18, 30], "index": [11, 12, 34], "field": [11, 12, 21, 24, 30, 38], "search": [11, 12], "postgr": [12, 30], "function": [12, 21, 31, 43], "pydant": [13, 24], "serialis": 13, "tutori": [13, 24, 32], "basic": [13, 21, 22, 23, 24], "queryset": [13, 24, 39], "list": [13, 24], "relat": [13, 21, 22, 23, 24, 30, 38], "earli": [13, 24], "init": [13, 24, 37, 44], "pydanticmeta": [13, 24], "callabl": [13, 24], "creator": 13, "model": [13, 20, 21, 22, 23, 24, 25, 26, 27, 37, 38], "class": [13, 31, 38], "quart": [14, 25], "sanic": [15, 26], "starlett": [16, 27], "unittest": 17, "support": 17, "runner": 17, "green": 17, "py": [17, 20, 22, 23, 25, 26, 27], "nose2": 17, "databas": [18, 21, 33], "db_url": 18, "capabl": 18, "sqlite": 18, "requir": 18, "paramet": 18, "option": [18, 32], "postgresql": 18, "mariadb": 18, "mssql": 18, "oracl": 18, "encod": 18, "pass": 18, "custom": [18, 31, 49], "ssl": 18, "certif": 18, "base": [18, 30, 31], "db": [18, 30, 37, 38], "client": 18, "main": [20, 23, 25, 26, 27], "simpl": 21, "comment": 21, "prefetch": [21, 39], "transact": [21, 48], "group": 21, "By": 21, "schema": [21, 43], "creation": [21, 43], "two": 21, "filter": [21, 39], "uniqu": 21, "recurs": [21, 24], "enumer": 21, "signal": [21, 45], "manual": 21, "sql": 21, "router": [21, 42], "non": [22, 23], "test_api": 22, "server": 22, "comput": 24, "sourc": 24, "except": 28, "express": 29, "q": 29, "f": 29, "subqueri": 29, "rawsql": 29, "case": 29, "data": 30, "specif": 30, "extend": [30, 34], "A": 30, "aggreg": 31, "get": 32, "instal": 32, "acceler": 32, "introduct": [33, 46], "why": 33, "wa": 33, "built": [33, 49], "how": 33, "i": 33, "an": 33, "us": [33, 38], "clean": [33, 44], "familiar": 33, "python": 33, "interfac": 33, "pluggabl": 33, "backend": 33, "And": 33, "more": 33, "log": 35, "manag": 36, "migrat": 37, "initi": 37, "updat": 37, "make": 37, "upgrad": 37, "latest": 37, "version": 37, "downgrad": 37, "specifi": 37, "show": 37, "histori": 37, "head": 37, "__models__": 38, "primari": 38, "kei": [38, 39], "inherit": 38, "The": [38, 44], "meta": 38, "foreignkeyfield": 38, "back": 38, "fetch": 38, "foreign": [38, 39], "object": 38, "manytomanyfield": 38, "improv": 38, "hint": 38, "queri": 39, "One": 39, "mani": 39, "complex": 39, "roadmap": 41, "short": 41, "term": 41, "mid": 41, "long": 41, "defin": 42, "config": 42, "helper": 43, "set": 44, "up": 44, "app": 44, "timezon": 46, "use_tz": 46, "tabl": 47, "Of": 47, "content": 47, "valid": 49}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.todo": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1, "sphinx": 58}, "alltitles": {"Changelog": [[0, "changelog"]], "0.22": [[0, "id2"]], "0.22.1": [[0, "id3"]], "Fixed": [[0, "fixed"], [0, "id5"], [0, "id8"], [0, "id11"], [0, "id16"], [0, "id20"], [0, "id26"], [0, "id30"], [0, "id35"], [0, "id38"], [0, "id43"], [0, "id46"], [0, "id49"], [0, "id52"], [0, "id56"], [0, "id59"], [0, "id64"]], "0.22.0": [[0, "id4"]], "Added": [[0, "added"], [0, "id9"], [0, "id13"], [0, "id15"], [0, "id23"], [0, "id29"], [0, "id34"], [0, "id37"], [0, "id42"], [0, "id45"], [0, "id48"], [0, "id51"], [0, "id55"], [0, "id58"], [0, "id63"]], "Changed": [[0, "changed"], [0, "id17"], [0, "id31"], [0, "id53"], [0, "id60"], [0, "id65"]], "0.21": [[0, "id6"]], "0.21.7 <../0.21.7>`_ - 2024-10-14": [[0, "id7"]], "0.21.6 <../0.21.6>`_ - 2024-08-17": [[0, "id10"]], "0.21.5 <../0.21.5>`_ - 2024-07-18": [[0, "id12"]], "0.21.4 <../0.21.4>`_ - 2024-07-03": [[0, "id14"]], "0.21.3 - 2024-06-01": [[0, "id19"]], "0.21.2 - 2024-05-25": [[0, "id22"]], "0.21.1 - 2024-05-24": [[0, "id25"]], "0.21.0 - 2024-05-23": [[0, "id28"]], "Breaking Changes": [[0, "breaking-changes"], [0, "id39"]], "0.20": [[0, "id32"]], "0.20.1": [[0, "id33"]], "0.20.0": [[0, "id36"]], "0.19": [[0, "id40"]], "0.19.3": [[0, "id41"]], "0.19.2": [[0, "id44"]], "0.19.1": [[0, "id47"]], "0.19.0": [[0, "id50"]], "Deprecated": [[0, "deprecated"]], "0.18.1": [[0, "id54"]], "0.18.0": [[0, "id57"]], "Removed": [[0, "removed"]], "0.17": [[0, "id61"]], "0.17.8": [[0, "id62"]], "0.17.7": [[0, "id66"]], "0.17.6": [[0, "id67"]], "0.17.5": [[0, "id68"]], "0.17.4": [[0, "id69"]], "0.17.3": [[0, "id70"]], "0.17.2": [[0, "id71"]], "0.17.1": [[0, "id72"]], "0.17.0": [[0, "id73"]], "0.16": [[0, "id74"]], "0.16.21": [[0, "id75"]], "0.16.20": [[0, "id76"]], "0.16.19": [[0, "id77"]], "0.16.18": [[0, "id78"]], "0.16.17": [[0, "id79"]], "0.16.16": [[0, "id80"]], "0.16.15": [[0, "id81"]], "0.16.14": [[0, "id82"]], "0.16.13": [[0, "id83"]], "0.16.12": [[0, "id84"]], "0.16.11": [[0, "id85"]], "0.16.10": [[0, "id86"]], "0.16.9": [[0, "id87"]], "0.16.8": [[0, "id88"]], "0.16.7": [[0, "id89"]], "0.16.6": [[0, "id90"]], "Warning": [[0, null], [0, null], [44, null], [44, null], [44, null]], "Security fixes": [[0, "security-fixes"]], "Other changes": [[0, "other-changes"]], "0.16.5": [[0, "id91"]], "0.16.4": [[0, "id92"]], "0.16.3": [[0, "id93"]], "0.16.2": [[0, "id94"]], "0.16.1": [[0, "id95"]], "0.16.0": [[0, "id96"]], "Caution": [[0, null], [0, null], [0, null], [18, null]], "New features:": [[0, "new-features"], [0, "id123"]], "Bugfixes:": [[0, "bugfixes"], [0, "id124"], [0, "id129"], [0, "id147"]], "Removals:": [[0, "removals"]], "0.15": [[0, "id97"]], "0.15.24": [[0, "id98"]], "0.15.23": [[0, "id99"]], "0.15.22": [[0, "id100"]], "0.15.21": [[0, "id101"]], "0.15.20": [[0, "id102"]], "0.15.19": [[0, "id103"]], "0.15.18": [[0, "id104"]], "0.15.17": [[0, "id105"]], "0.15.16": [[0, "id106"]], "0.15.15": [[0, "id107"]], "0.15.14": [[0, "id108"]], "0.15.13": [[0, "id109"]], "0.15.12": [[0, "id110"]], "0.15.11": [[0, "id111"]], "0.15.10": [[0, "id112"]], "0.15.9": [[0, "id113"]], "0.15.8": [[0, "id114"]], "0.15.7": [[0, "id115"]], "0.15.6": [[0, "id116"]], "0.15.5": [[0, "id117"]], "0.15.4": [[0, "id118"]], "0.15.3": [[0, "id119"]], "0.15.2": [[0, "id120"]], "0.15.1": [[0, "id121"]], "0.15.0": [[0, "id122"]], "Deprecations:": [[0, "deprecations"], [0, "id130"]], "0.14": [[0, "id125"]], "0.14.2": [[0, "id126"]], "0.14.1": [[0, "id127"]], "0.14.0": [[0, "id128"]], "Enhancements:": [[0, "enhancements"]], "Breaking Changes:": [[0, "id131"]], "0.13": [[0, "id132"]], "0.13.12": [[0, "id133"]], "0.13.11": [[0, "id134"]], "0.13.10": [[0, "id135"]], "0.13.9": [[0, "id136"]], "0.13.8": [[0, "id137"]], "0.13.7": [[0, "id138"]], "0.13.6": [[0, "id139"]], "0.13.5": [[0, "id140"]], "0.13.4": [[0, "id141"]], "0.13.3": [[0, "id142"]], "0.13.2": [[0, "id143"]], "0.13.1": [[0, "id144"]], "0.13.0": [[0, "id145"]], "New Features:": [[0, "id146"]], "Docs/examples:": [[0, "docs-examples"]], "0.12": [[0, "id148"]], "0.12.7 (retracted)": [[0, "retracted"]], "0.12.6 / 0.12.8": [[0, "id149"]], "0.12.5": [[0, "id150"]], "0.12.4": [[0, "id151"]], "0.12.3": [[0, "id152"]], "0.12.2": [[0, "id153"]], "0.12.1": [[0, "id154"]], "Note": [[0, null], [0, null], [0, null], [5, null], [13, null], [13, null], [17, null], [17, null], [29, null], [32, null], [32, null], [33, null], [38, null], [38, null], [38, null], [38, null], [39, null], [44, null]], "0.12.0": [[0, "id155"]], "0.11": [[0, "id156"]], "0.11.13": [[0, "id157"]], "0.11.12": [[0, "id158"]], "0.11.11": [[0, "id159"]], "0.11.10": [[0, "id160"]], "0.11.9": [[0, "id161"]], "0.11.8": [[0, "id162"]], "0.11.7": [[0, "id163"]], "0.11.6": [[0, "id164"]], "0.11.5": [[0, "id165"]], "0.11.4": [[0, "id166"]], "0.11.3": [[0, "id167"]], "0.11.2": [[0, "id168"]], "0.11.1": [[0, "id169"]], "0.11.0": [[0, "id170"]], "0.10": [[0, "id171"]], "0.10.11": [[0, "id172"]], "0.10.10": [[0, "id173"]], "0.10.9": [[0, "id174"]], "0.10.8": [[0, "id175"]], "0.10.7": [[0, "id176"]], "0.10.6": [[0, "id177"]], "0.10.5": [[0, "id178"]], "0.10.4": [[0, "id179"]], "0.10.3": [[0, "id180"]], "0.10.2": [[0, "id181"]], "0.10.1": [[0, "id182"]], "0.10.0": [[0, "id183"]], "0.9 & older": [[0, "older"]], "0.9.4": [[0, "id184"]], "0.9.3": [[0, "id185"]], "0.9.2": [[0, "id186"]], "0.9.1": [[0, "id187"]], "0.9.0": [[0, "id188"]], "0.8.0": [[0, "id189"]], "0.7.0": [[0, "id190"]], "0.6.0": [[0, "id191"]], "0.5.0": [[0, "id192"]], "0.4.0": [[0, "id193"]], "0.3.0": [[0, "id194"]], "0.2.0": [[0, "id195"]], "Contributor Covenant Code of Conduct": [[1, "contributor-covenant-code-of-conduct"]], "Our Pledge": [[1, "our-pledge"]], "Our Standards": [[1, "our-standards"]], "Our Responsibilities": [[1, "our-responsibilities"]], "Scope": [[1, "scope"]], "Enforcement": [[1, "enforcement"]], "Attribution": [[1, "attribution"]], "Contribution Guide": [[2, "contribution-guide"]], "Filing a bug or requesting a feature": [[2, "filing-a-bug-or-requesting-a-feature"]], "Have a chat": [[2, "have-a-chat"]], "Project structure": [[2, "project-structure"]], "Coding Guideline": [[2, "coding-guideline"]], "Priorities": [[2, "priorities"]], "Style": [[2, "style"]], "Running tests": [[2, "running-tests"]], "Different types of tests": [[2, "different-types-of-tests"]], "Things to be aware of when running the test suite": [[2, "things-to-be-aware-of-when-running-the-test-suite"]], "Thanks": [[3, "thanks"]], "Contributors": [[3, "contributors"]], "Special Thanks": [[3, "special-thanks"]], "TortoiseCLI": [[4, "tortoisecli"]], "Quick Start": [[4, "quick-start"], [37, "quick-start"]], "Usage": [[4, "usage"], [10, "usage"], [14, "usage"], [17, "usage"], [30, "usage"], [34, "usage"], [36, "usage"], [37, "usage"], [38, "usage"], [42, "usage"], [49, "usage"]], "Interactive shell": [[4, "interactive-shell"]], "Connections": [[5, "connections"]], "Important": [[5, null], [5, null]], "API Reference": [[5, "api-reference"]], "Contrib": [[6, "contrib"]], "Tortoise-ORM aiohttp integration": [[7, "tortoise-orm-aiohttp-integration"]], "Reference": [[7, "module-tortoise.contrib.aiohttp"], [8, "module-tortoise.contrib.blacksheep"], [9, "module-tortoise.contrib.fastapi"], [14, "module-tortoise.contrib.quart"], [15, "module-tortoise.contrib.sanic"], [16, "module-tortoise.contrib.starlette"], [17, "module-tortoise.contrib.test"], [30, "reference"], [38, "module-tortoise.models"], [40, "reference"], [44, "module-tortoise"], [46, "module-tortoise.timezone"]], "Example": [[7, null], [8, null], [9, null], [9, null], [14, null], [15, null], [16, null], [44, null]], "Tortoise-ORM BlackSheep integration": [[8, "tortoise-orm-blacksheep-integration"]], "Tortoise-ORM FastAPI integration": [[9, "tortoise-orm-fastapi-integration"]], "Linters": [[10, "linters"]], "PyLint plugin": [[10, "pylint-plugin"]], "MySQL": [[11, "mysql"], [30, "module-tortoise.contrib.mysql.fields"]], "Indexes": [[11, "indexes"], [12, "indexes"], [34, "indexes"]], "Fields": [[11, "fields"], [12, "fields"], [30, "fields"]], "Search": [[11, "search"], [12, "search"]], "Postgres": [[12, "postgres"], [30, "module-tortoise.contrib.postgres.fields"]], "Functions": [[12, "functions"], [21, "functions"], [31, "id1"]], "Pydantic serialisation": [[13, "pydantic-serialisation"]], "Tutorial": [[13, "tutorial"], [32, "tutorial"]], "1: Basic usage": [[13, "basic-usage"], [24, "basic-usage"]], "2: Querysets & Lists": [[13, "querysets-lists"], [24, "querysets-lists"]], "3: Relations & Early-init": [[13, "relations-early-init"], [24, "relations-early-init"]], "4: PydanticMeta & Callables": [[13, "pydanticmeta-callables"], [24, "pydanticmeta-callables"]], "Creators": [[13, "module-tortoise.contrib.pydantic.creator"]], "PydanticMeta": [[13, "pydanticmeta"]], "Model classes": [[13, "module-tortoise.contrib.pydantic.base"]], "Tortoise-ORM Quart integration": [[14, "tortoise-orm-quart-integration"]], "Tortoise-ORM Sanic integration": [[15, "tortoise-orm-sanic-integration"]], "Tortoise-ORM Starlette integration": [[16, "tortoise-orm-starlette-integration"]], "UnitTest support": [[17, "unittest-support"]], "Test Runners": [[17, "test-runners"]], "Green": [[17, "green"]], "Py.test": [[17, "py-test"]], "Nose2": [[17, "nose2"]], "Databases": [[18, "databases"]], "DB_URL": [[18, "db-url"]], "Capabilities": [[18, "capabilities"]], "SQLite": [[18, "sqlite"]], "Required Parameters": [[18, "required-parameters"], [18, "id3"], [18, "id5"], [18, "id7"]], "Optional parameters:": [[18, "optional-parameters"], [18, "id4"], [18, "id6"], [18, "id8"]], "PostgreSQL": [[18, "postgresql"]], "MySQL/MariaDB": [[18, "mysql-mariadb"]], "MSSQL/Oracle": [[18, "mssql-oracle"]], "Encoding in Oracle:": [[18, "encoding-in-oracle"]], "Passing in custom SSL Certificates": [[18, "passing-in-custom-ssl-certificates"]], "Base DB client": [[18, "base-db-client"]], "Examples": [[19, "examples"]], "AIOHTTP Example": [[20, "aiohttp-example"]], "models.py": [[20, "models-py"], [22, "models-py"], [23, "models-py"], [25, "models-py"], [26, "models-py"], [27, "models-py"]], "main.py": [[20, "main-py"], [23, "main-py"], [25, "main-py"], [26, "main-py"], [27, "main-py"]], "Simple Examples": [[21, "simple-examples"]], "Basic": [[21, "basic"]], "Comments": [[21, "comments"]], "Prefetching": [[21, "prefetching"]], "Transactions": [[21, "transactions"], [48, "transactions"]], "Group By": [[21, "group-by"]], "Schema creation": [[21, "schema-creation"]], "Two Databases": [[21, "two-databases"]], "Filtering": [[21, "filtering"], [39, "filtering"]], "Relations": [[21, "relations"]], "Relations with Unique field": [[21, "relations-with-unique-field"]], "Recursive Relations": [[21, "recursive-relations"]], "Enumeration Fields": [[21, "enumeration-fields"]], "Model Signals": [[21, "model-signals"]], "Manual SQL": [[21, "manual-sql"]], "Router": [[21, "router"], [42, "router"]], "BlackSheep Examples": [[22, "blacksheep-examples"]], "Basic non-relational example": [[22, "basic-non-relational-example"], [23, "basic-non-relational-example"]], "test_api.py": [[22, "test-api-py"]], "server.py": [[22, "server-py"]], "FastAPI Examples": [[23, "fastapi-examples"]], "tests.py": [[23, "tests-py"]], "Pydantic Examples": [[24, "pydantic-examples"]], "Basic Pydantic": [[24, "basic-pydantic"]], "Early model Init": [[24, "early-model-init"]], "Recursive models + Computed fields": [[24, "recursive-models-computed-fields"]], "Tutorial sources": [[24, "tutorial-sources"]], "Quart Example": [[25, "quart-example"]], "Sanic Example": [[26, "sanic-example"]], "Starlette Example": [[27, "starlette-example"]], "Exceptions": [[28, "module-tortoise.exceptions"]], "Expressions": [[29, "expressions"]], "Q Expression": [[29, "q-expression"]], "F Expression": [[29, "f-expression"]], "Subquery": [[29, "subquery"]], "RawSQL": [[29, "rawsql"]], "Case-When Expression": [[29, "case-when-expression"]], "Base Field": [[30, "module-tortoise.fields.base"]], "Data Fields": [[30, "module-tortoise.fields.data"]], "Relational Fields": [[30, "module-tortoise.fields.relational"]], "DB Specific Fields": [[30, "db-specific-fields"]], "Extending A Field": [[30, "extending-a-field"]], "Functions & Aggregates": [[31, "functions-aggregates"]], "Aggregates": [[31, "aggregates"]], "Base function class": [[31, "module-tortoise.functions"]], "Custom functions": [[31, "custom-functions"]], "Getting started": [[32, "getting-started"]], "Installation": [[32, "installation"]], "Optional Accelerators": [[32, "optional-accelerators"]], "Tortoise ORM": [[33, "tortoise-orm"]], "Introduction": [[33, "introduction"], [46, "introduction"]], "Why was Tortoise ORM built?": [[33, "why-was-tortoise-orm-built"]], "How is an ORM useful?": [[33, "how-is-an-orm-useful"]], "Features": [[33, "features"]], "Clean, familiar python interface": [[33, "clean-familiar-python-interface"]], "Pluggable Database backends": [[33, "pluggable-database-backends"]], "And more": [[33, "and-more"]], "Extending Index": [[34, "extending-index"]], "Logging": [[35, "logging"]], "Manager": [[36, "manager"]], "Migration": [[37, "migration"]], "Initialization": [[37, "initialization"]], "Init db": [[37, "init-db"]], "Update models and make migrate": [[37, "update-models-and-make-migrate"]], "Upgrade to latest version": [[37, "upgrade-to-latest-version"]], "Downgrade to specified version": [[37, "downgrade-to-specified-version"]], "Show history": [[37, "show-history"]], "Show heads to be migrated": [[37, "show-heads-to-be-migrated"]], "Models": [[38, "models"]], "Use of __models__": [[38, "use-of-models"]], "Primary Keys": [[38, "primary-keys"]], "Inheritance": [[38, "inheritance"]], "The Meta class": [[38, "the-meta-class"]], "ForeignKeyField": [[38, "foreignkeyfield"]], "The DB-backing field": [[38, "the-db-backing-field"]], "Fetching the foreign object": [[38, "fetching-the-foreign-object"]], "ManyToManyField": [[38, "manytomanyfield"]], "Improving relational type hinting": [[38, "improving-relational-type-hinting"]], "Query API": [[39, "query-api"]], "QuerySet": [[39, "queryset"]], "Foreign Key": [[39, "foreign-key"]], "One to One": [[39, "one-to-one"]], "Many to Many": [[39, "many-to-many"]], "Complex prefetch": [[39, "complex-prefetch"]], "Roadmap": [[41, "roadmap"]], "Short-term": [[41, "short-term"]], "Mid-term": [[41, "mid-term"]], "Long-term": [[41, "long-term"]], "Define Router": [[42, "define-router"]], "Config Router": [[42, "config-router"]], "Schema Creation": [[43, "schema-creation"]], "Helper Functions": [[43, "module-tortoise.utils"]], "Set up": [[44, "set-up"]], "Init app": [[44, "init-app"]], "The Importance of cleaning up": [[44, "the-importance-of-cleaning-up"]], "Signals": [[45, "signals"]], "Timezone": [[46, "timezone"]], "use_tz": [[46, "use-tz"]], "timezone": [[46, "id2"]], "Table Of Contents": [[47, "table-of-contents"]], "Validators": [[49, "validators"]], "Built-in Validators": [[49, "built-in-validators"]], "Custom Validator": [[49, "custom-validator"]]}, "indexentries": {"connectionhandler (class in tortoise.connection)": [[5, "tortoise.connection.ConnectionHandler"]], "all() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.all"]], "close_all() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.close_all"]], "db_config (tortoise.connection.connectionhandler property)": [[5, "tortoise.connection.ConnectionHandler.db_config"]], "discard() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.discard"]], "get() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.get"]], "module": [[5, "module-tortoise.connection"], [7, "module-tortoise.contrib.aiohttp"], [8, "module-tortoise.contrib.blacksheep"], [9, "module-tortoise.contrib.fastapi"], [13, "module-tortoise.contrib.pydantic.base"], [13, "module-tortoise.contrib.pydantic.creator"], [14, "module-tortoise.contrib.quart"], [15, "module-tortoise.contrib.sanic"], [16, "module-tortoise.contrib.starlette"], [17, "module-tortoise.contrib.test"], [18, "module-tortoise.backends.base.client"], [28, "module-tortoise.exceptions"], [29, "module-tortoise.expressions"], [30, "module-tortoise.contrib.mysql.fields"], [30, "module-tortoise.contrib.postgres.fields"], [30, "module-tortoise.fields.base"], [30, "module-tortoise.fields.data"], [30, "module-tortoise.fields.relational"], [31, "module-tortoise.functions"], [38, "module-tortoise.models"], [39, "module-tortoise.queryset"], [43, "module-tortoise.utils"], [44, "module-tortoise"], [45, "module-tortoise.signals"], [46, "module-tortoise.timezone"], [48, "module-tortoise.transactions"], [49, "module-tortoise.validators"]], "reset() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.reset"]], "set() (tortoise.connection.connectionhandler method)": [[5, "tortoise.connection.ConnectionHandler.set"]], "tortoise.connection": [[5, "module-tortoise.connection"]], "register_tortoise() (in module tortoise.contrib.aiohttp)": [[7, "tortoise.contrib.aiohttp.register_tortoise"]], "tortoise.contrib.aiohttp": [[7, "module-tortoise.contrib.aiohttp"]], "register_tortoise() (in module tortoise.contrib.blacksheep)": [[8, "tortoise.contrib.blacksheep.register_tortoise"]], "tortoise.contrib.blacksheep": [[8, "module-tortoise.contrib.blacksheep"]], "httpnotfounderror (class in tortoise.contrib.fastapi)": [[9, "tortoise.contrib.fastapi.HTTPNotFoundError"]], "registertortoise (class in tortoise.contrib.fastapi)": [[9, "tortoise.contrib.fastapi.RegisterTortoise"]], "close_orm() (tortoise.contrib.fastapi.registertortoise static method)": [[9, "tortoise.contrib.fastapi.RegisterTortoise.close_orm"]], "detail (tortoise.contrib.fastapi.httpnotfounderror attribute)": [[9, "tortoise.contrib.fastapi.HTTPNotFoundError.detail"]], "init_orm() (tortoise.contrib.fastapi.registertortoise method)": [[9, "tortoise.contrib.fastapi.RegisterTortoise.init_orm"]], "model_computed_fields (tortoise.contrib.fastapi.httpnotfounderror attribute)": [[9, "tortoise.contrib.fastapi.HTTPNotFoundError.model_computed_fields"]], "model_config (tortoise.contrib.fastapi.httpnotfounderror attribute)": [[9, "tortoise.contrib.fastapi.HTTPNotFoundError.model_config"]], "model_fields (tortoise.contrib.fastapi.httpnotfounderror attribute)": [[9, "tortoise.contrib.fastapi.HTTPNotFoundError.model_fields"]], "register_tortoise() (in module tortoise.contrib.fastapi)": [[9, "tortoise.contrib.fastapi.register_tortoise"]], "tortoise.contrib.fastapi": [[9, "module-tortoise.contrib.fastapi"]], "fulltextindex (class in tortoise.contrib.mysql.indexes)": [[11, "tortoise.contrib.mysql.indexes.FullTextIndex"]], "geometryfield (class in tortoise.contrib.mysql.fields)": [[11, "tortoise.contrib.mysql.fields.GeometryField"], [30, "tortoise.contrib.mysql.fields.GeometryField"]], "searchcriterion (class in tortoise.contrib.mysql.search)": [[11, "tortoise.contrib.mysql.search.SearchCriterion"]], "spatialindex (class in tortoise.contrib.mysql.indexes)": [[11, "tortoise.contrib.mysql.indexes.SpatialIndex"]], "uuidfield (class in tortoise.contrib.mysql.fields)": [[11, "tortoise.contrib.mysql.fields.UUIDField"], [30, "tortoise.contrib.mysql.fields.UUIDField"]], "arrayfield (class in tortoise.contrib.postgres.fields)": [[12, "tortoise.contrib.postgres.fields.ArrayField"]], "bloomindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.BloomIndex"]], "brinindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.BrinIndex"]], "ginindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.GinIndex"]], "gistindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.GistIndex"]], "hashindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.HashIndex"]], "plaintotsquery (class in tortoise.contrib.postgres.functions)": [[12, "tortoise.contrib.postgres.functions.PlainToTsQuery"]], "searchcriterion (class in tortoise.contrib.postgres.search)": [[12, "tortoise.contrib.postgres.search.SearchCriterion"]], "spgistindex (class in tortoise.contrib.postgres.indexes)": [[12, "tortoise.contrib.postgres.indexes.SpGistIndex"]], "tsvectorfield (class in tortoise.contrib.postgres.fields)": [[12, "tortoise.contrib.postgres.fields.TSVectorField"], [30, "tortoise.contrib.postgres.fields.TSVectorField"]], "totsquery (class in tortoise.contrib.postgres.functions)": [[12, "tortoise.contrib.postgres.functions.ToTsQuery"]], "totsvector (class in tortoise.contrib.postgres.functions)": [[12, "tortoise.contrib.postgres.functions.ToTsVector"]], "fieldmap (class in tortoise.contrib.pydantic.creator)": [[13, "tortoise.contrib.pydantic.creator.FieldMap"]], "pydanticlistmodel (class in tortoise.contrib.pydantic.base)": [[13, "tortoise.contrib.pydantic.base.PydanticListModel"]], "pydanticmodel (class in tortoise.contrib.pydantic.base)": [[13, "tortoise.contrib.pydantic.base.PydanticModel"]], "from_queryset() (tortoise.contrib.pydantic.base.pydanticlistmodel class method)": [[13, "tortoise.contrib.pydantic.base.PydanticListModel.from_queryset"]], "from_queryset() (tortoise.contrib.pydantic.base.pydanticmodel class method)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.from_queryset"]], "from_queryset_single() (tortoise.contrib.pydantic.base.pydanticmodel class method)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.from_queryset_single"]], "from_tortoise_orm() (tortoise.contrib.pydantic.base.pydanticmodel class method)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.from_tortoise_orm"]], "model_computed_fields (tortoise.contrib.pydantic.base.pydanticlistmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticListModel.model_computed_fields"]], "model_computed_fields (tortoise.contrib.pydantic.base.pydanticmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.model_computed_fields"]], "model_config (tortoise.contrib.pydantic.base.pydanticlistmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticListModel.model_config"]], "model_config (tortoise.contrib.pydantic.base.pydanticmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.model_config"]], "model_fields (tortoise.contrib.pydantic.base.pydanticlistmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticListModel.model_fields"]], "model_fields (tortoise.contrib.pydantic.base.pydanticmodel attribute)": [[13, "tortoise.contrib.pydantic.base.PydanticModel.model_fields"]], "pydantic_model_creator() (in module tortoise.contrib.pydantic.creator)": [[13, "tortoise.contrib.pydantic.creator.pydantic_model_creator"]], "pydantic_queryset_creator() (in module tortoise.contrib.pydantic.creator)": [[13, "tortoise.contrib.pydantic.creator.pydantic_queryset_creator"]], "tortoise.contrib.pydantic.base": [[13, "module-tortoise.contrib.pydantic.base"]], "tortoise.contrib.pydantic.creator": [[13, "module-tortoise.contrib.pydantic.creator"]], "register_tortoise() (in module tortoise.contrib.quart)": [[14, "tortoise.contrib.quart.register_tortoise"]], "tortoise.contrib.quart": [[14, "module-tortoise.contrib.quart"]], "register_tortoise() (in module tortoise.contrib.sanic)": [[15, "tortoise.contrib.sanic.register_tortoise"]], "tortoise.contrib.sanic": [[15, "module-tortoise.contrib.sanic"]], "register_tortoise() (in module tortoise.contrib.starlette)": [[16, "tortoise.contrib.starlette.register_tortoise"]], "tortoise.contrib.starlette": [[16, "module-tortoise.contrib.starlette"]], "isolatedtestcase (class in tortoise.contrib.test)": [[17, "tortoise.contrib.test.IsolatedTestCase"]], "simpletestcase (class in tortoise.contrib.test)": [[17, "tortoise.contrib.test.SimpleTestCase"]], "skiptest": [[17, "tortoise.contrib.test.SkipTest"]], "testcase (class in tortoise.contrib.test)": [[17, "tortoise.contrib.test.TestCase"]], "truncationtestcase (class in tortoise.contrib.test)": [[17, "tortoise.contrib.test.TruncationTestCase"]], "assertlistsortequal() (tortoise.contrib.test.simpletestcase method)": [[17, "tortoise.contrib.test.SimpleTestCase.assertListSortEqual"]], "asyncsetup() (tortoise.contrib.test.simpletestcase method)": [[17, "tortoise.contrib.test.SimpleTestCase.asyncSetUp"]], "asyncsetup() (tortoise.contrib.test.testcase method)": [[17, "tortoise.contrib.test.TestCase.asyncSetUp"]], "asyncteardown() (tortoise.contrib.test.simpletestcase method)": [[17, "tortoise.contrib.test.SimpleTestCase.asyncTearDown"]], "asyncteardown() (tortoise.contrib.test.testcase method)": [[17, "tortoise.contrib.test.TestCase.asyncTearDown"]], "env_initializer() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.env_initializer"]], "expectedfailure() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.expectedFailure"]], "finalizer() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.finalizer"]], "getdbconfig() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.getDBConfig"]], "init_memory_sqlite() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.init_memory_sqlite"]], "initializer() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.initializer"]], "requirecapability() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.requireCapability"]], "skip() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.skip"]], "skipif() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.skipIf"]], "skipunless() (in module tortoise.contrib.test)": [[17, "tortoise.contrib.test.skipUnless"]], "tortoise.contrib.test": [[17, "module-tortoise.contrib.test"]], "tortoise_test_modules (tortoise.contrib.test.isolatedtestcase attribute)": [[17, "tortoise.contrib.test.IsolatedTestCase.tortoise_test_modules"]], "basedbasyncclient (class in tortoise.backends.base.client)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient"]], "capabilities (class in tortoise.backends.base.client)": [[18, "tortoise.backends.base.client.Capabilities"]], "acquire_connection() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.acquire_connection"]], "capabilities (tortoise.backends.base.client.basedbasyncclient attribute)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.capabilities"]], "close() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.close"]], "create_connection() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.create_connection"]], "db_create() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.db_create"]], "db_delete() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.db_delete"]], "execute_insert() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.execute_insert"]], "execute_many() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.execute_many"]], "execute_query() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.execute_query"]], "execute_query_dict() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.execute_query_dict"]], "execute_script() (tortoise.backends.base.client.basedbasyncclient method)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.execute_script"]], "executor_class (tortoise.backends.base.client.basedbasyncclient attribute)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.executor_class"]], "query_class (tortoise.backends.base.client.basedbasyncclient attribute)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.query_class"]], "schema_generator (tortoise.backends.base.client.basedbasyncclient attribute)": [[18, "tortoise.backends.base.client.BaseDBAsyncClient.schema_generator"]], "tortoise.backends.base.client": [[18, "module-tortoise.backends.base.client"]], "baseormexception": [[28, "tortoise.exceptions.BaseORMException"]], "configurationerror": [[28, "tortoise.exceptions.ConfigurationError"]], "dbconnectionerror": [[28, "tortoise.exceptions.DBConnectionError"]], "doesnotexist": [[28, "tortoise.exceptions.DoesNotExist"]], "fielderror": [[28, "tortoise.exceptions.FieldError"]], "incompleteinstanceerror": [[28, "tortoise.exceptions.IncompleteInstanceError"]], "integrityerror": [[28, "tortoise.exceptions.IntegrityError"]], "multipleobjectsreturned": [[28, "tortoise.exceptions.MultipleObjectsReturned"]], "novaluesfetched": [[28, "tortoise.exceptions.NoValuesFetched"]], "notexistormultiple": [[28, "tortoise.exceptions.NotExistOrMultiple"]], "objectdoesnotexisterror": [[28, "tortoise.exceptions.ObjectDoesNotExistError"]], "operationalerror": [[28, "tortoise.exceptions.OperationalError"]], "paramserror": [[28, "tortoise.exceptions.ParamsError"]], "template (tortoise.exceptions.doesnotexist attribute)": [[28, "tortoise.exceptions.DoesNotExist.TEMPLATE"]], "template (tortoise.exceptions.multipleobjectsreturned attribute)": [[28, "tortoise.exceptions.MultipleObjectsReturned.TEMPLATE"]], "template (tortoise.exceptions.notexistormultiple attribute)": [[28, "tortoise.exceptions.NotExistOrMultiple.TEMPLATE"]], "transactionmanagementerror": [[28, "tortoise.exceptions.TransactionManagementError"]], "unsupportederror": [[28, "tortoise.exceptions.UnSupportedError"]], "validationerror": [[28, "tortoise.exceptions.ValidationError"]], "tortoise.exceptions": [[28, "module-tortoise.exceptions"]], "and (tortoise.expressions.q attribute)": [[29, "tortoise.expressions.Q.AND"]], "case (class in tortoise.expressions)": [[29, "tortoise.expressions.Case"]], "or (tortoise.expressions.q attribute)": [[29, "tortoise.expressions.Q.OR"]], "q (class in tortoise.expressions)": [[29, "tortoise.expressions.Q"]], "when (class in tortoise.expressions)": [[29, "tortoise.expressions.When"]], "__and__() (tortoise.expressions.q method)": [[29, "tortoise.expressions.Q.__and__"]], "__invert__() (tortoise.expressions.q method)": [[29, "tortoise.expressions.Q.__invert__"]], "__or__() (tortoise.expressions.q method)": [[29, "tortoise.expressions.Q.__or__"]], "children (tortoise.expressions.q attribute)": [[29, "tortoise.expressions.Q.children"]], "filters (tortoise.expressions.q attribute)": [[29, "tortoise.expressions.Q.filters"]], "join_type (tortoise.expressions.q attribute)": [[29, "tortoise.expressions.Q.join_type"]], "negate() (tortoise.expressions.q method)": [[29, "tortoise.expressions.Q.negate"]], "resolve() (tortoise.expressions.q method)": [[29, "tortoise.expressions.Q.resolve"]], "tortoise.expressions": [[29, "module-tortoise.expressions"]], "bigintfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.BigIntField"]], "binaryfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.BinaryField"]], "booleanfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.BooleanField"]], "cascade (tortoise.fields.base.ondelete attribute)": [[30, "tortoise.fields.base.OnDelete.CASCADE"]], "charenumfield() (in module tortoise.fields.data)": [[30, "tortoise.fields.data.CharEnumField"]], "charfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.CharField"]], "datefield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.DateField"]], "datetimefield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.DatetimeField"]], "decimalfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.DecimalField"]], "field (class in tortoise.fields.base)": [[30, "tortoise.fields.base.Field"]], "floatfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.FloatField"]], "foreignkeyfield() (in module tortoise.fields.relational)": [[30, "tortoise.fields.relational.ForeignKeyField"]], "generated_sql (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.GENERATED_SQL"]], "intenumfield() (in module tortoise.fields.data)": [[30, "tortoise.fields.data.IntEnumField"]], "intfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.IntField"]], "jsonfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.JSONField"]], "manytomanyfield() (in module tortoise.fields.relational)": [[30, "tortoise.fields.relational.ManyToManyField"]], "no_action (tortoise.fields.base.ondelete attribute)": [[30, "tortoise.fields.base.OnDelete.NO_ACTION"]], "ondelete (class in tortoise.fields.base)": [[30, "tortoise.fields.base.OnDelete"]], "onetoonefield() (in module tortoise.fields.relational)": [[30, "tortoise.fields.relational.OneToOneField"]], "restrict (tortoise.fields.base.ondelete attribute)": [[30, "tortoise.fields.base.OnDelete.RESTRICT"]], "set_default (tortoise.fields.base.ondelete attribute)": [[30, "tortoise.fields.base.OnDelete.SET_DEFAULT"]], "set_null (tortoise.fields.base.ondelete attribute)": [[30, "tortoise.fields.base.OnDelete.SET_NULL"]], "sql_type (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.SQL_TYPE"]], "smallintfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.SmallIntField"]], "strenum (class in tortoise.fields.base)": [[30, "tortoise.fields.base.StrEnum"]], "textfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.TextField"]], "timedeltafield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.TimeDeltaField"]], "uuidfield (class in tortoise.fields.data)": [[30, "tortoise.fields.data.UUIDField"]], "allows_generated (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.allows_generated"]], "constraints (tortoise.fields.base.field property)": [[30, "tortoise.fields.base.Field.constraints"]], "constraints (tortoise.fields.data.bigintfield property)": [[30, "tortoise.fields.data.BigIntField.constraints"]], "constraints (tortoise.fields.data.charfield property)": [[30, "tortoise.fields.data.CharField.constraints"]], "constraints (tortoise.fields.data.datetimefield property)": [[30, "tortoise.fields.data.DatetimeField.constraints"]], "constraints (tortoise.fields.data.intfield property)": [[30, "tortoise.fields.data.IntField.constraints"]], "constraints (tortoise.fields.data.smallintfield property)": [[30, "tortoise.fields.data.SmallIntField.constraints"]], "describe() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.describe"]], "describe() (tortoise.fields.data.datetimefield method)": [[30, "tortoise.fields.data.DatetimeField.describe"]], "field_type (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.field_type"]], "field_type (tortoise.fields.data.binaryfield attribute)": [[30, "tortoise.fields.data.BinaryField.field_type"]], "field_type (tortoise.fields.data.booleanfield attribute)": [[30, "tortoise.fields.data.BooleanField.field_type"]], "field_type (tortoise.fields.data.charfield attribute)": [[30, "tortoise.fields.data.CharField.field_type"]], "field_type (tortoise.fields.data.datefield attribute)": [[30, "tortoise.fields.data.DateField.field_type"]], "field_type (tortoise.fields.data.datetimefield attribute)": [[30, "tortoise.fields.data.DatetimeField.field_type"]], "field_type (tortoise.fields.data.decimalfield attribute)": [[30, "tortoise.fields.data.DecimalField.field_type"]], "field_type (tortoise.fields.data.floatfield attribute)": [[30, "tortoise.fields.data.FloatField.field_type"]], "field_type (tortoise.fields.data.intfield attribute)": [[30, "tortoise.fields.data.IntField.field_type"]], "field_type (tortoise.fields.data.textfield attribute)": [[30, "tortoise.fields.data.TextField.field_type"]], "field_type (tortoise.fields.data.timedeltafield attribute)": [[30, "tortoise.fields.data.TimeDeltaField.field_type"]], "field_type (tortoise.fields.data.uuidfield attribute)": [[30, "tortoise.fields.data.UUIDField.field_type"]], "function_cast (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.function_cast"]], "get_db_field_types() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.get_db_field_types"]], "get_for_dialect() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.get_for_dialect"]], "has_db_field (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.has_db_field"]], "indexable (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.indexable"]], "required (tortoise.fields.base.field property)": [[30, "tortoise.fields.base.Field.required"]], "skip_to_python_if_native (tortoise.fields.base.field attribute)": [[30, "tortoise.fields.base.Field.skip_to_python_if_native"]], "to_db_value() (tortoise.contrib.mysql.fields.uuidfield method)": [[30, "tortoise.contrib.mysql.fields.UUIDField.to_db_value"]], "to_db_value() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.to_db_value"]], "to_python_value() (tortoise.contrib.mysql.fields.uuidfield method)": [[30, "tortoise.contrib.mysql.fields.UUIDField.to_python_value"]], "to_python_value() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.to_python_value"]], "tortoise.contrib.mysql.fields": [[30, "module-tortoise.contrib.mysql.fields"]], "tortoise.contrib.postgres.fields": [[30, "module-tortoise.contrib.postgres.fields"]], "tortoise.fields.base": [[30, "module-tortoise.fields.base"]], "tortoise.fields.data": [[30, "module-tortoise.fields.data"]], "tortoise.fields.relational": [[30, "module-tortoise.fields.relational"]], "validate() (tortoise.fields.base.field method)": [[30, "tortoise.fields.base.Field.validate"]], "aggregate (class in tortoise.functions)": [[31, "tortoise.functions.Aggregate"]], "avg (class in tortoise.functions)": [[31, "tortoise.functions.Avg"]], "coalesce (class in tortoise.functions)": [[31, "tortoise.functions.Coalesce"]], "concat (class in tortoise.functions)": [[31, "tortoise.functions.Concat"]], "count (class in tortoise.functions)": [[31, "tortoise.functions.Count"]], "function (class in tortoise.functions)": [[31, "tortoise.functions.Function"]], "length (class in tortoise.functions)": [[31, "tortoise.functions.Length"]], "lower (class in tortoise.functions)": [[31, "tortoise.functions.Lower"]], "max (class in tortoise.functions)": [[31, "tortoise.functions.Max"]], "min (class in tortoise.functions)": [[31, "tortoise.functions.Min"]], "rand (class in tortoise.contrib.mysql.functions)": [[31, "tortoise.contrib.mysql.functions.Rand"]], "random (class in tortoise.contrib.postgres.functions)": [[31, "tortoise.contrib.postgres.functions.Random"]], "random (class in tortoise.contrib.sqlite.functions)": [[31, "tortoise.contrib.sqlite.functions.Random"]], "sum (class in tortoise.functions)": [[31, "tortoise.functions.Sum"]], "trim (class in tortoise.functions)": [[31, "tortoise.functions.Trim"]], "upper (class in tortoise.functions)": [[31, "tortoise.functions.Upper"]], "database_func (tortoise.functions.function attribute)": [[31, "tortoise.functions.Function.database_func"]], "populate_field_object (tortoise.functions.function attribute)": [[31, "tortoise.functions.Function.populate_field_object"]], "resolve() (tortoise.functions.function method)": [[31, "tortoise.functions.Function.resolve"]], "tortoise.functions": [[31, "module-tortoise.functions"]], "meta (class in tortoise.models.model)": [[38, "tortoise.models.Model.Meta"]], "model (class in tortoise.models)": [[38, "tortoise.models.Model"]], "model.meta (class in tortoise.models)": [[38, "id0"]], "abstract (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.abstract"]], "all() (tortoise.models.model class method)": [[38, "tortoise.models.Model.all"]], "annotate() (tortoise.models.model class method)": [[38, "tortoise.models.Model.annotate"]], "bulk_create() (tortoise.models.model class method)": [[38, "tortoise.models.Model.bulk_create"]], "bulk_update() (tortoise.models.model class method)": [[38, "tortoise.models.Model.bulk_update"]], "clone() (tortoise.models.model method)": [[38, "tortoise.models.Model.clone"]], "create() (tortoise.models.model class method)": [[38, "tortoise.models.Model.create"]], "delete() (tortoise.models.model method)": [[38, "tortoise.models.Model.delete"]], "describe() (tortoise.models.model class method)": [[38, "tortoise.models.Model.describe"]], "earliest() (tortoise.models.model class method)": [[38, "tortoise.models.Model.earliest"]], "exclude() (tortoise.models.model class method)": [[38, "tortoise.models.Model.exclude"]], "exists() (tortoise.models.model class method)": [[38, "tortoise.models.Model.exists"]], "fetch_for_list() (tortoise.models.model class method)": [[38, "tortoise.models.Model.fetch_for_list"]], "fetch_related() (tortoise.models.model method)": [[38, "tortoise.models.Model.fetch_related"]], "filter() (tortoise.models.model class method)": [[38, "tortoise.models.Model.filter"]], "first() (tortoise.models.model class method)": [[38, "tortoise.models.Model.first"]], "get() (tortoise.models.model class method)": [[38, "tortoise.models.Model.get"]], "get_or_create() (tortoise.models.model class method)": [[38, "tortoise.models.Model.get_or_create"]], "get_or_none() (tortoise.models.model class method)": [[38, "tortoise.models.Model.get_or_none"]], "in_bulk() (tortoise.models.model class method)": [[38, "tortoise.models.Model.in_bulk"]], "indexes (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.indexes"]], "last() (tortoise.models.model class method)": [[38, "tortoise.models.Model.last"]], "latest() (tortoise.models.model class method)": [[38, "tortoise.models.Model.latest"]], "manager (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.manager"]], "ordering (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.ordering"]], "pk (tortoise.models.model property)": [[38, "tortoise.models.Model.pk"]], "raw() (tortoise.models.model class method)": [[38, "tortoise.models.Model.raw"]], "refresh_from_db() (tortoise.models.model method)": [[38, "tortoise.models.Model.refresh_from_db"]], "register_listener() (tortoise.models.model class method)": [[38, "tortoise.models.Model.register_listener"]], "save() (tortoise.models.model method)": [[38, "tortoise.models.Model.save"]], "schema (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.schema"]], "select_for_update() (tortoise.models.model class method)": [[38, "tortoise.models.Model.select_for_update"]], "table (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.table"]], "table_description (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.table_description"]], "tortoise.models": [[38, "module-tortoise.models"]], "unique_together (tortoise.models.model.meta attribute)": [[38, "tortoise.models.Model.Meta.unique_together"]], "update_from_dict() (tortoise.models.model method)": [[38, "tortoise.models.Model.update_from_dict"]], "update_or_create() (tortoise.models.model class method)": [[38, "tortoise.models.Model.update_or_create"]], "bulkcreatequery (class in tortoise.queryset)": [[39, "tortoise.queryset.BulkCreateQuery"]], "bulkupdatequery (class in tortoise.queryset)": [[39, "tortoise.queryset.BulkUpdateQuery"]], "countquery (class in tortoise.queryset)": [[39, "tortoise.queryset.CountQuery"]], "deletequery (class in tortoise.queryset)": [[39, "tortoise.queryset.DeleteQuery"]], "existsquery (class in tortoise.queryset)": [[39, "tortoise.queryset.ExistsQuery"]], "fieldselectquery (class in tortoise.queryset)": [[39, "tortoise.queryset.FieldSelectQuery"]], "foreignkeynullablerelation (in module tortoise.fields.relational)": [[39, "tortoise.fields.relational.ForeignKeyNullableRelation"]], "foreignkeyrelation (in module tortoise.fields.relational)": [[39, "tortoise.fields.relational.ForeignKeyRelation"]], "manytomanyrelation (class in tortoise.fields.relational)": [[39, "tortoise.fields.relational.ManyToManyRelation"]], "onetoonenullablerelation (in module tortoise.fields.relational)": [[39, "tortoise.fields.relational.OneToOneNullableRelation"]], "onetoonerelation (in module tortoise.fields.relational)": [[39, "tortoise.fields.relational.OneToOneRelation"]], "prefetch (class in tortoise.query_utils)": [[39, "tortoise.query_utils.Prefetch"]], "queryset (class in tortoise.queryset)": [[39, "tortoise.queryset.QuerySet"]], "querysetsingle (class in tortoise.queryset)": [[39, "tortoise.queryset.QuerySetSingle"]], "rawsqlquery (class in tortoise.queryset)": [[39, "tortoise.queryset.RawSQLQuery"]], "reverserelation (class in tortoise.fields.relational)": [[39, "tortoise.fields.relational.ReverseRelation"]], "updatequery (class in tortoise.queryset)": [[39, "tortoise.queryset.UpdateQuery"]], "valueslistquery (class in tortoise.queryset)": [[39, "tortoise.queryset.ValuesListQuery"]], "valuesquery (class in tortoise.queryset)": [[39, "tortoise.queryset.ValuesQuery"]], "__getitem__() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.__getitem__"]], "add() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.add"]], "all() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.all"]], "all() (tortoise.fields.relational.reverserelation method)": [[39, "tortoise.fields.relational.ReverseRelation.all"]], "all() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.all"]], "annotate() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.annotate"]], "bulk_create() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.bulk_create"]], "bulk_update() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.bulk_update"]], "clear() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.clear"]], "count() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.count"]], "delete() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.delete"]], "distinct() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.distinct"]], "earliest() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.earliest"]], "exclude() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.exclude"]], "exists() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.exists"]], "explain() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.explain"]], "filter() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.filter"]], "filter() (tortoise.fields.relational.reverserelation method)": [[39, "tortoise.fields.relational.ReverseRelation.filter"]], "filter() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.filter"]], "first() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.first"]], "force_index() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.force_index"]], "get() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.get"]], "get_or_none() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.get_or_none"]], "group_by() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.group_by"]], "in_bulk() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.in_bulk"]], "last() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.last"]], "latest() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.latest"]], "limit() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.limit"]], "limit() (tortoise.fields.relational.reverserelation method)": [[39, "tortoise.fields.relational.ReverseRelation.limit"]], "limit() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.limit"]], "offset() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.offset"]], "offset() (tortoise.fields.relational.reverserelation method)": [[39, "tortoise.fields.relational.ReverseRelation.offset"]], "offset() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.offset"]], "only() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.only"]], "order_by() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.order_by"]], "order_by() (tortoise.fields.relational.reverserelation method)": [[39, "tortoise.fields.relational.ReverseRelation.order_by"]], "order_by() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.order_by"]], "prefetch_related() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.prefetch_related"]], "raw() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.raw"]], "remove() (tortoise.fields.relational.manytomanyrelation method)": [[39, "tortoise.fields.relational.ManyToManyRelation.remove"]], "resolve_filters() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.resolve_filters"]], "resolve_for_queryset() (tortoise.query_utils.prefetch method)": [[39, "tortoise.query_utils.Prefetch.resolve_for_queryset"]], "resolve_ordering() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.resolve_ordering"]], "select_for_update() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.select_for_update"]], "select_related() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.select_related"]], "sql() (tortoise.queryset.bulkcreatequery method)": [[39, "tortoise.queryset.BulkCreateQuery.sql"]], "sql() (tortoise.queryset.bulkupdatequery method)": [[39, "tortoise.queryset.BulkUpdateQuery.sql"]], "sql() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.sql"]], "tortoise.queryset": [[39, "module-tortoise.queryset"]], "update() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.update"]], "use_index() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.use_index"]], "using_db() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.using_db"]], "values() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.values"]], "values_list() (tortoise.queryset.queryset method)": [[39, "tortoise.queryset.QuerySet.values_list"]], "generate_schema_for_client() (in module tortoise.utils)": [[43, "tortoise.utils.generate_schema_for_client"]], "get_schema_sql() (in module tortoise.utils)": [[43, "tortoise.utils.get_schema_sql"]], "tortoise.utils": [[43, "module-tortoise.utils"]], "basedbasyncclient (class in tortoise)": [[44, "tortoise.BaseDBAsyncClient"]], "model (class in tortoise)": [[44, "tortoise.Model"]], "model.meta (class in tortoise)": [[44, "tortoise.Model.Meta"]], "tortoise (class in tortoise)": [[44, "tortoise.Tortoise"]], "acquire_connection() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.acquire_connection"]], "all() (tortoise.model class method)": [[44, "tortoise.Model.all"]], "annotate() (tortoise.model class method)": [[44, "tortoise.Model.annotate"]], "apps (tortoise.tortoise attribute)": [[44, "tortoise.Tortoise.apps"]], "bulk_create() (tortoise.model class method)": [[44, "tortoise.Model.bulk_create"]], "bulk_update() (tortoise.model class method)": [[44, "tortoise.Model.bulk_update"]], "capabilities (tortoise.basedbasyncclient attribute)": [[44, "id0"], [44, "tortoise.BaseDBAsyncClient.capabilities"]], "clone() (tortoise.model method)": [[44, "tortoise.Model.clone"]], "close() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.close"]], "close_connections() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.close_connections"]], "create() (tortoise.model class method)": [[44, "tortoise.Model.create"]], "create_connection() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.create_connection"]], "db_create() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.db_create"]], "db_delete() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.db_delete"]], "delete() (tortoise.model method)": [[44, "tortoise.Model.delete"]], "describe() (tortoise.model class method)": [[44, "tortoise.Model.describe"]], "describe_model() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.describe_model"]], "describe_models() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.describe_models"]], "earliest() (tortoise.model class method)": [[44, "tortoise.Model.earliest"]], "exclude() (tortoise.model class method)": [[44, "tortoise.Model.exclude"]], "execute_insert() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.execute_insert"]], "execute_many() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.execute_many"]], "execute_query() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.execute_query"]], "execute_query_dict() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.execute_query_dict"]], "execute_script() (tortoise.basedbasyncclient method)": [[44, "tortoise.BaseDBAsyncClient.execute_script"]], "executor_class (tortoise.basedbasyncclient attribute)": [[44, "id2"], [44, "tortoise.BaseDBAsyncClient.executor_class"]], "exists() (tortoise.model class method)": [[44, "tortoise.Model.exists"]], "fetch_for_list() (tortoise.model class method)": [[44, "tortoise.Model.fetch_for_list"]], "fetch_related() (tortoise.model method)": [[44, "tortoise.Model.fetch_related"]], "filter() (tortoise.model class method)": [[44, "tortoise.Model.filter"]], "first() (tortoise.model class method)": [[44, "tortoise.Model.first"]], "generate_schemas() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.generate_schemas"]], "get() (tortoise.model class method)": [[44, "tortoise.Model.get"]], "get_connection() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.get_connection"]], "get_or_create() (tortoise.model class method)": [[44, "tortoise.Model.get_or_create"]], "get_or_none() (tortoise.model class method)": [[44, "tortoise.Model.get_or_none"]], "in_bulk() (tortoise.model class method)": [[44, "tortoise.Model.in_bulk"]], "init() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.init"]], "init_models() (tortoise.tortoise class method)": [[44, "tortoise.Tortoise.init_models"]], "last() (tortoise.model class method)": [[44, "tortoise.Model.last"]], "latest() (tortoise.model class method)": [[44, "tortoise.Model.latest"]], "pk (tortoise.model property)": [[44, "tortoise.Model.pk"]], "query_class (tortoise.basedbasyncclient attribute)": [[44, "id3"], [44, "tortoise.BaseDBAsyncClient.query_class"]], "raw() (tortoise.model class method)": [[44, "tortoise.Model.raw"]], "refresh_from_db() (tortoise.model method)": [[44, "tortoise.Model.refresh_from_db"]], "register_listener() (tortoise.model class method)": [[44, "tortoise.Model.register_listener"]], "save() (tortoise.model method)": [[44, "tortoise.Model.save"]], "schema_generator (tortoise.basedbasyncclient attribute)": [[44, "id4"], [44, "tortoise.BaseDBAsyncClient.schema_generator"]], "select_for_update() (tortoise.model class method)": [[44, "tortoise.Model.select_for_update"]], "table_name_generator (tortoise.tortoise attribute)": [[44, "tortoise.Tortoise.table_name_generator"]], "tortoise": [[44, "module-tortoise"]], "update_from_dict() (tortoise.model method)": [[44, "tortoise.Model.update_from_dict"]], "update_or_create() (tortoise.model class method)": [[44, "tortoise.Model.update_or_create"]], "signals (class in tortoise.signals)": [[45, "tortoise.signals.Signals"]], "post_delete (tortoise.signals.signals attribute)": [[45, "tortoise.signals.Signals.post_delete"]], "post_delete() (in module tortoise.signals)": [[45, "tortoise.signals.post_delete"]], "post_save (tortoise.signals.signals attribute)": [[45, "tortoise.signals.Signals.post_save"]], "post_save() (in module tortoise.signals)": [[45, "tortoise.signals.post_save"]], "pre_delete (tortoise.signals.signals attribute)": [[45, "tortoise.signals.Signals.pre_delete"]], "pre_delete() (in module tortoise.signals)": [[45, "tortoise.signals.pre_delete"]], "pre_save (tortoise.signals.signals attribute)": [[45, "tortoise.signals.Signals.pre_save"]], "pre_save() (in module tortoise.signals)": [[45, "tortoise.signals.pre_save"]], "tortoise.signals": [[45, "module-tortoise.signals"]], "get_default_timezone() (in module tortoise.timezone)": [[46, "tortoise.timezone.get_default_timezone"]], "get_timezone() (in module tortoise.timezone)": [[46, "tortoise.timezone.get_timezone"]], "get_use_tz() (in module tortoise.timezone)": [[46, "tortoise.timezone.get_use_tz"]], "is_aware() (in module tortoise.timezone)": [[46, "tortoise.timezone.is_aware"]], "is_naive() (in module tortoise.timezone)": [[46, "tortoise.timezone.is_naive"]], "localtime() (in module tortoise.timezone)": [[46, "tortoise.timezone.localtime"]], "make_aware() (in module tortoise.timezone)": [[46, "tortoise.timezone.make_aware"]], "make_naive() (in module tortoise.timezone)": [[46, "tortoise.timezone.make_naive"]], "now() (in module tortoise.timezone)": [[46, "tortoise.timezone.now"]], "tortoise.timezone": [[46, "module-tortoise.timezone"]], "atomic() (in module tortoise.transactions)": [[48, "tortoise.transactions.atomic"]], "in_transaction() (in module tortoise.transactions)": [[48, "tortoise.transactions.in_transaction"]], "tortoise.transactions": [[48, "module-tortoise.transactions"]], "commaseparatedintegerlistvalidator (class in tortoise.validators)": [[49, "tortoise.validators.CommaSeparatedIntegerListValidator"]], "maxlengthvalidator (class in tortoise.validators)": [[49, "tortoise.validators.MaxLengthValidator"]], "maxvaluevalidator (class in tortoise.validators)": [[49, "tortoise.validators.MaxValueValidator"]], "minlengthvalidator (class in tortoise.validators)": [[49, "tortoise.validators.MinLengthValidator"]], "minvaluevalidator (class in tortoise.validators)": [[49, "tortoise.validators.MinValueValidator"]], "numericvalidator (class in tortoise.validators)": [[49, "tortoise.validators.NumericValidator"]], "regexvalidator (class in tortoise.validators)": [[49, "tortoise.validators.RegexValidator"]], "validator (class in tortoise.validators)": [[49, "tortoise.validators.Validator"]], "__call__() (tortoise.validators.validator method)": [[49, "tortoise.validators.Validator.__call__"]], "tortoise.validators": [[49, "module-tortoise.validators"]], "types (tortoise.validators.numericvalidator attribute)": [[49, "tortoise.validators.NumericValidator.types"]], "validate_ipv46_address() (in module tortoise.validators)": [[49, "tortoise.validators.validate_ipv46_address"]], "validate_ipv4_address() (in module tortoise.validators)": [[49, "tortoise.validators.validate_ipv4_address"]], "validate_ipv6_address() (in module tortoise.validators)": [[49, "tortoise.validators.validate_ipv6_address"]]}, "docurls": ["CHANGELOG.html", "CODE_OF_CONDUCT.html", "CONTRIBUTING.html", "CONTRIBUTORS.html", "cli.html", "connections.html", "contrib.html", "contrib/aiohttp.html", "contrib/blacksheep.html", "contrib/fastapi.html", "contrib/linters.html", "contrib/mysql.html", "contrib/postgres.html", "contrib/pydantic.html", "contrib/quart.html", "contrib/sanic.html", "contrib/starlette.html", "contrib/unittest.html", "databases.html", "examples.html", "examples/aiohttp.html", "examples/basic.html", "examples/blacksheep.html", "examples/fastapi.html", "examples/pydantic.html", "examples/quart.html", "examples/sanic.html", "examples/starlette.html", "exceptions.html", "expressions.html", "fields.html", "functions.html", "getting_started.html", "index.html", "indexes.html", "logging.html", "manager.html", "migration.html", "models.html", "query.html", "reference.html", "roadmap.html", "router.html", "schema.html", "setup.html", "signals.html", "timezone.html", "toc.html", "transactions.html", "validators.html"]})