Commit Graph

1489 Commits

Author SHA1 Message Date
Jonathan Kim
27a9a64bbb Don't delete the Meta class 2019-06-11 18:28:21 -07:00
Adrián López Calvo
431e93cd68 Fix malformed version on aniso8601 requirement (#995)
* Fix malformed version on aniso8601 requirement

* 6 -> 6.0

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
2019-06-10 21:16:28 -07: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
Eran Kampf
89a352e93a Pypi doesnt allow raw directive 2019-06-03 10:29:59 -07:00
Eran Kampf
17fbcb6746 v.2.1.5 2019-06-03 10:12:50 -07:00
Eran Kampf
f0cc9268d2 Fix RST README 2019-06-03 09:44:03 -07:00
Jessamyn Hodge
4e3f46b2c9
updating codeowners to have additional reviewers for docs and example changes (#989) 2019-06-02 18:16:25 -04:00
Eran Kampf
40534bcce9 v2.1.4 2019-06-01 13:44:13 -07:00
David Anderson
ec9f76cfae Fix flaky date tests (#982)
* fix flaky datetime test with fixed values

* rename fixtures for clarity in date+time tests
2019-06-01 13:41:45 -07:00
Eran Kampf
eb7966eca7
Fix for metaclasses that use type annotation (Issue #979) (#981)
* Replicate error with test

* Fix - ignore parameters we do not recognize

* Seperate Python3.6+ tests to their own folder

* lint

* Unused import

* Black formatting
2019-05-31 14:31:17 -07:00
Mike Bobadilla
1fcdeaac65 Typo in documentation (#975) 2019-05-28 10:09:57 -07:00
cclauss
f73055f72b Drop support for Python 3.4 because it is EOL (#963) 2019-05-07 12:16:22 -07:00
Scott Crunkleton
a5162e9ae3 Update aniso8601 dependency to allow versions 4+. (#935)
* Update aniso8601 dependency to allow versions 4+.

* Upper bound to aniso8601 dependency version.
2019-05-07 09:31:30 -07:00
NyanKiyoshi
6a4091b3e4 from_enum can now take a deprecation reason (#957) 2019-05-06 10:17:33 -07:00
Minh Tu Le
abff3d75a3 Allow the connection node to be wrapped in a NonNull type (#934) 2019-04-12 16:29:53 -07:00
Ganesh Pandey
daf0d17647 fix type on docs (#939) 2019-04-09 11:29:40 -07:00
Eran Kampf
d0cfee5641
Make UUID compatible (Fixed issue #936) (#937)
* Make UUID compatible

* Fix typo

* black code formatting
2019-04-08 14:06:32 -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
Andreas Sodeur
7b6dae7fa3 [863] DateTime, Date, and Time now accept datetime.datetime, datetime.date,… (#864)
* DateTime, Date, and Time now accept datetime.datetime, datetime.date, and datetime.time resp. inputs when used as variables

* Added tests and improved resilience against bad DateTime, Date, and Time inputs.

* Fixed string type checks too narrow for py2.7

* fixed some of pre-commit's complaints
2019-03-31 11:57:34 +01: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
Jonathan Kim
ca9188a615 Dict or attr default resolver (#638)
* Add dict_or_attr resolver and set it as default

* Add some tests

* Dry up code

* Updated formatting
2019-03-11 10:24:11 -07: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
Harry Moreno
d95163c61d Add Docs link to readme (#914)
* change header of contributing docs to building docs
2019-03-09 17:35:15 -08:00
Dan
9ae2359b87 Run pre-commit autoupdate to bump versions of precommit hooks, then run them on all files (#913) 2019-03-08 11:09:45 -08:00
Eran Kampf
fd0bd0ccd7
Adding Myn to CODEOWNERS (projectcheshire) 2019-03-08 09:35:48 -08:00
Eran Kampf
359753dc0f
Merge pull request #912 from graphql-python/feature/add_codeowners_file
Added CODEOWNERS
2019-03-07 18:32:56 -08:00
Eran Kampf
806b99f59d Initial CODEOWNERS file as decided in our community meeting 2019-03-07 18:29:40 -08:00
Syrus Akbary
ae7a5d71c7
Merge pull request #873 from asodeur/issue_872
Special characters in README.rst break setup.py on Windows
2019-01-07 16:10:23 -05:00
Syrus Akbary
88d68fa672
Merge pull request #874 from kiendang/fix-doc
Fix anchor link
2019-01-07 16:10:01 -05:00
kiendang
ff4fb4f86a Fix anchor link 2018-12-28 10:53:29 +08:00
Syrus Akbary
e32cbc3346
Merge pull request #883 from graphql-python/update-object-type-docs
Update documentation on ObjectTypes
2018-12-27 14:53:09 +01:00
Jonathan Kim
d1b1ad733f Ignore flake8 error 2018-12-27 09:39:18 +00: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
as
2bc7699a98 black formatting and removed trailing whitespace 2018-12-11 15:03:10 +01:00
as
2c43a2ae0a Now setup.py works on Windows other tools have trouble with PKG-INFO. Forcing long_description to ASCII. 2018-12-06 10:38:17 +01:00
as
3aafe58d4d Special characters in README.rst break setup.py on Windows 2018-11-29 09:29:00 +01:00
Syrus Akbary
08c86f3def
Merge pull request #845 from nive/master
quickstart example improvement
2018-11-05 20:26:18 +01:00
Syrus Akbary
37a6c01839
Merge pull request #855 from cherls/default-mutation-field-description
Default mutation field description
2018-11-05 20:25:56 +01:00
cherls
8e53672a1d Add mutation field default arg test 2018-11-05 13:30:09 -05:00
cherls
4d5a091d16 Add default Field description as docstring 2018-11-05 13:30:05 -05:00
Syrus Akbary
80066e55f3
Merge pull request #854 from johanzietsman-em/master
Fixed typos.
2018-11-01 19:10:03 +01:00