mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Ensure custom data access goes through the accessor functions
This commit is contained in:
parent
d49da76382
commit
8593094619
|
@ -1468,7 +1468,8 @@ class Trade(ModelBase, LocalTrade):
|
|||
"Order", order_by="Order.id", cascade="all, delete-orphan", lazy="selectin",
|
||||
innerjoin=True) # type: ignore
|
||||
custom_data: Mapped[List[CustomData]] = relationship(
|
||||
"CustomData", order_by="CustomData.id", cascade="all, delete-orphan") # type: ignore
|
||||
"CustomData", order_by="CustomData.id", cascade="all, delete-orphan",
|
||||
lazy="raise") # type: ignore
|
||||
|
||||
exchange: Mapped[str] = mapped_column(String(25), nullable=False) # type: ignore
|
||||
pair: Mapped[str] = mapped_column(String(25), nullable=False, index=True) # type: ignore
|
||||
|
|
Loading…
Reference in New Issue
Block a user