Commit Graph

235 Commits

Author SHA1 Message Date
sduthil
871c60cf46
Docs: integrations: fix FastAPI link (#1177) 2020-04-09 19:21:04 +01:00
Jonathan Kim
a2fe8dd704
Add note about the use of args (#1170)
* Add note about the use of `args`

Closes #1037

* Some improvements

* Link to correct place
2020-04-02 19:55:00 +01:00
Syrus Akbary
60a9609b9a
Updated all str.format(…) to f-strings (#1158)
* Updated all str.format(…) to f-strings

This revamps the PR #984

* Pass black

* Fix flake8

* Updated objecttype

* Fix black version
2020-03-14 17:32:44 -07:00
Rob Blackbourn
1cf303a27b
Added support for subscription (#1107)
* Added support for subscription

* Added pre-commit hooks for black and formatted changed files

* Checked with flake8

* Integrated changes from master.

Co-authored-by: Rob Blackbourn <rblackbourn@bhdgsystematic.com>
Co-authored-by: Rob Blackbourn <rtb@beast.jetblack.net>
2020-03-14 16:48:12 +00:00
Lem Ko
ba5b7dd3d7
Fix example query in quickstart doc (#1139) 2020-02-21 11:15:51 +00:00
David Sanders
03bd6984dd
fix example middleware class in docs (#1134) 2020-02-10 14:17:16 -08:00
Jonathan Kim
55a03ba716
Update readme (#1130)
* Add slack link and dev notice to the README

* Fix formatting

* Update formatting

* Add notice to documentation
2020-01-30 08:17:12 -08:00
Jonathan Kim
f82b811377
Fix example code (#1120) 2020-01-30 12:18:00 +00:00
Tom Paoletti
81d61f82c5 Fix objecttypes DefaultResolver example (#1087) (#1088)
* Create namedtuple as expected
* Access result.data instead of result['data']
* Refer to field with camel-case name
2019-12-26 20:05:14 +00:00
Jonathan Kim
482c7fcc65
Add file uploading docs (#1084) 2019-12-26 20:02:57 +00:00
Iman
c0fbcba97a Update quickstart.rst (#1090)
A miss letter
2019-12-26 20:02:28 +00:00
TheMelter
abc2c2a784 Fix typo in execute.rst (#1115) 2019-12-19 23:02:45 -08:00
Jonathan Kim
a3b215d891
Remove AbstractType (#1053) 2019-09-27 09:54:19 +01:00
Min ho Kim
e90aa1b712 Fix typos (#1066)
Fixed typos in docs, string literals, comments, test name
2019-09-25 19:57:53 -04:00
Danilo Herrera
57157ab7f4 Fix typo (#1028) 2019-07-08 22:21:50 +01:00
Jonathan Kim
abe547fb4d
Fix wrong variable name (#1015)
Resolves #1014
2019-06-22 18:09:52 +02:00
David Anderson
5cb7d91aaa Revise documentation (#969)
* Revise documentation

- Add missing reference to `flask-graphql` in integrations
- align documentation for resolver arguments (use root for 1st argument
instead of self)
- explore use of `parent` instead of `root` for first argument
- clarify resolvers and object type documentation
- add documentation for Meta class options for ObjectType
- expand quickstart documentation for first time users
- streamline order of documentation for first time users (broad ->
specific)
- document resolver quirks

* explict imports from graphene

* rename doc refs for resolvers

* suggestions typos and graphene import
2019-06-09 16:49:56 -07:00
David Anderson
da1359ecca expose livehtml autobuild in Makefile + Add API autodoc (#971)
* expose livehtml autobuild in Makefile

* add API documentation for schema

* document graphene core API

* fixes black lint

* Update graphene/types/union.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* Update graphene/types/argument.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* Update graphene/types/field.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* Update graphene/types/inputfield.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* add note about non-functional `interfaces` meta argument in mutation

* update with other virtual environment configuration

* pin autobuild

* format argument example code

* format enum input object and interface examples

* format enum mutation union examples

* revise documentation with imports, capitalization
2019-06-09 15:36:06 -07:00
Ambro
40229b8a73 Fix internal link on docs (#980) 2019-06-04 09:23:24 -07:00
Mike Bobadilla
1fcdeaac65 Typo in documentation (#975) 2019-05-28 10:09:57 -07:00
Ganesh Pandey
daf0d17647 fix type on docs (#939) 2019-04-09 11:29:40 -07:00
Eran Kampf
bcbb66c025
Line too long in code sample caused docs UI to overflow (#938) 2019-04-08 13:59:39 -07:00
Eran Kampf
582ac59bf7 Another docs test 2019-04-08 12:36:35 -07:00
Eran Kampf
28f6b18f55 Small formatting fix to test docs integration 2019-04-08 12:33:29 -07:00
Jonathan Kim
c5b2281e22 Update execution doc with correct way to use variables (#920)
* Fix issue #890

* Change to `root`
2019-03-27 16:44:41 -07:00
Jonathan Kim
21cccf4c96 Update object type docs (#921)
Now that the default resolver handles both objects and dicts
2019-03-17 12:43:49 -07:00
Jonathan Kim
0805436d45
Docs on changing the name of an ObjectType (#922)
Fixes https://github.com/graphql-python/graphene/issues/839
2019-03-16 21:58:49 +00:00
Sebastián Ramírez
bbe11c9b5e Add FastAPI and Starlette to integrations (#906) 2019-03-11 10:03:54 -07:00
Markus Holtermann
96d497c2b8 Fix docs on graphene.Int bounds (#891) 2019-03-11 09:32:23 -07:00
Jonathan Kim
a4681ce6b2
Fixes middleware documentation (#916)
Closes #812
2019-03-10 16:21:08 +01:00
Jonathan Kim
e1a2eb5a35 Remove trailing whitespace 2018-12-26 20:32:22 +00:00
Jonathan Kim
349add5700 Update documentation on ObjectTypes
Resolves #798
2018-12-26 20:22:34 +00:00
Syrus Akbary
08c86f3def
Merge pull request #845 from nive/master
quickstart example improvement
2018-11-05 20:26:18 +01:00
Johan Zietsman
587ce5ae93
Update interfaces.rst 2018-10-30 14:23:29 +02:00
Johan Zietsman
52f54f51b2
Update objecttypes.rst 2018-10-30 14:17:44 +02:00
Johan Zietsman
95cfff8c37
Update enums.rst 2018-10-30 14:06:37 +02:00
Syrus Akbary
7cfc3ffe67
Merge pull request #850 from MarSoft/patch-1
Fix typo in docs
2018-10-26 19:16:03 +02:00
Syrus Akbary
83a5587d71
Merge pull request #851 from etandel/feature/dataloader-docs
Improve dataloader doc
2018-10-26 19:15:44 +02:00
Elias Tandel Barrionovo
21dbaa93c4 Improve dataloader doc
Explicitly mention that loaded values must have the same order as the
given keys
2018-10-23 10:05:47 -03:00
Семён Марьясин
ca02095806
Fix typo in docs 2018-10-22 16:19:55 +03:00
Christian González
4752ec08ab
fix deprecated "Input" class 2018-10-20 11:16:29 +02:00
adroullier
85e6c3d3fb quickstart example improvement, rename name parameter of String field to argument 2018-10-16 13:59:25 +02:00
Derek Schaller
3df3754ae6 inline doctstring of make targets 2018-10-13 11:21:07 -07:00
Adam Johnson
7dd8305bdf Change deprecated execute() arguments to new ones
Changed in https://github.com/graphql-python/graphql-core/pull/185 , the docs here were out of date, as were the tests.
2018-08-29 12:35:44 +03:00
Daniel Gallagher
086f9dda99 Run black formatter via pre-commit on all files 2018-07-06 12:09:23 -07:00
Ben Mosher
708278e6dc
docs: mutation 'Output' example (closes #543) 2018-06-26 07:14:46 -04:00
Syrus Akbary
9efdf4c46e
Merge pull request #771 from jkimbo/update-interface-documentation
Update interface documentation
2018-06-18 13:33:59 -07:00
Jonathan Kim
cc54c76a3e Improve wording 2018-06-17 12:05:34 +01:00
Jonathan Kim
e7ebb86e5a Re-order type list 2018-06-17 11:25:32 +01:00
Jonathan Kim
a2db7c5dae Remove an unnecessary field 2018-06-17 11:24:59 +01:00