Skip to content

Commit 97c31c8

Browse files
Melissa GymrekMelissa Gymrek
authored andcommitted
changing syntax for gene id in transcript
1 parent 6fe1cd0 commit 97c31c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strAPI/repeats/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Transcript(SQLModel, table=True):
3939
end: int = Field(nullable=False)
4040

4141
# one to many Gene -> Transcripts
42-
gene_id = Field(Integer, foreign_key ="genes.id")
42+
gene_id: int = Field(Integer, foreign_key ="genes.id")
4343

4444
gene: "Gene" = Relationship(back_populates="transcripts")
4545

0 commit comments

Comments
 (0)