Commit Graph

33 Commits

Author SHA1 Message Date
Florian Zimmermann
48678afba4
fix: run the tests in python 3.12 and 3.13 and remove snapshottest dependency (#1572)
* actually run the tests in python 3.12 and 3.13

* remove snapshottest from the example tests

so that the tests pass in 3.12 and 3.13 again

* remove the section about snapshot testing from the testing docs

because the snapshottest package doesn't work on Python 3.12 and above

* fix assertion for badly formed JSON input on Python 3.13

* fix deprecation warning about datetime.utcfromtimestamp()
2024-08-08 11:49:26 +02:00
Dulmandakh
5924cc4150
remove Python 2 (#1547)
Co-authored-by: Erik Wrede <erikwrede@users.noreply.github.com>
2024-06-13 16:52:06 +02:00
Oleh Kuchuk
f9efe15973
Fixed examples, make root object explicit inside resolvers and… (#1159) 2020-03-15 18:52:56 +00: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
142f4a58d8 Run black formatter via pre-commit on all files 2018-07-06 14:03:15 -07:00
Daniel Gallagher
086f9dda99 Run black formatter via pre-commit on all files 2018-07-06 12:09:23 -07:00
Dan
034b5385a5 Add isort precommit hook & run on all files (#743)
* Add isort and seed-isort-config pre-commit hook

* Fix erroneous isort moving comment to the top of file
2018-05-28 19:18:54 +01:00
Syrus Akbary
394a1beb07 Updated resolver api 2017-07-27 02:55:25 -07:00
Syrus Akbary
9769612a44 Make resolvers simple again 2017-07-23 23:10:15 -07:00
Syrus Akbary
6ae9717415 Improved automatic resolver args from annotations 2017-07-23 18:57:17 -07:00
Syrus Akbary
f1624af08a Fixed Flake issues 2017-07-12 21:45:06 -07:00
Syrus Akbary
b369ccfa08 Updated snapshot files 2017-04-10 04:26:54 -07:00
Syrus Akbary
dfcd7f2563 First version of the Graphene test client and snapshots 💪 2017-04-09 21:08:35 -07:00
Syrus Akbary
0148401c06 Removed executor and middleware from the Schema. 2016-09-20 00:04:41 -07:00
Syrus Akbary
6fa32a7287 Fixed PEP8 errors 2016-08-14 16:58:32 -07:00
Syrus Akbary
7804f10732 Added ClientIDMutation. All examples working 💪 2016-08-13 23:00:25 -07:00
Syrus Akbary
c87d87d1ea Improved ObjectType fields 2016-06-21 13:09:14 -07:00
Syrus Akbary
c74a75133e Autolint all the files 2016-06-14 22:29:02 -07:00
Syrus Akbary
397df4ea1a Moved django and sqlalchemy to own projects 2016-06-10 10:18:22 -07:00
Syrus Akbary
d8d884c9be Improved extend interfaces syntax 2016-06-09 21:47:06 -07:00
Syrus Akbary
b24e9a1051 Refactored fields getter to be immutable 2016-06-08 22:23:28 -07:00
Syrus Akbary
0db5b1cfbc Move resolver to interface too 2016-06-06 02:03:57 -07:00
Syrus Akbary
89790e7508 Added Enum type 2016-06-04 14:06:16 -07:00
Syrus Akbary
a1454fdd74 Fixed resolve context 2016-06-04 12:48:08 -07:00
Syrus Akbary
6c42877758 Improved starwars tests 2016-06-04 11:21:33 -07:00
Syrus Akbary
407b9ea550 Added Enum class type 2016-02-01 13:28:52 -08:00
Syrus Akbary
00c9cc95d4 Improved test syntax 2015-11-16 19:49:40 -08:00
Syrus Akbary
bf168e7b12 Use new syntax for fields and arguments 2015-11-11 22:16:37 -08:00
Syrus Akbary
6f87720fc1 Improved tests and coverage 2015-11-10 17:50:11 -08:00
Syrus Akbary
0a395fec58 Improved python syntax 2015-11-02 19:28:06 -08:00
Syrus Akbary
d46e957863 Improved syntax. Added autolinter. Added automatic flake8 checker in tests. Fixed #17 2015-10-31 14:02:22 -07:00
Syrus Akbary
b06f44ed73 Removed unnecessary meta in starters example 2015-10-28 01:51:35 -07:00
Syrus Akbary
3bc0f5f8eb Moved all the examples from tests to examples 2015-10-27 23:56:24 -07:00