We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Required relationship field is not marked as required (as for example "Name" is marked).
To Reproduce Create simple model and view with following fields:
class Company(SQLModel, table=True): id: int = Field(default=None, primary_key=True) name: str facilities: List["Facility"] = Relationship(back_populates="company") class Facility(SQLModel, table=True): id: int = Field(default=None, primary_key=True) name: str company_id: int = Field(foreign_key="company.id") company: Company = Relationship(back_populates="facilities") company_view = ModelView(Company) facility_view = ModelView(Facility)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
I don't get any of these mandatory markers, even for simple fields. But I use SQLAlchemy. Is it possible to have it?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Required relationship field is not marked as required (as for example "Name" is marked).
To Reproduce
Create simple model and view with following fields:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: