Commit Graph

1533 Commits

Author SHA1 Message Date
Christoph Zwerschke
03bf75d722
Run black on setup.py 2019-08-11 16:50:28 +02:00
Christoph Zwerschke
a4c16e1077
Merge branch 'next/master' into next/feature/core-next 2019-08-11 16:39:35 +02:00
Mel van Londen
4b0cac5fb5
Update graphene/relay/connection.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
2019-08-10 11:06:59 -04:00
Jonathan Kim
dc812fe028
Merge branch 'master' into next/master 2019-08-09 19:12:41 +01:00
Christoph Zwerschke
55c7a67275 Update dependencies, reformat changes with black 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
b3b9b4fc9e Use graphql-core 3 instead of graphql-core-next 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
a02ea47681 Avoid various deprecation warnings 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
8b07dbac9b Restore compatibility with graphql-relay-py v3
Add adpaters for the PageInfo and Connection args.
2019-08-09 12:18:07 -04:00
Christoph Zwerschke
9594bc616c Use consistent style of importing from pytest 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
df0657b816 Make use of the fact that dicts are iterable 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
5752b48a0b We can assume that dicts are ordered in Py 3.6+ 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
029dde32a2 Remove object as base class (not needed in Py 3) 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
a18c226155 Remove the compat module which was only needed for older Py version 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
c4a850f2ea Make all 345 tests pass with graphql-core-next 2019-08-09 12:18:07 -04:00
Christoph Zwerschke
f1ae6e4cd7 Fix mutation tests with promises 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
c8adab675a Enum values are returned as dict in core-next 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
8106fff522 Results are named tuples in core-next (immutable) 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
0d9ba1c0d9 Ignore the non-standard result.invalid flag 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
34936092ca Adapt date and time scalar types to core-next 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
d259bf6113 core-next now provides out_type and out_name 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
5991c6efca Remove print statements for debugging in schema test 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
ff83b72b68 Ignore more venv names and mypy and pytest caches 2019-08-09 12:18:06 -04:00
Christoph Zwerschke
6a0afb08a1 Make Schema compatible with GraphQL-core-next 2019-08-09 12:18:06 -04:00
Eran Kampf
2986658470 Ignore .venv 2019-08-09 12:18:06 -04:00
Eran Kampf
0e31eec81e ResolveInfo name change 2019-08-09 12:18:06 -04:00
Eran Kampf
a0428d749f Converted Scalars 2019-08-09 12:18:06 -04:00
Eran Kampf
e23184fe13 Changed dependencies to core-next 2019-08-09 12:18:05 -04:00
Jonathan Kim
0808e8acb3
Add stalebot (#1044) 2019-07-29 12:02:11 +02:00
Ntale Shadik
c96bd680d7 Add interfaces meta argument on Mutations (#1023) 2019-07-24 18:44:22 +01:00
Vincent Prouillet
6e4058960d Increased allowed version of aniso8601 (#1009)
Closes #1008 

The only change should not affect graphene https://bitbucket.org/nielsenb/aniso8601/issues/24/float-induced-rounding-errors-when-parsing
2019-07-24 18:43:28 +01:00
Jonathan Kim
167c8c203c Bump version 2019-07-15 21:09:41 +01:00
Jonathan Kim
6fc1a8f79d
Upgrade graphql-relay (#1032)
* Upgrade graphql-relay

* Remove pypy3 test
2019-07-15 21:02:56 +01:00
Danilo Herrera
57157ab7f4 Fix typo (#1028) 2019-07-08 22:21:50 +01:00
Mel van Londen
4170e73251
Update roadmap (#1019)
* update roadmap

* Update ROADMAP.md graphql-core-next table entry

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

* Update ROADMAP.md graphql-core table entry

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

* Update ROADMAP.md remove SDL schema creation

* Update ROADMAP.md remove connections structure

* fix trailing whitespace
2019-06-24 20:38:45 -07:00
Jonathan Kim
8dee85cc13
Trying to get codeowners to work (#996)
* Trying to get codeowners to work

* Update CODEOWNERS
2019-06-24 16:01:45 +01:00
Jonathan Kim
abe547fb4d
Fix wrong variable name (#1015)
Resolves #1014
2019-06-22 18:09:52 +02:00
Jonathan Kim
0e8a3c5063
Update travis.yml (#1010)
* Use xenial dist

* Only install coveralls after success

* Latest version of pypi

* Refactor travis.yml into stages and add travis-tox

* Drop 2.6

* Bump to python 3.7
2019-06-19 18:25:21 +01:00
Mel van Londen
ac6714e8fa Remove sponsorship text from readme (#1002)
* remove sponsorship text from readme

* remove sponsorship references in roadmap
2019-06-14 12:56:02 +01:00
Jonathan Kim
89ca4f58a2
v2.1.6 (#1005) 2019-06-14 11:41:29 +01: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
67c4310c78 Merge branch 'master' into next/master
# Conflicts:
#	graphene/__init__.py
2019-06-03 10:45:51 -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
a0c74e97bc pytest-asyncio should be a regular dependency now with Py3 move 2019-06-01 22:30:53 -07:00
Eran Kampf
af6396b63b
Remove six dependency (#986)
* No one is using func_name

* Remove six simple usages

* Remove six requirement

* Remove `six.with_metaclass` calls
2019-06-01 19:52:45 -07:00