Mahmudul Hasan

Results 9 issues of Mahmudul Hasan

I was trying to use pagination for `User` model where `UserRole` has a related relation `user_roles`with `User` model. When I tried to use `pydantic_model_creator` from `tortoise-orm` to generate schema for...

question

I was trying to use [CORSMiddleware](https://a508-175-41-46-123.ngrok-free.app/api/v1/countries) according to provided instructions. But it seems like the cbv is not allowing preflight options request by responding `405` `method not allowed` as I...

question

**Problem Definition** I'm trying to use `tortoise-orm` to build a multi-tenant application using [postgres schema](https://www.postgresqltutorial.com/postgresql-administration/postgresql-schema/). I've two models: 1. **Tenant:** Tenant model will be kept in the default/public schema of...

**Describe the bug** Expired API key is not checked using `APIKey` models `is_valid` method. **To Reproduce** Steps to reproduce the behavior: 1. Create One `APIKey` and set any older date...

I want create wallets on `Polygon Mainnet` and `Testnet (Mumbai)` using currency `MATIC`. But so far, I haven't seen `MATIC` on the list of available currencies. So, my query is...

cryptocurrency

Is there any way to create a never expiring `AccessToken` by configuring settings which will not expire just like some API Key? Actually, I need to create some API Key...

Hi! I was trying to use this python library to make filtering along with `tortoise-orm` and `fastapi`. I've seen it supports `SQLAlchemy` at this moment. Is there any possibility that...

enhancement

I'm trying to connect nodes in a SemiStructuredNode where my node definitions are below: ```python from neomodel import ( StructuredNode, StringProperty, RelationshipTo, UniqueIdProperty, DateTimeProperty, One, ) from neomodel.contrib import SemiStructuredNode...

question

I was wondering how we can filter models by using relational attributes in the `tortoise-orm`. For instance here are the database models- ```python from tortoise import fields from tortoise.models import...