fastapi-amis-admin
fastapi-amis-admin copied to clipboard
KeyError: 'id'. self.pk: InstrumentedAttribute = self.model.__dict__[self.pk_name]
Here self.pk_name will always be true so its value will always be id, no custom primary key can be used