File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -39,20 +39,20 @@ def create_stock(db: Session, symbol: str) -> Stock:
3939 status = AssetStatus .PENDING ,
4040 )
4141
42- # Send email notification
43- company_name = stock .asset_name
44- email_subject = f"New Stock Added: { symbol } "
45- email_message = f"""
46- A new stock has been added to the database:
47-
48- Ticker: { symbol }
49- Name: { company_name }
50- Exchange: { stock .exchange }
51-
52- Initiate the model training process for this stock.
53- Change the status to 'ACTIVE' when ready.
54- """
55- send_email_notification (email_subject , email_message )
42+ # # Send email notification
43+ # company_name = stock.asset_name
44+ # email_subject = f"New Stock Added: {symbol}"
45+ # email_message = f"""
46+ # A new stock has been added to the database:
47+
48+ # Ticker: {symbol}
49+ # Name: {company_name}
50+ # Exchange: {stock.exchange}
51+
52+ # Initiate the model training process for this stock.
53+ # Change the status to 'ACTIVE' when ready.
54+ # """
55+ # send_email_notification(email_subject, email_message)
5656
5757 db .add (stock )
5858 db .commit ()
You can’t perform that action at this time.
0 commit comments