api: fix python code generation (#7764)

* api: fix python code generation

* fix python types

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
EvgenyandEvgeny @ SimpleX Chat authored and GitHub committed 2026-10-19 08:32:09 +01:00
1 parent a766d0af0f
commit 924f2b9644
2 files changed
+26 -26

No files matched your search

@@ -3071,9 +3071,10 @@ class SecurityCode(TypedDict):
securityCode: str
verifiedAt: str # ISO-8601 timestamp
class SegmentRange(TypedDict):
from: int # int
to: int # int
SegmentRange = TypedDict("SegmentRange", {
"from": int, # int
"to": int, # int
})
class SimplePreference(TypedDict):
allow: "FeatureAllowed"