Skip to content

Commit 71dee79

Browse files
committed
Remove all caching code from CSP
Signed-off-by: Adam Glustein <[email protected]>
1 parent 063b137 commit 71dee79

40 files changed

+261
-6986
lines changed

csp/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from csp.curve import curve
55
from csp.dataframe import DataFrame
66
from csp.impl.builtin_functions import *
7-
from csp.impl.config import Config
87
from csp.impl.constants import UNSET
98
from csp.impl.enum import DynamicEnum, Enum
109
from csp.impl.error_handling import set_print_full_exception_stack
@@ -30,7 +29,7 @@
3029
from csp.math import *
3130
from csp.showgraph import show_graph
3231

33-
from . import cache_support, stats
32+
from . import stats
3433

3534
__version__ = "0.0.3"
3635

csp/baselib.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,7 @@ def get_basket_field(dict_basket: {"K": ts["V"]}, field_name: str) -> OutputBask
283283
:param field_name:
284284
:return:
285285
"""
286-
if isinstance(dict_basket, csp.impl.wiring.cache_support.graph_building.WrappedCachedStructBasket):
287-
return dict_basket.get_basket_field(field_name)
288-
else:
289-
return {k: getattr(v, field_name) for k, v in dict_basket.items()}
286+
return {k: getattr(v, field_name) for k, v in dict_basket.items()}
290287

291288

292289
@node(cppimpl=_cspbaselibimpl.sample)

csp/cache_support.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

csp/impl/config.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

csp/impl/managed_dataset/__init__.py

Whitespace-only changes.

csp/impl/managed_dataset/aggregation_period_utils.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

csp/impl/managed_dataset/cache_partition_argument_serializer.py

Lines changed: 0 additions & 101 deletions
This file was deleted.

csp/impl/managed_dataset/cache_user_custom_object_serializer.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

csp/impl/managed_dataset/dataset_metadata.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

csp/impl/managed_dataset/dateset_name_constants.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)