Проверка шаблона шины для iOS

11 рядки
262B

  1. from generation.isPipeRecent import *
  2. def fieldFormat(fmtPlain, fmtRecent, name, structure):
  3. fmt = fmtPlain
  4. if (
  5. isPipeRecent(name, structure.core) or
  6. isPipeRecent(name, structure.service)
  7. ):
  8. fmt = fmtRecent
  9. return fmt