Skip to content

Commit

Permalink
Make imports relative instead of absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Mantica committed May 9, 2019
1 parent f3a5eab commit 36e66a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
5 changes: 1 addition & 4 deletions graphql_compiler/schema_generation/graphql_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
)
import six

from graphql_compiler.schema_generation.orientdb.schema_properties import (
ORIENTDB_BASE_VERTEX_CLASS_NAME
)

from ..schema import DIRECTIVES, EXTENDED_META_FIELD_DEFINITIONS
from .exceptions import EmptySchemaError
from .orientdb.schema_properties import ORIENTDB_BASE_VERTEX_CLASS_NAME


def _get_referenced_type_equivalences(graphql_types, type_equivalence_hints):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from graphql.type import GraphQLBoolean, GraphQLFloat, GraphQLInt, GraphQLString
import six

from graphql_compiler.schema import GraphQLAny, GraphQLDate, GraphQLDateTime, GraphQLDecimal
from ...schema import GraphQLAny, GraphQLDate, GraphQLDateTime, GraphQLDecimal


EDGE_SOURCE_PROPERTY_NAME = 'out'
Expand Down
4 changes: 1 addition & 3 deletions graphql_compiler/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

from .. import get_graphql_schema_from_orientdb_schema_data
from ..debugging_utils import pretty_print_gremlin, pretty_print_match
from ..schema_generation.orientdb.get_orientdb_schema_graph import (
get_orientdb_schema_graph
)
from ..schema_generation.orientdb.get_orientdb_schema_graph import get_orientdb_schema_graph
from ..schema_generation.orientdb.utils import ORIENTDB_SCHEMA_RECORDS_QUERY


Expand Down
4 changes: 1 addition & 3 deletions graphql_compiler/tests/test_schema_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

from .. import get_graphql_schema_from_orientdb_schema_data
from ..schema_generation.graphql_schema import _get_union_type_name
from ..schema_generation.orientdb.get_orientdb_schema_graph import (
get_orientdb_schema_graph
)
from ..schema_generation.orientdb.get_orientdb_schema_graph import get_orientdb_schema_graph
from ..schema_generation.orientdb.schema_properties import (
ORIENTDB_BASE_EDGE_CLASS_NAME, ORIENTDB_BASE_VERTEX_CLASS_NAME, PROPERTY_TYPE_EMBEDDED_LIST_ID,
PROPERTY_TYPE_EMBEDDED_SET_ID, PROPERTY_TYPE_LINK_ID, PROPERTY_TYPE_STRING_ID
Expand Down

0 comments on commit 36e66a8

Please sign in to comment.