Skip to content

Commit 5b40aa4

Browse files
committed
test out slots...
1 parent 77f0211 commit 5b40aa4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/cicd_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI (Dev)
1+
name: CICD (Dev)
22

33
on:
44
push:

bobocep/cep/event/event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class BoboEvent(BoboJSONable, ABC):
3030
TIMESTAMP = "timestamp"
3131
DATA = "data"
3232

33+
__slots__ = ("_event_id", "_timestamp", "_data")
3334
def __init__(self,
3435
event_id: str,
3536
timestamp: int,

tests/test_bobocep/test_cep/test_event/test_BoboEventFactory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# modified under the terms of the MIT License.
44

55
from json import dumps
6-
from typing import Any, Tuple, List
6+
from typing import Any, List
77

88
import pytest
99

0 commit comments

Comments
 (0)