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
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
Eran Kampf
6e2bb3bc30
Upgrade black to 19.3b0 ( #987 )
2019-06-01 19:05:38 -07:00
Eran Kampf
5b40324e72
Reorganize Tests ( #985 )
...
We no longer need a dedicated folder for Python3.6+ tests
We no longer need to check six.PY3 in tests
2019-06-01 18:43:44 -07:00
Eran Kampf
923401676c
v3.0 - remove Python 2.x from build ( #983 )
...
* Change travis to only compile for p3.6+
* Changed tox to only run Python 3.6+
* Changed library classifiers to reflect support in Python 3.6+
* Changed version to 3.0.0 development
In [15]: get_version((3, 0, 0, "alpha", 0))
Out[15]: '3.0.dev20190601212304'
2019-06-01 18:41:04 -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