Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquingx committed Jan 25, 2024
1 parent 6df6153 commit 9b2d75e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database_adapters/db_adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def delete_dataset_data(self, database_name, collection_name):
print(ex)
return False

def get_collection_data(self, database_name, collection_name, limit=10000):
def get_dataset_data(self, database_name, collection_name, limit=10000):
collection = self.client[database_name][collection_name]
result = collection.find({}, {"_id": False}).limit(limit)
return list(result)
Expand Down
2 changes: 1 addition & 1 deletion queueing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY queueing/requirements requirements
RUN if [ "$M1_LOCAL" = "true" ]; then \
apt-get update && apt-get install -y unixodbc-dev && \
pip install --no-binary :all: pyodbc && \
sed -i '/pyodbc/d' requirements/test.txt; \
sed -i '/pyodbc/d' requirements/consumer.txt; \
fi
RUN pip install -r requirements/consumer.txt

Expand Down

0 comments on commit 9b2d75e

Please sign in to comment.