HOME/Articles/

mysql example scorpio common interface httpUtils baseRequest (snippet)

Article Outline

Python mysql example 'scorpio common interface httpUtils baseRequest'

python scorpio common interface httpUtils baseRequest

Python mysql example: scorpio common interface httpUtils baseRequest

from common.interface.httpUtils.httpMethod import HttpMethod


class BaseRequest(object):
    def __init__(self, url: str, method: HttpMethod):
        self.url = url
        self.method = method