Eun changhyun

Results 7 issues of Eun changhyun

I do not find exact reason or situation. But when I save cropped image, it sometimes save wrong data. More detail, it save (X,Y) smaller than (X,Y) in admin page....

@member_router.get('', response={200: Member, 401: AuthenticationError}, auth=AuthBearer()) Above code is not working beacuase of AuthenticationError which is not inherited from BaseModel(pydantic) I hope there should be a exception class inheried from...

**Describe the bug** QueryParam is not working on test from ninja.testing import TestClient ``` response = client.get( "", data={"meta_type": EducationMetaType.DOMESTIC, "search_text": "text"}, content_type='application/json' ) ``` ``` response = client.get( "",...

Here is the def @nick_name_router.get( path="", response={200: MemberDuplicationOutSchema}, ) def api_nick_name_duplication_check(request: Router, nickname: str) -> APIResponse[MemberDuplicationOutSchema]: is_exists: StrictBool = MemberRegisterApp().is_nickname_able(nick_name=nickname) return MemberDuplicationOutSchema(is_able=not is_exists) and test def is below def test_api_register_member_wanted_info(self):...

``` story_models: QuerySet[StoryModel] = StoryModel.objects.filter( member_id=owner_member_id, created__gte=dtz.now() - timedelta(days=1), is_deleted=False, ).order_by("-created") class StoryModel(TimeStampedModel): member = models.ForeignKey( MemberModel, on_delete=models.CASCADE, related_name="member_story", help_text="스토리 주인 멤버" ) file = ResizedImageField(quality=80, upload_to=get_s3_file_path_for_story) is_show = models.BooleanField(default=True,...

bug

There is a bug in PyCharm with Pydantic's type checking. In the code below, PyCharm is displaying an "invalid type argument" warning for `PositiveInt`. This issue seems to have occurred...

**Describe the bug** 1. `ruff check file.py --fix --config ruff.toml` 2. Run Ruff when reformatting code. The results of 1 and 2 are different. I have set `ruff.toml` as the...