Commit 9dbd0ccf by Nicolas Joyard

Fix erreur tsvector sur graphene recent, closes #5

parent a029e7e8
Showing with 69 additions and 28 deletions
......@@ -31,123 +31,164 @@ from ..models import (
)
class ParlapiBaseMeta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
class Acte(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ActeModel
class Acteur(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ActeurModel
class ActeurDocument(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ActeurDocumentModel
class ActeurDossier(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ActeurDossierModel
class ActeurReunion(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ActeurReunionModel
class Amendement(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = AmendementModel
class Document(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = DocumentModel
class Dossier(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = DossierModel
class Job(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = JobModel
class Legislature(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = LegislatureModel
class Mandat(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = MandatModel
class ODJItem(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ODJItemModel
class ODJPoint(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ODJPointModel
class Organe(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = OrganeModel
class OrganeDocument(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = OrganeDocumentModel
class OrganeDossier(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = OrganeDossierModel
class OrganeReunion(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = OrganeReunionModel
class Regime(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = RegimeModel
class Reunion(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ReunionModel
class Scrutin(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ScrutinModel
class ScrutinGroupe(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ScrutinGroupeModel
class Theme(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = ThemeModel
class Votant(SQLAlchemyObjectType):
class Meta(ParlapiBaseMeta):
class Meta:
exclude_fields = ('search_vector',)
interfaces = (relay.Node,)
model = VotantModel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment