From 63c8e0c8a2c6e951722c2460e86b0e233e34a5ab Mon Sep 17 00:00:00 2001 From: zvecr Date: Mon, 18 Jul 2022 00:06:32 +0100 Subject: [PATCH] Prep client gen for header parsing - templates --- data/templates/xap/client/python/types.py.j2 | 28 ++++++-------------- lib/python/xap_client/types.py | 12 ++++----- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/data/templates/xap/client/python/types.py.j2 b/data/templates/xap/client/python/types.py.j2 index b6202fa2777..2509688abfd 100644 --- a/data/templates/xap/client/python/types.py.j2 +++ b/data/templates/xap/client/python/types.py.j2 @@ -2,35 +2,23 @@ from collections import namedtuple from enum import IntFlag, IntEnum from struct import Struct - -class XAPRequest(namedtuple('XAPRequest', 'token length data')): - fmt = Struct('