-
To improve editor's autocompletion for, for example, new rows creation:
```python
User(na)
```
Above action should show name as one of autocompletion options, but now it isn't working.
For e…
Ae-Mc updated
2 years ago
-
when you have a field type of fields.DateField or fields.DatetimeField and you need to query by date part as exemplified in:
```
class DatePart(Enum):
year = "YEAR"
quarter = "QUARTER"
…
-
**Describe the bug**
Version: tortoise-orm==0.17.7
A clear and concise description of what the bug is.
**To Reproduce**
Unable to re, only occasionally does this error occur
**Expected beha…
-
1. Бот делает всего пару запросов к SQLite, и прикручивание ORM только добавляет сложности, как мне кажется.
2. SQLAlchemy -- синхронная библиотека. Для работы с SQLite есть `aiosqlite`.
-
Hello, my team just ended up realizing that one of our bugs was due to tortoise using UTC time on auto_now and auto_now_add.
Could the timezone it uses be configurable or maybe just use the local s…
-
**Describe the bug**
i'm a beginner for fastapi, i have a model that has a ForeignKeyRelation; i want to show this related field with "pydantic_model_creator" function; I learned that it is possible …
-
The template does not use async at all. Is there any particular reason for that? Do celery, sqlalchemy etc work with async?
How much code will have to be changed for async?
-
In our project we use multiple MySQL schemas/databases. Now, the only way to access the data, is to create a separate 'app' record with their own connection:
```python
class Model1(Model):
..
…
-
**Describe the bug**
When following the example for integrating tortoise-orm with fastapi, I see an error when trying to
use `pydantic_model.from_queryset`: `TypeError: 'NoneType' is not callable`.…
-
**Describe the bug**
A field in a model with null = True is being marked as required in the generated pydantic schema
**To Reproduce**
Create a new model:
```
class Org(Model):
id = fiel…