dockerfile.dev
This commit is contained in:
@@ -21,7 +21,7 @@ async def root():
|
||||
|
||||
|
||||
@app.post("/reprocess/")
|
||||
async def reprocess(ep_items: Evepraisal, ep_mat: Evepraisal, efficiency: float = .55, sde: Session = Depends(get_sde_session)):
|
||||
async def reprocess(ep_items: Evepraisal, ep_mat: Evepraisal, efficiency: float = .55, sde: Session = Depends(get_sde_session)) -> List[PriceReprocess]:
|
||||
matprices = {item.typeID: {'sell': item.prices.sell.min, 'buy': item.prices.buy.max} for item in ep_mat.items}
|
||||
|
||||
item_reprocess: List[PriceReprocess] = []
|
||||
|
||||
@@ -69,7 +69,6 @@ class MarketGroup(SQLModel, table=True):
|
||||
class Type(SQLModel, table=True):
|
||||
id: int = Field(primary_key=True)
|
||||
|
||||
# id = Column(Integer, primary_key=True, index=True)
|
||||
group_id: Optional[int] = Field(default=None, foreign_key="group.id")
|
||||
group: Optional[Group] = Relationship(back_populates="types")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user