chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from ray import serve
|
||||
|
||||
|
||||
@serve.deployment
|
||||
class TestDeployment:
|
||||
def __init__(self):
|
||||
import pymysql
|
||||
from sqlalchemy import create_engine
|
||||
|
||||
pymysql.install_as_MySQLdb()
|
||||
|
||||
create_engine("mysql://some_wrong_url:3306").connect()
|
||||
|
||||
|
||||
app = TestDeployment.bind()
|
||||
Reference in New Issue
Block a user