<s> from . import db <EOL> from sqlalchemy . dialects . postgresql import JSONB <EOL> admiral_expedition_asoc = db . Table ( '<STR_LIT>' , <EOL> db . Column ( '<STR_LIT>' , db . Integer , db . ForeignKey ( '<STR_LIT>' ) ) , <EOL> db . Column ( '<STR_LIT>' , db . Integer , db . ForeignKey ( '<STR_LIT>' ) ) <EOL> ) <EOL> class Expedition ( db . Model ) : <EOL> """<STR_LIT>""" <EOL> id = db . Column ( db . Integer , primary_key = True ) <EOL> resources_id = db . Column ( db . ForeignKey ( '<STR_LIT>' ) ) <EOL> resources_granted = db . relationship ( '<STR_LIT>' , foreign_keys = '<STR_LIT>' ) <EOL> constraints = db . Column ( JSONB ) <EOL> time_taken = db . Column ( db . BigInteger ) <EOL> resources_used_id = db . Column ( db . ForeignKey ( '<STR_LIT>' ) ) <EOL> resources_used = db . relationship ( '<STR_LIT>' , foreign_keys = '<STR_LIT>' ) </s>
