Skip to content

Commit d7f1c80

Browse files
committed
Remove unneeded datetime module
1 parent 0b43812 commit d7f1c80

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

app/backend/prepdocslib/listfilestrategy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import IO, AsyncGenerator, Dict, List, Optional, Union
1010

1111
from azure.core.credentials_async import AsyncTokenCredential
12-
from azure.identity import DefaultAzureCredential
1312
from azure.storage.blob import BlobServiceClient
1413
from azure.storage.filedatalake.aio import DataLakeServiceClient
1514

@@ -214,7 +213,7 @@ def count_docs(self) -> int:
214213
# Create a BlobServiceClient using account URL and credentials
215214
service_client = BlobServiceClient(
216215
account_url=f"https://{self.data_lake_storage_account}.blob.core.windows.net",
217-
credential=DefaultAzureCredential(),
216+
credential=self.credential,
218217
)
219218

220219
# Get the container client

app/backend/requirements.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ types-beautifulsoup4
3030
msgraph-sdk==1.1.0
3131
openai-messages-token-helper
3232
python-dotenv
33-
datetime

app/backend/requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,3 @@ zipp==3.20.0
435435

436436
# The following packages are considered to be unsafe in a requirements file:
437437
# setuptools
438-
439-
# used for adlsgen2setup.py
440-
datetime==4.3.0
441-
# via -r requirements.in

0 commit comments

Comments
 (0)