Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
210B

  1. def pipeBusSource(name, entity, busKey, structure, fmt):
  2. valueType = structure.model.fields[name][0]
  3. return fmt \
  4. .replace("%BUS_KEY%", busKey) \
  5. .replace("%BUS_VALUE_TYPE%", valueType)