class Query:
    metadata = AristotleConceptFilterConnectionField(
        ConceptNode,
        description="Retrieve a collection of untyped metadata",
    )
    workgroups = AristotleFilterConnectionField(WorkgroupNode)
    links = AristotleFilterConnectionField(LinkNode)
    link_ends = AristotleFilterConnectionField(LinkEndNode)
    relations = AristotleFilterConnectionField(relationNode)
    registration_authorities = AristotleFilterConnectionField(
        RegistrationAuthorityNode)
    object_classes = AristotleConceptFilterConnectionField(ObjectClassNode)
    properties = AristotleConceptFilterConnectionField(PropertyNode)
    unit_of_measures = AristotleConceptFilterConnectionField(UnitOfMeasureNode)
    data_types = AristotleConceptFilterConnectionField(DataTypeNode)
    conceptual_domains = AristotleConceptFilterConnectionField(
        ConceptualDomainNode)
    value_domains = AristotleConceptFilterConnectionField(ValueDomainNode)
    data_element_concepts = AristotleConceptFilterConnectionField(
        DataElementConceptNode)
    data_elements = AristotleConceptFilterConnectionField(DataElementNode)
    data_element_derivations = AristotleConceptFilterConnectionField(
        DataElementDerivationNode)
    classification_schemes = AristotleConceptFilterConnectionField(
        ClassificationSchemeNode)
    collections = AristotleFilterConnectionField(CollectionNode)
    stewards = AristotleFilterConnectionField(StewardOrganisationNode)
    organisation_record = AristotleFilterConnectionField(
        OrganizationRecordNode)
class Query(object):

    metadata = AristotleConceptFilterConnectionField(
        ConceptNode,
        description="Retrieve a collection of untyped metadata",
    )
    workgroups = AristotleFilterConnectionField(WorkgroupNode)
    # organizations = AristotleFilterConnectionField(OrganizationNode)
    registration_authorities = DjangoFilterConnectionField(
        RegistrationAuthorityNode)
    #discussion_posts = AristotleFilterConnectionField(DiscussionPostNode)
    #discussion_comments = AristotleFilterConnectionField(DiscussionCommentNode)
    # review_requests = AristotleFilterConnectionField(ReviewRequestNode)

    object_classes = AristotleConceptFilterConnectionField(ObjectClassNode)
    properties = AristotleConceptFilterConnectionField(PropertyNode)
    # measures = AristotleConceptFilterConnectionField(MeasureNode)
    unit_of_measures = AristotleConceptFilterConnectionField(UnitOfMeasureNode)
    data_types = AristotleConceptFilterConnectionField(DataTypeNode)
    conceptual_domains = AristotleConceptFilterConnectionField(
        ConceptualDomainNode)
    value_domains = AristotleConceptFilterConnectionField(ValueDomainNode)
    data_element_concepts = AristotleConceptFilterConnectionField(
        DataElementConceptNode)
    data_elements = AristotleConceptFilterConnectionField(DataElementNode)
    data_element_derivations = AristotleConceptFilterConnectionField(
        DataElementDerivationNode)
Exemplo n.º 3
0
class Query:
    framework_dimensions = AristotleFilterConnectionField(FrameworkDimensionNode)
    indicators = AristotleConceptFilterConnectionField(IndicatorNode)
    indicator_sets = AristotleConceptFilterConnectionField(IndicatorSetNode)
    outcome_areas = AristotleConceptFilterConnectionField(OutcomeAreaNode)
    quality_statements = AristotleConceptFilterConnectionField(QualityStatementNode)
    frameworks = AristotleConceptFilterConnectionField(FrameworkNode)