|
@@ -1,14 +0,0 @@
|
|
-import os
|
|
|
|
-
|
|
|
|
-from sqlalchemy import create_engine, MetaData, orm
|
|
|
|
-from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
-
|
|
|
|
-pengine_rc = create_engine("postgresql://xpertconnect:123@localhost:5432/rsa_crawling")
|
|
|
|
-
|
|
|
|
-Base = declarative_base()
|
|
|
|
-metadata_rc = MetaData(pengine_rc)
|
|
|
|
-metadata_rc.reflect()
|
|
|
|
-
|
|
|
|
-Session_rc = orm.sessionmaker(pengine_rc)
|
|
|
|
-
|
|
|
|
-session_rc = Session_rc()
|
|
|