Did I find the right examples for you? yes no

All Samples(39)  |  Call(38)  |  Derive(0)  |  Import(1)

src/p/y/pythomnic3k-1.3/lib/smpp34/smpp_pdu_param_table.py   Pythomnic3k(Download)
 
import smpp34.smpp_tools; from smpp34.smpp_tools import *
import smpp34.smpp_pdu_param; from smpp34.smpp_pdu_param import MandatoryPDUParameter as _MP, OptionalPDUParameter as _OP
import smpp34.smpp_types; from smpp34.smpp_types import *
 
mandatory_pdu_parameters_table = \
{
_MP( name = "addr_npi",                type = SMPPInteger1,       check = lambda v: v.value in _npi_values                   ), # 5.2.6
_MP( name = "addr_ton",                type = SMPPInteger1,       check = lambda v: v.value in _ton_values                   ), # 5.2.5
_MP( name = "address_range",           type = SMPPCOctetString,   check = lambda v: len(v) < 41                              ), # 5.2.7
_MP( name = "data_coding",             type = SMPPInteger1                                                                   ), # 5.2.19