1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| # -*- coding: utf-8 -*-
| """
| @File : har_convertor.py
| @Time : 2023/9/11 15:48
| @Author : geekbing
| @LastEditTime : -
| @LastEditors : -
| @Description : request转化器,支持har
| """
| from typing import List
| from apps.schema.request import RequestInfo
|
|
| class Convertor:
| @staticmethod
| def convert(file, regex: str = None) -> List[RequestInfo]:
| raise NotImplementedError
|
|