MCPcopy Create free account
hub / github.com/GerevAI/gerev / __init__

Method __init__

app/data_source/sources/bookstack/bookstack.py:35–39  ·  view source on GitHub ↗
(self, url: str, token_id: str, token_secret: str, *args, **kwargs)

Source from the content-addressed store, hash-verified

33 VERIFY_SSL = os.environ.get('BOOKSTACK_VERIFY_SSL') is not None
34
35 def __init__(self, url: str, token_id: str, token_secret: str, *args, **kwargs):
36 super().__init__(*args, **kwargs)
37 self.base_url = url
38 self.auth = BookStackAuth(token_id, token_secret)
39 self.rate_limit_reach = False
40
41 def request(self, method, url_path, *args, **kwargs):
42 while self.rate_limit_reach:

Callers 1

__init__Method · 0.45

Calls 1

BookStackAuthClass · 0.85

Tested by

no test coverage detected