Instance class - BlueCat Python Library - 21.11.2

BlueCat Python Library Guide

Product name
BlueCat Python Library

class bluecat_libraries.http_client.Instance(url:str, logger:Optional[logging.Logger]=None)

Bases: object

Definition of a service instance that can be used as a target by a client.

Parameters Description
url(str) URL of the service.
logger(logging.Logger) Logger to be used for logging. This value is currently not utilized.
Variables Description
url(Url) URL of the service.
api_url_base(Url) URL to be used as a base for constructing paths to the service’s endpoints.

New in version 20.6.1.


Process the service’s URL and construct the value of the base URL of the service’s API.