Spaces:
Sleeping
Sleeping
File size: 260 Bytes
72fc0ee | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """
QuantLib Pro SDK — Base Resource
"""
class BaseResource:
"""Base class for all API resources."""
PREFIX = ""
def __init__(self, http):
self._http = http
def _url(self, path: str) -> str:
return f"{self.PREFIX}{path}"
|