We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9532ea commit e3480ccCopy full SHA for e3480cc
time_tracker_api/activities/activities_model.py
@@ -1,5 +1,6 @@
1
from dataclasses import dataclass
2
3
+import json
4
from azure.cosmos import PartitionKey
5
6
from commons.data_access_layer.cosmos_db import (
@@ -124,7 +125,6 @@ def find_all_from_blob_storage(
124
125
if tenant_id_value is None:
126
return []
127
- import json
128
fs = FileStream("storageaccounteystr82c5","tt-common-files")
129
result = fs.get_file_stream(file_name)
130
return list(map(function_mapper, json.load(result))) if result is not None else []
@@ -143,7 +143,7 @@ def get_all_with_id_in_list(
143
activity_ids,
144
)
145
146
- def get_all_old(
+ def get_all_v1(
147
self,
148
conditions: dict = None,
149
activities_id: List = None,
0 commit comments