Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
MatBarba committed Sep 13, 2024
1 parent 078b83b commit 339471b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/python/ensembl/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ class DNAAlignFeatureAttrib(Base):
)

dna_align_feature_id: Column = Column(
INTEGER(10), ForeignKey("dna_align_feature.dna_align_feature_id"), nullable=False, index=True, primary_key=True
INTEGER(10),
ForeignKey("dna_align_feature.dna_align_feature_id"),
nullable=False,
index=True,
primary_key=True,
)
attrib_type_id: Column = Column(SMALLINT(5), nullable=False, primary_key=True)
value: Column = Column(String(500), nullable=False, primary_key=True)
Expand Down Expand Up @@ -414,7 +418,9 @@ class RNAproductAttrib(Base):
Index("rnaproduct_type_val_idx", "attrib_type_id", "value", mysql_length={"value": 10}),
Index("rnaproduct_value_idx", "value", mysql_length=10),
)
rnaproduct_id: Column = Column(ForeignKey("rnaproduct.rnaproduct_id"), nullable=False, index=True, primary_key=True)
rnaproduct_id: Column = Column(
ForeignKey("rnaproduct.rnaproduct_id"), nullable=False, index=True, primary_key=True
)
attrib_type_id: Column = Column(SMALLINT(5), nullable=False, primary_key=True)
value: Column = Column(String(500), nullable=False, primary_key=True)

Expand Down Expand Up @@ -667,6 +673,7 @@ class GeneAttrib(Base):
)
value: Column = Column(String(500), nullable=False, primary_key=True)


class MarkerMapLocation(Base):
__tablename__ = "marker_map_location"
__table_args__ = (Index("map_idx", "map_id", "chromosome_name", "position"),)
Expand Down

0 comments on commit 339471b

Please sign in to comment.