Skip to content

Commit

Permalink
Rename cypher lib dir (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
berggren authored Jun 8, 2018
1 parent a43236f commit 1b54c93
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion timesketch/api/v1/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
from timesketch.lib.forms import GraphExploreForm
from timesketch.lib.forms import SearchIndexForm
from timesketch.lib.utils import get_validated_indices
from timesketch.lib.cypher_transpilation import transpile_query, InvalidQuery
from timesketch.lib.cypher import transpile_query, InvalidQuery
from timesketch.models import db_session
from timesketch.models.sketch import Event
from timesketch.models.sketch import SearchIndex
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""Tests."""
import unittest

from timesketch.lib.cypher_transpilation.append_return_clause import \
from timesketch.lib.cypher.append_return_clause import \
append_return_clause


Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"""Module containing the restrict_query_to_sketch function."""
import pycypher

from timesketch.lib.cypher_transpilation.insertable_string import \
from timesketch.lib.cypher.insertable_string import \
InsertableString
from timesketch.lib.cypher_transpilation.invalid_query import InvalidQuery
from timesketch.lib.cypher.invalid_query import InvalidQuery


def query_is_restricted_to_sketch(query, sketch_id):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

from parameterized import parameterized

from timesketch.lib.cypher_transpilation.restrict_query_to_sketch import \
from timesketch.lib.cypher.restrict_query_to_sketch import \
restrict_query_to_sketch
from timesketch.lib.cypher_transpilation.invalid_query import InvalidQuery
from timesketch.lib.cypher.invalid_query import InvalidQuery
# pylint: disable=bad-continuation


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"""Entry point module for cypher transpilation."""
import pycypher

from timesketch.lib.cypher_transpilation.restrict_query_to_sketch import \
from timesketch.lib.cypher.restrict_query_to_sketch import \
restrict_query_to_sketch
from timesketch.lib.cypher_transpilation.append_return_clause import \
from timesketch.lib.cypher.append_return_clause import \
append_return_clause
from timesketch.lib.cypher_transpilation.unwind_timestamps import \
from timesketch.lib.cypher.unwind_timestamps import \
unwind_timestamps


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""Tests."""
import unittest

from timesketch.lib.cypher_transpilation.transpile_query import \
from timesketch.lib.cypher.transpile_query import \
transpile_query


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""Module containing the unwind_timestamps function."""
import pycypher

from timesketch.lib.cypher_transpilation.insertable_string import \
from timesketch.lib.cypher.insertable_string import \
InsertableString


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""Tests."""
import unittest

from timesketch.lib.cypher_transpilation.unwind_timestamps import \
from timesketch.lib.cypher.unwind_timestamps import \
unwind_timestamps


Expand Down

0 comments on commit 1b54c93

Please sign in to comment.