arxiv.submission.services.classic.util module¶
Utility classes and functions for services.classic
.
-
class
arxiv.submission.services.classic.util.
ClassicSQLAlchemy
(app=None, use_native_unicode=True, session_options=None, metadata=None, query_class=<class 'flask_sqlalchemy.BaseQuery'>, model_class=<class 'flask_sqlalchemy.model.Model'>, engine_options=None)[source]¶ Bases:
flask_sqlalchemy.SQLAlchemy
SQLAlchemy integration for the classic database.
-
class
arxiv.submission.services.classic.util.
SQLiteJSON
(*args, **kwargs)[source]¶ Bases:
sqlalchemy.sql.type_api.TypeDecorator
A SQLite-friendly JSON data type.
-
impl
¶ alias of
sqlalchemy.sql.sqltypes.TEXT
-
-
arxiv.submission.services.classic.util.
current_engine
()[source]¶ Get/create
Engine
for this context.- Return type
Engine