espark-core 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of espark-core might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: espark-core
3
- Version: 0.5.1
3
+ Version: 0.5.3
4
4
  Summary: The core module of the Espark ESP32-based IoT device management framework.
5
5
  License: MIT
6
6
  Requires-Python: >=3.8
@@ -1,4 +1,4 @@
1
- espark_core-0.5.1.dist-info/licenses/LICENSE,sha256=wkIXJHYIspOGVvn_ajKyLucpIyw9_pO3QExFcNTCY78,1065
1
+ espark_core-0.5.3.dist-info/licenses/LICENSE,sha256=wkIXJHYIspOGVvn_ajKyLucpIyw9_pO3QExFcNTCY78,1065
2
2
  esparkcore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  esparkcore/constants.py,sha256=2Bmx62j4kykkPhcQ9ygEJ08uyVlykXMNFhpO26-Czlg,417
4
4
  esparkcore/data/__init__.py,sha256=abMOPq6jC5qOQCl9j7iPDv8iyjzDF-oVd_gW0la5kL4,45
@@ -8,7 +8,7 @@ esparkcore/data/models/device.py,sha256=a1Tfw8xHzDLEiVxANZ-lR2aVaWaWJFa8tZQwHBzD
8
8
  esparkcore/data/models/notification.py,sha256=NhkTZbNsY1ljTmVJNrDC68W0Jd2BcACxfWomrgkO4zM,621
9
9
  esparkcore/data/models/outbox.py,sha256=r5bgjIbj9H-OsGhE-CWKGRf4Tp88qMvmxPYHNGOApY4,1309
10
10
  esparkcore/data/models/telemetry.py,sha256=OfzGqGj2Y1sdK519sSOEXhfuErHoeEdpy5qmJMIc27A,652
11
- esparkcore/data/models/trigger.py,sha256=3gApG5RHtwIKL_CX_Fx8oqCaLfgYveqzHy5mSmFpWxM,986
11
+ esparkcore/data/models/trigger.py,sha256=rJw3ZjWcQiT3ET3W5n_km9F0cNe2BU6GpIigZYYlJZE,986
12
12
  esparkcore/data/models/version.py,sha256=h2O_Owx-exx5tiQiiauCSELkUHDx-QZjiIGqFPybT4M,269
13
13
  esparkcore/data/repositories/__init__.py,sha256=zlTYJ_KKBqkY7KpIi1kJlCG5UA6zXlLm5wK9INLpZQY,358
14
14
  esparkcore/data/repositories/base_repository.py,sha256=L5APTp8SczndbWqgJyEqKe-4NQoL_YYOapUN6i572cM,2097
@@ -35,7 +35,7 @@ esparkcore/services/__init__.py,sha256=RIZOHBfkWn3HsApdA5rH9EZbbXGq0NfiGoOWDO_JX
35
35
  esparkcore/services/mqtt.py,sha256=5h_mhXhFt11TyhGwNhaY08Y4tttvSTPkiR3veTqpb3A,8972
36
36
  esparkcore/utils/__init__.py,sha256=rzuCJUAaQl-yPhM1vcWB_1zVXqtA71ChYP2aM_3UfKk,42
37
37
  esparkcore/utils/logging.py,sha256=sRO8uOcPkFH-DwepqLOTS2qGaopXpMdVOjzZL6RpGs4,257
38
- espark_core-0.5.1.dist-info/METADATA,sha256=Qn82B2QlAouy-QnGDt29oipEJ9dPSruP2Iuucoym_WA,6329
39
- espark_core-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- espark_core-0.5.1.dist-info/top_level.txt,sha256=hXVyhIPB4aGskFm5queWALxDPhcDkrN7_8vcjwA1iE4,11
41
- espark_core-0.5.1.dist-info/RECORD,,
38
+ espark_core-0.5.3.dist-info/METADATA,sha256=KDl4boE59BMZAwh9qW4IxL8rXGqJSglWxRRtgjmrG7w,6329
39
+ espark_core-0.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ espark_core-0.5.3.dist-info/top_level.txt,sha256=hXVyhIPB4aGskFm5queWALxDPhcDkrN7_8vcjwA1iE4,11
41
+ espark_core-0.5.3.dist-info/RECORD,,
@@ -4,7 +4,7 @@ from sqlmodel import Field, SQLModel
4
4
 
5
5
 
6
6
  class Trigger(SQLModel, table=True):
7
- id : str = Field(primary_key=True, description='Unique identifier for the trigger')
7
+ id : Optional[int] = Field(primary_key=True, description='Unique identifier for the trigger')
8
8
  name : str = Field(index=True, unique=True, description='Name of the trigger')
9
9
  device_id : Optional[str] = Field(index=True, default=None, description='Identifier of the associated device')
10
10
  data_type : Optional[str] = Field(index=True, default=None, description='Type of telemetry data the trigger monitors (e.g., temperature, humidity)')