Removed unnecessary class from .pyi
This commit is contained in:
@@ -1,23 +1,4 @@
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
class AirlockAPIWrapper:
|
||||
"""
|
||||
A wrapper class for interacting with the Airlock API.
|
||||
Provides methods for managing agents, policies, hashes, OTPs, and execution history.
|
||||
"""
|
||||
|
||||
def __init__(self, base_url: str, api_key: str):
|
||||
"""
|
||||
Initialize the API wrapper.
|
||||
|
||||
Parameters:
|
||||
- base_url (str): Base URL of the Airlock API.
|
||||
- api_key (str): API key for authentication.
|
||||
"""
|
||||
self.base_url = base_url.rstrip("/")
|
||||
self.api_key = api_key
|
||||
self.headers = {"X-APIKey": self.api_key}
|
||||
|
||||
def pull_policy_exec_histories(self, type: List[str], checkpoint: str, policy: List[str]) -> str:
|
||||
"""Retrieve execution history logs."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user