Python graphene.JSONString() Examples
The following are 2
code examples of graphene.JSONString().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
graphene
, or try the search function
.
Example #1
Source File: test_converter.py From graphene-mongo with MIT License | 4 votes |
def test_should_dict_convert_json(): assert_conversion(mongoengine.DictField, graphene.JSONString)
Example #2
Source File: test_converter.py From graphene-mongo with MIT License | 4 votes |
def test_should_map_convert_json(): assert_conversion( mongoengine.MapField, graphene.JSONString, field=mongoengine.StringField() )