From 0612797141210e183a8988b87903ce6597947c3d Mon Sep 17 00:00:00 2001 From: daniel sonbolian Date: Fri, 16 Aug 2024 18:49:16 +0300 Subject: [PATCH 1/5] add python client library `ql` --- src/code/language-support/python/client/ql.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/code/language-support/python/client/ql.md diff --git a/src/code/language-support/python/client/ql.md b/src/code/language-support/python/client/ql.md new file mode 100644 index 0000000000..8d821550ee --- /dev/null +++ b/src/code/language-support/python/client/ql.md @@ -0,0 +1,19 @@ +--- +name: ql +description: non intrusive python graphql client wrapped around pydantic. +url: https://dsal3389.github.io/ql/ +github: https://github.com/dsal3389/ql +--- + +Graphql client library, wrapped around pydantic classes for type validation, +provide safe and simple way to query data from a graphql api. + +features: + * python objects to valid graphql string + * scalar query responses + * typesafety + +## install +```console +pip3 install pydantic-graphql +``` From 2824a57ba483d095b459f6a8bfa5a0ab40e46a7b Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 1 Nov 2024 13:24:49 +0000 Subject: [PATCH 2/5] Apply suggestions from code review --- src/code/language-support/python/client/ql.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/code/language-support/python/client/ql.md b/src/code/language-support/python/client/ql.md index 8d821550ee..982849d381 100644 --- a/src/code/language-support/python/client/ql.md +++ b/src/code/language-support/python/client/ql.md @@ -5,15 +5,17 @@ url: https://dsal3389.github.io/ql/ github: https://github.com/dsal3389/ql --- -Graphql client library, wrapped around pydantic classes for type validation, -provide safe and simple way to query data from a graphql api. +GraphQL client library, wrapped around pydantic classes for type validation, +provide safe and simple way to query data from a GraphQL API. -features: - * python objects to valid graphql string +Features: + + * python objects to valid GraphQL string * scalar query responses * typesafety -## install +## Install + ```console pip3 install pydantic-graphql ``` From 8d01e9f64fce3a9866477710005bec941a6c2ee6 Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 1 Nov 2024 13:25:08 +0000 Subject: [PATCH 3/5] Update src/code/language-support/python/client/ql.md --- src/code/language-support/python/client/ql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code/language-support/python/client/ql.md b/src/code/language-support/python/client/ql.md index 982849d381..346fd9f246 100644 --- a/src/code/language-support/python/client/ql.md +++ b/src/code/language-support/python/client/ql.md @@ -1,6 +1,6 @@ --- name: ql -description: non intrusive python graphql client wrapped around pydantic. +description: Non intrusive python GraphQL client wrapped around pydantic. url: https://dsal3389.github.io/ql/ github: https://github.com/dsal3389/ql --- From 976ccee829819d9b8b8ec08f7c246013f9cb4609 Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 1 Nov 2024 13:25:31 +0000 Subject: [PATCH 4/5] Update src/code/language-support/python/client/ql.md --- src/code/language-support/python/client/ql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code/language-support/python/client/ql.md b/src/code/language-support/python/client/ql.md index 346fd9f246..1436fb6920 100644 --- a/src/code/language-support/python/client/ql.md +++ b/src/code/language-support/python/client/ql.md @@ -6,7 +6,7 @@ github: https://github.com/dsal3389/ql --- GraphQL client library, wrapped around pydantic classes for type validation, -provide safe and simple way to query data from a GraphQL API. +provides a safe and simple way to query data from a GraphQL API. Features: From d5500167c2c5087e846389e294de81c4c86bc5d9 Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 1 Nov 2024 13:28:07 +0000 Subject: [PATCH 5/5] Update src/code/language-support/python/client/ql.md --- src/code/language-support/python/client/ql.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/code/language-support/python/client/ql.md b/src/code/language-support/python/client/ql.md index 1436fb6920..5343be63f9 100644 --- a/src/code/language-support/python/client/ql.md +++ b/src/code/language-support/python/client/ql.md @@ -10,9 +10,9 @@ provides a safe and simple way to query data from a GraphQL API. Features: - * python objects to valid GraphQL string - * scalar query responses - * typesafety +- python objects to valid GraphQL string +- scalar query responses +- type-safety ## Install