ferrero-opentext/Python-Version/venv/lib/python3.12/site-packages/boxsdk/client/logging_client.py

13 lines
315 B
Python

from typing import Any
from .client import Client
from ..util.log import setup_logging
class LoggingClient(Client):
"""
Box client subclass which logs requests and responses.
"""
def __init__(self, *args: Any, **kwargs: Any):
setup_logging(None)
super().__init__(*args, **kwargs)