Permalink
Browse files

Renamed some imports.

  • Loading branch information...
1 parent fbb151e commit 3d7e0166fcd29e19f08b354dddc8654135d5e416 Alberto Paro committed Apr 13, 2012
View
@@ -11,7 +11,7 @@ import pymongo
import json
import sys
import brewery
-import brewery.ds as ds
+from brewery import ds
key_stats = {}
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import base
-import brewery.dq as dq
+from brewery import dq
class StreamAuditor(base.DataTarget):
"""Target stream for auditing data values from stream. For more information about probed value
@@ -3,7 +3,7 @@
import base
import brewery
-import brewery.dq as dq
+from brewery import dq
import logging
import itertools
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import base
-import brewery.ds as ds
+from brewery import ds
# data_sources = {
# "csv": {"class": CSVDataSource},
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import base
-import brewery.ds as ds
+from brewery import ds
import sys
class StreamTargetNode(base.TargetNode):
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import brewery.ds as ds
+from brewery import ds
from brewery.nodes import Node
import urllib
@@ -3,7 +3,7 @@
import unittest
import brewery
-import brewery.ds as ds
+from brewery import ds
class FieldListCase(unittest.TestCase):
def test_names(self):
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import brewery
-import brewery.ds as ds
+from brewery import ds
import unittest
import logging
import time
@@ -3,7 +3,7 @@
import unittest
import brewery
-import brewery.ds as ds
+from brewery import ds
import brewery.nodes
class NodesTestCase(unittest.TestCase):
@@ -2,7 +2,7 @@
import unittest
import threading
import time
-import brewery.ds as ds
+from brewery import ds
import brewery.metadata
from sqlalchemy import Table, Column, Integer, String, Text
View
@@ -7,8 +7,8 @@ Example of auditing a CSV file:
.. code-block:: python
- import brewery.ds as ds
- import brewery.dq as dq
+ from brewery import ds
+ from brewery import dq
# Open a data stream
src = ds.CSVDataSource("data.csv")
@@ -51,7 +51,7 @@ Import brewery and all other necessary packages:
.. code-block:: python
import brewery
- import brewery.ds as ds
+ from brewery import ds
import sys
Specify sources:
@@ -21,7 +21,7 @@
"""
import brewery
-import brewery.ds as ds
+from brewery import ds
import sys
# List of sources - you might want to keep this list in a json file

0 comments on commit 3d7e016

Please sign in to comment.