Skip to content

Commit c61c65d

Browse files
committed
Improve docstring for lexicographic_sort_schema (#75)
1 parent b320331 commit c61c65d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/graphql/utilities/lexicographic_sort_schema.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131

3232

3333
def lexicographic_sort_schema(schema: GraphQLSchema) -> GraphQLSchema:
34-
"""Sort GraphQLSchema."""
34+
"""Sort GraphQLSchema.
35+
36+
This function returns a sorted copy of the given GraphQLSchema.
37+
"""
3538

3639
def replace_type(type_):
3740
if is_list_type(type_):

0 commit comments

Comments
 (0)