<s> import sqlalchemy <EOL> from solum . objects import extension as abstract <EOL> from solum . objects . sqlalchemy import models as sql <EOL> class Extension ( sql . Base , abstract . Extension ) : <EOL> """<STR_LIT>""" <EOL> __resource__ = '<STR_LIT>' <EOL> __tablename__ = '<STR_LIT>' <EOL> __table_args__ = sql . table_args ( ) <EOL> id = sqlalchemy . Column ( sqlalchemy . Integer , primary_key = True , <EOL> autoincrement = True ) <EOL> uuid = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT> ) ) <EOL> project_id = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT> ) ) <EOL> user_id = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT> ) ) <EOL> description = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT:255> ) ) <EOL> name = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT:100> ) ) <EOL> version = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT:16> ) ) <EOL> documentation = sqlalchemy . Column ( sqlalchemy . String ( <NUM_LIT:255> ) ) <EOL> class ExtensionList ( abstract . ExtensionList ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def get_all ( cls , context ) : <EOL> return ExtensionList ( sql . model_query ( context , Extension ) ) </s>
