-
this is my controller
```
@api_controller("users/", tags=["Users"])
class UserController(BaseController):
model = get_user_model()
@http_post(
path="",
…
-
```
class UserPasswordSchema(Schema):
password: str
@login_required
@model_validator(mode='after')
@classmethod
def check_password(cls, obj):
check_user_password…
-
**Affects:** 6.1
The [`HttpStatus` javadoc](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/HttpStatus.html) links to [HTTP Status Code Registry](https://w…
-
Число 200 вынести в переменную, например, словарь по основным кодам ответа HTTP.
Пример:
```
# Импортируем модуль http для получения описаний статусов
from http import HTTPStatus
# Создаем с…
-
**문제**
- 태스크 생성시 날짜 validation 오류 발생
**원인**
- 프로젝트의 startDate가 태스크의 startDate 이후에 생성되었는지 검증함(반대가 되어야 함)
**해결**
- if 문의 조건을 `startDate.isBefore(endDate)`에서 `endDate.isBefore(startDate)`로 변경
…
-
These links are missing an href attribute:
```html
Just add the status code you want to the URL, like this:
httpstat.us/200
```
```html
for example
httpstat.us/random/200,201,500-504.
```
…
-
Intacct seems to periodically throw this error which currently get raised and ends the sync `singer_sdk.exceptions.FatalAPIError: 400 Client Error: Bad request for path: /ia/xml/xmlgw.phtml`. We shoul…
-
When using the provided example command:
`docker run -it \
-e OPENAI_API_KEY=xxx \
-v "$(pwd)":/app zeroxeli/readme-ai:latest \
-r https://github.com/eli64s/readme-ai
`
I keep getting this e…
-
## Чеклист
- Поправить тесты, чтобы проект собирался**
- В классе `Application` убрать аннотацию `@EnableSpringDataWebSupport`
- Желательно разделить модуль на подмодули - `favorite`, `trip`, `weat…
-
```
@http_get(
path="",
response={
HTTPStatus.OK: PaginatedResponseSchema[CountrySchema] | List[CountrySchema],
HTTPStatus.INTERNAL_SERVER_ERROR: ErrorS…