You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
318 B
7 lines
318 B
from sqlalchemy import create_engine |
|
from sqlalchemy.orm import sessionmaker |
|
from sqlalchemy.ext.declarative import declarative_base |
|
|
|
engine = create_engine("mysql+pymysql://admin:Admin_123@47.121.132.11:3306/demo") |
|
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) |
|
Base = declarative_base()
|
|
|