Commit Graph

1780 Commits

Author SHA1 Message Date
René Birrer
181d9f76da fix: add default param _variables to parse_literal #1419
This is to match the `graphql-core` API. If it's not respected
the `parse_literal` method will produce an error event though
dealing with a valid value.
2022-05-03 13:51:14 +02:00
Jonathan Kim
03277a5512
Merge pull request #1412 from loft-orbital/issue-#1394_fix-required 2022-04-07 15:18:17 +01:00
Thomas Leonard
19ebf08339 fix: default value for argument should be Undefined (Issue #1394) and update function from_global_id exception handling (b217aefa8c) 2022-03-20 18:49:44 +01:00
Ali McMaster
bf40e6c419
Update quickstart.rst 2022-02-14 09:01:42 +00:00
Syrus Akbary
61f0d8a8e0
Merge pull request #1405 from conao3/patch-1
fix UPGRADE-v2.0.md
2022-02-13 12:57:54 -08:00
Naoya Yamashita
763910e7b5
fix UPGRADE-v2.0.md 2022-02-07 15:51:08 +09:00
Rahul Jha
beb957382d
Highlight .get in backticks
When I first read through the documentation twice, it took me two tries and looking very hard to find out the difference b/w the two. The background highlight using backticks would be helpful in this case.
2022-01-13 15:33:09 +05:30
Syrus Akbary
06eb1a3e82
Merge pull request #1401 from Cito/test-py39-and-py310
Add Python 3.9 and 3.10 to the test matrix
2022-01-11 13:22:25 +01:00
Christoph Zwerschke
e441fa72aa
Add Python 3.9 and 3.10 to the test matrix
Also update the test dependencies and adapt two tests (#1400).
2022-01-11 12:13:12 +01:00
Syrus Akbary
7ecb4e68ba
Merge pull request #1387 from GDGSNF/master
Chore: Refactor Multi Expression Code 
2021-12-13 15:02:02 +01:00
Syrus Akbary
9311d3525d
Merge pull request #1324 from justinrmiller/doc-fixes
Various spelling and grammar fixes for the documentation.
2021-12-13 14:59:53 +01:00
Yasser Tahiri
7108bc8577
Update node.py 2021-12-02 12:04:07 +01:00
Mel van Londen
a61f0a214d update README.rst using pandoc 2021-11-13 14:25:10 -08:00
Mel van Londen
27f19e5a90 release v3 stable 2021-11-13 14:15:18 -08:00
Yasser Tahiri
9e17044ddc
Chore: Refactor Multi Expression Code 2021-11-05 02:21:14 +01:00
belkka
b274a607f4
Avoid ambiguity in graphene.Mutation docstring
The code example in docstring starts with `from graphene import Mutation` and defines a `class Mutation` later. This definition would shadow previously imported name and (which is more important) confuses a reader about usage of this class — one need to keep in mind that previous usage of `Mutation` is imported from graphene and have not been overridden yet.

This PR changes an import-from statement to an import statement, so `graphene.Mutation` is used explicitly. This approach is consistent with other code examples in docs (e. g. https://docs.graphene-python.org/en/v2.1.9/types/mutations/).

Another option is to change name of example class Mutation to something more clear (maybe SchemaMutation or RootMutation), but I'm not sure what name to choose.

Only docstring is updated, no code changes.
2021-10-11 23:46:13 +03:00
Eran Kampf
0a54094f59
v3.0.0b8 2021-09-29 23:42:36 -07:00
Syrus Akbary
9c1db0f662
Merge pull request #1376 from codebyaryan/master
Fix unseen examples
2021-09-30 08:23:09 +02:00
Syrus Akbary
03aad2799a
Merge pull request #1377 from graphql-python/fix-graphql-core-dependency
Fix GraphQL-core dependency
2021-09-30 08:22:41 +02:00
Eran Kampf
b6c8931b22
Fix GraphQL-core dependency
GraphQL-core released `3.2.0rc1` with some breaking changes and
1. We should be getting RC releases in our dependencies
2. It has breaking changes, so we shouldn't get 3.2.0 unless someone fixes it explicitly
2021-09-29 17:11:16 -07:00
Aryan Iyappan
10aee710fc
Merge branch 'graphql-python:master' into master 2021-09-29 18:13:31 +05:30
Aryan Iyappan
1d6f9e984b
Mame sure to pass correct graphql schema instance 2021-09-29 18:13:08 +05:30
Aryan Iyappan
c1bd25555c
Update queryvalidation.rst 2021-09-28 06:41:54 +05:30
Drew Hoover
78973964b8
fix: update ariadne url to the new docs 2021-09-21 13:00:19 -04:00
Syrus Akbary
f039af2810
Merge pull request #1359 from codebyaryan/fix-actions
Fix actions
2021-08-23 22:07:12 -05:00
Aryan Iyappan
47696559c7 run linters locally 2021-08-24 08:30:54 +05:30
Aryan Iyappan
2e5944eb20 format code 2021-08-22 11:03:22 +05:30
Aryan Iyappan
2c66e496f7
Update tox.ini 2021-08-22 08:48:38 +05:30
Aryan Iyappan
908d5aeaeb
Update .pre-commit-config.yaml 2021-08-22 08:48:15 +05:30
Aryan Iyappan
d5d7a0e5e0
Update tox.ini 2021-08-21 21:41:47 +05:30
Aryan Iyappan
85f06fb2a6
Update tox.ini 2021-08-21 21:37:30 +05:30
Aryan Iyappan
a3a2f999aa
Update .pre-commit-config.yaml 2021-08-21 21:33:00 +05:30
Aryan Iyappan
7087710d02
Update .pre-commit-config.yaml 2021-08-21 21:17:00 +05:30
Aryan Iyappan
1c3054b7c8
Update test_connection_async.py 2021-08-21 21:01:27 +05:30
Aryan Iyappan
5896ade2dd
Update test_connection_query.py 2021-08-21 20:58:18 +05:30
Aryan Iyappan
76701e0809
Update .pre-commit-config.yaml 2021-08-21 20:53:58 +05:30
Aryan Iyappan
3b77b5f92a
Update tox.ini 2021-08-21 20:36:41 +05:30
Aryan Iyappan
16d0b32a8f
Update .pre-commit-config.yaml 2021-08-21 20:21:46 +05:30
Aryan Iyappan
d54b819552
Update .pre-commit-config.yaml 2021-08-21 18:37:44 +05:30
Aryan Iyappan
1886ec9dcb
Update schema.py 2021-08-21 18:34:39 +05:30
Aryan Iyappan
0ebff3313d
Update test_schema.py 2021-08-21 18:30:42 +05:30
Aryan Iyappan
7827219ba2
Update schema.py 2021-08-21 18:29:56 +05:30
Aryan Iyappan
ce59f1ff15
Rename .pre-commit-config.yml to .pre-commit-config.yaml 2021-08-21 17:48:33 +05:30
Aryan Iyappan
3145543386
Update tox.ini 2021-08-21 17:46:14 +05:30
Aryan Iyappan
7960b02124
Delete lint.yml 2021-08-21 17:41:12 +05:30
Aryan Iyappan
9807d6102c
Update coveralls.yml 2021-08-21 17:40:08 +05:30
Aryan Iyappan
e66d6148ab
Create lint.yml 2021-08-21 17:25:38 +05:30
Aryan Iyappan
1654d2fa29
Update coveralls.yml 2021-08-21 17:24:11 +05:30
Aryan Iyappan
772986ac83
Create lint.yml 2021-08-21 17:23:27 +05:30
Aryan Iyappan
0aef168687
Create deploy.yml 2021-08-21 17:21:48 +05:30