From 3dc13b2a21d56cff851185c9bbce8964a668e678 Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Thu, 19 Nov 2020 12:42:17 +0100 Subject: [PATCH] [enh] #59 enhance GVA request_data_graphql.py example --- examples/{request_graphql.py => request_data_graphql.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename examples/{request_graphql.py => request_data_graphql.py} (95%) diff --git a/examples/request_graphql.py b/examples/request_data_graphql.py similarity index 95% rename from examples/request_graphql.py rename to examples/request_data_graphql.py index 8264876c..f2c29bbf 100644 --- a/examples/request_graphql.py +++ b/examples/request_data_graphql.py @@ -11,14 +11,14 @@ from graphql.error import GraphQLSyntaxError # You can either use a complete defined endpoint : [NAME_OF_THE_API] [DOMAIN] [IPv4] [IPv6] [PORT] # or the simple definition : [NAME_OF_THE_API] [DOMAIN] [PORT] # Here we use the secure BASIC_MERKLED_API (BMAS) for standard http over ssl requests -SWAPI_ENDPOINT = "BMAS g1.librelois.fr 443 gva" +GVA_ENDPOINT = "BMAS g1.librelois.fr 443 gva" ################################################ async def main(): - client = Client(SWAPI_ENDPOINT) + client = Client(GVA_ENDPOINT) # get query to get schema from api query = get_introspection_query(False) -- GitLab