graphql/utilities/build_ast_schema.py
def build_schema(
    source: Union[str, Source],
    assume_valid=False,
    assume_valid_sdl=False,
    no_location=False,
    experimental_fragment_variables=False,
) -> GraphQLSchema:
    """Build a GraphQLSchema directly from a source document."""
    return build_ast_schema(
        parse(
            source,
            no_location=no_location,
            experimental_fragment_variables=experimental_fragment_variables,
        ),
        assume_valid=assume_valid,
        assume_valid_sdl=assume_valid_sdl,
    )
Build a GraphQLSchema directly from a source document.
Build a GraphQLSchema directly from a source document.
Build a GraphQLSchema directly from a source document .
def build_schema(
    source: Union[str, Source],
    assume_valid=False,
    assume_valid_sdl=False,
    no_location=False,
    experimental_fragment_variables=False,
) -> GraphQLSchema:
    return build_ast_schema(
        parse(
            source,
            no_location=no_location,
            experimental_fragment_variables=experimental_fragment_variables,
        ),
        assume_valid=assume_valid,
        assume_valid_sdl=assume_valid_sdl,
    )
def build_schema ( source : Union [ str , Source ] , assume_valid = False , assume_valid_sdl = False , no_location = False , experimental_fragment_variables = False , ) -> GraphQLSchema : return build_ast_schema ( parse ( source , no_location = no_location , experimental_fragment_variables = experimental_fragment_variables , ) , assume_valid = assume_valid , assume_valid_sdl = assume_valid_sdl , )
Build a GraphQLSchema directly from a source document.
Build a GraphQLSchema directly from a source document .
"""Build a GraphQLSchema directly from a source document."""
source
Union[str, Source]
assume_valid
assume_valid_sdl
no_location
experimental_fragment_variables