15 lines
274 B
Python
15 lines
274 B
Python
#
|
|
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
|
|
#
|
|
|
|
from abc import ABC, abstractmethod
|
|
from typing import Any, Mapping
|
|
|
|
import requests
|
|
|
|
|
|
class Decoder(ABC):
|
|
@abstractmethod
|
|
def decode(self, response: requests.Response) -> Mapping[str, Any]:
|
|
pass
|