"""Constants and configuration for the schema audit.""" GRAPHOS_API = 'https://graphql.api.apollographql.com/api/graphql' STUDIO_BASE_URL = 'https://studio.apollographql.com/graph' GRAPH_ID = 'graphql-theorchard' DEFAULT_VARIANT = 'prod' USAGE_QUERY = """\ { service(id: "%s") { statsWindow(from: "%s") { fieldUsage(filter: { parentType: "%s" }, limit: 500) { groupBy { parentType fieldName } metrics { estimatedExecutionCount referencingOperationCount } } } } }""" FIELD_USAGE_QUERY = """ { service(id: "%s") { statsWindow(from: "%s") { fieldUsage(filter: { parentType: "%s", fieldName: "%s" }, limit: 500) { groupBy { parentType fieldName queryName } metrics { estimatedExecutionCount referencingOperationCount } } } } } """