| Conditions | 2 |
| Total Lines | 15 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 60 | @staticmethod |
||
| 61 | def set(group_name: str, object_id: str, value: dict): |
||
| 62 | """ |
||
| 63 | Adds the value of to the data cache |
||
| 64 | |||
| 65 | :param group_name: str |
||
| 66 | :param object_id: str |
||
| 67 | :param value: dict |
||
| 68 | :return: None |
||
| 69 | """ |
||
| 70 | |||
| 71 | if group_name not in DataCaching.__cache: |
||
| 72 | DataCaching.__cache[group_name] = {} |
||
| 73 | |||
| 74 | DataCaching.__cache[group_name][object_id] = value |
||
| 75 |