Skip to content

Commit f15bbb9

Browse files
committed
Consistently use snake_case for filenames
Replicates graphql/graphql-relay-js@24a6d33
1 parent c11580c commit f15bbb9

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Diff for: src/graphql_relay/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919

2020
# Helpers for creating connections from arrays
21-
from .connection.arrayconnection import (
21+
from .connection.array_connection import (
2222
connection_from_array,
2323
connection_from_array_slice,
2424
cursor_for_object_in_connection,
@@ -41,7 +41,7 @@
4141

4242
# Deprecated functions from older graphql-relay-py versions
4343
# noinspection PyProtectedMember,PyUnresolvedReferences,PyDeprecation
44-
from .connection.arrayconnection import ( # noqa: F401
44+
from .connection.array_connection import ( # noqa: F401
4545
connection_from_list,
4646
connection_from_list_slice,
4747
)
File renamed without changes.

Diff for: tests/star_wars_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
)
1010

1111
from graphql_relay.node.node import node_definitions, global_id_field, from_global_id
12-
from graphql_relay.connection.arrayconnection import connection_from_array
12+
from graphql_relay.connection.array_connection import connection_from_array
1313
from graphql_relay.connection.connection import connection_args, connection_definitions
1414
from graphql_relay.mutation.mutation import mutation_with_client_mutation_id
1515

0 commit comments

Comments
 (0)