espark-core 0.5.9__py3-none-any.whl → 0.5.11__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.9
3
+ Version: 0.5.11
4
4
  Summary: The core module of the Espark ESP32-based IoT device management framework.
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
@@ -11,8 +11,8 @@ Requires-Dist: apscheduler>=3.11.2
11
11
  Requires-Dist: fastapi>=0.128.0
12
12
  Requires-Dist: packaging>=25.0
13
13
  Requires-Dist: slack-sdk==3.39.0
14
- Requires-Dist: sqlalchemy>=2.0.45
15
- Requires-Dist: sqlmodel>=0.0.31
14
+ Requires-Dist: sqlalchemy>=2.0.46
15
+ Requires-Dist: sqlmodel>=0.0.32
16
16
  Requires-Dist: uvicorn[standard]>=0.40.0
17
17
  Provides-Extra: dev
18
18
  Requires-Dist: aiosqlite==0.22.1; extra == "dev"
@@ -1,4 +1,4 @@
1
- espark_core-0.5.9.dist-info/licenses/LICENSE,sha256=wkIXJHYIspOGVvn_ajKyLucpIyw9_pO3QExFcNTCY78,1065
1
+ espark_core-0.5.11.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
@@ -22,7 +22,7 @@ esparkcore/notifications/__init__.py,sha256=WrdUPsRS0tg2rAhv4aj4eGDekkfAsKjcRPRl
22
22
  esparkcore/notifications/notifier.py,sha256=d4a8leU-oTwWe7ZTLw-vxfCrYlFnCIvbcXabiXkT6Lc,446
23
23
  esparkcore/notifications/slack_notifier.py,sha256=-H-3YYm0CRTV8pZgggrNPJKz6815HTumKvE7VsvvSAA,644
24
24
  esparkcore/routers/__init__.py,sha256=sZv812GJl-JEWJQ7IR1gAQ5BdCf5nTkfbJZXv5jZv_4,225
25
- esparkcore/routers/base_router.py,sha256=ELSdrwrKavqc1tYfTnNhNmYmKnCbmlWdvXyB1CBjcYg,4029
25
+ esparkcore/routers/base_router.py,sha256=-0ml8NPqRhd8FsV7JayAOt1pmD84dBY-AwuTTpDKL_Y,4034
26
26
  esparkcore/routers/device_router.py,sha256=iqKK1MZM9CWMw331bQvwieXE9TpbKut6BU7GvjLbM3I,2549
27
27
  esparkcore/routers/notification_router.py,sha256=vLG99eW-b9UlO9NiV1yZZeqkG4XLVv5Yj5JvHZLP6Dg,411
28
28
  esparkcore/routers/telemetry_router.py,sha256=iPAzZf7B7qnDHfSJYtTGchKLuzdddZQodQHlPYpPOAw,2588
@@ -32,10 +32,10 @@ esparkcore/schedules/__init__.py,sha256=v5Wy3Cbt2AnudGMGXv_Cyaa10s6NAmP66rDjcMSv
32
32
  esparkcore/schedules/outbox.py,sha256=GGANvjkI7w1BdmmVRgKog498ASD_xRN0g8bG6yC_SN4,811
33
33
  esparkcore/schedules/scheduler.py,sha256=aYQXImLZ4tW-hRavn3ObuV3lYjmOZD813YkeG1NsYfY,170
34
34
  esparkcore/services/__init__.py,sha256=RIZOHBfkWn3HsApdA5rH9EZbbXGq0NfiGoOWDO_JX1k,30
35
- esparkcore/services/mqtt.py,sha256=13-CXIclJ8eAG1jT1Gs4tBVnlguInSh45IM5_CG4f04,9068
35
+ esparkcore/services/mqtt.py,sha256=c2RYQKcradABPWHCqsBjSD6wtTSyYXbVaRB8yTAB7YY,9121
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.9.dist-info/METADATA,sha256=bGGJgsaEA5yZGurPNQmxgspG_CfqEaYrONiJ0TM-4oA,6330
39
- espark_core-0.5.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- espark_core-0.5.9.dist-info/top_level.txt,sha256=hXVyhIPB4aGskFm5queWALxDPhcDkrN7_8vcjwA1iE4,11
41
- espark_core-0.5.9.dist-info/RECORD,,
38
+ espark_core-0.5.11.dist-info/METADATA,sha256=4jbnMQcYklYrVyVpK9d4fT2Flvpi3nAn0WxWBA5tuis,6331
39
+ espark_core-0.5.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
40
+ espark_core-0.5.11.dist-info/top_level.txt,sha256=hXVyhIPB4aGskFm5queWALxDPhcDkrN7_8vcjwA1iE4,11
41
+ espark_core-0.5.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -75,7 +75,7 @@ class BaseRouter(Generic[T]):
75
75
  return entity
76
76
 
77
77
  @self.router.get('/', response_model=List[self.model])
78
- async def list(response: Response, session: AsyncSession = Depends(BaseRouter._get_session), order_by: str = Query(None), offset: int = Query(0, ge=0), limit: int = Query(10, ge=1, le=100)) -> Sequence[T]:
78
+ async def list(response: Response, session: AsyncSession = Depends(BaseRouter._get_session), order_by: str = Query(None), offset: int = Query(0, ge=0), limit: int = Query(10000, ge=1, le=10000)) -> Sequence[T]:
79
79
  response.headers['X-Total-Count'] = str(await self.repo.count(session))
80
80
 
81
81
  return await self.repo.list(session, order_by=order_by, offset=offset, limit=limit)
@@ -154,6 +154,7 @@ class MQTTManager:
154
154
  log_debug(f'Unknown message type "{message_type}", skipping message')
155
155
 
156
156
  self.queue.task_done()
157
+ # pylint: disable=broad-exception-caught
157
158
  except Exception as e:
158
159
  log_error(e)
159
160